[FLR-list] [FLR-devel] sd, var & cv

Iago Mosqueira iago.mosqueira at gmail.com
Tue Jan 24 09:31:52 CET 2012


var and mean are R methods, so they operate on the whole array. sd is
our own, and we chose to make it work for iters only. sd could maybe
work as var and mean, and then define iterSD for iters, as in
iterMeans


Iago

On 24 January 2012 09:06, Laurie <lauriekell at googlemail.com> wrote:
> sd, var and cv appear to be inconsistent for FLQuants,shouldnt they all work
> the same?
>
> sd(stock.wt(ple4))
> [1] 0.2733976
> var(stock.wt(ple4))
> [1] 0.07474624
> cv(stock.wt(ple4))
> Error in .local(object, ...) :
>   Error in cv: FLQuant supplied does not have multiple iterations!
>
> Laurie
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> FLR-devel mailing list
> FLR-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flr-devel
>


More information about the flr-list mailing list