[R-SIG-Finance] Desriptive Stats for List

Joshua Ulrich josh.m.ulrich at gmail.com
Thu Dec 1 06:00:31 CET 2011


Please don't cross post, especially without mentioning it.
http://stackoverflow.com/questions/8336410/descriptive-statistic-for-each-variable-under-list-data-type-in-r

Also, this is off-topic because it has nothing to do with finance.
--
Joshua Ulrich  |  FOSS Trading: www.fosstrading.com



On Wed, Nov 30, 2011 at 9:57 PM, Victor Chan <vic_pram at yahoo.com> wrote:
> So, I am trying to figure out
> how to display the descriptive statistics for the data type: List (let's say it called runs) having 3 variables.
> I would like to have the stats for each of the variables in the list.
>
> Then, I look into this:
> library(pastecs)
> stat.desc(mydata)
> # nbr.val, nbr.null, nbr.na, min max, range, sum,
> # median, mean, SE.mean, CI.mean, var, std.dev, coef.var
>
> When I run stat.desc(runs),
> it only shows one result.
>
> Any ideas how to resolve this?
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



More information about the R-SIG-Finance mailing list