[R] Very basic statistics in R

S Ellison S.Ellison at LGCGroup.com
Fri May 3 15:22:00 CEST 2013


 

>  - the mean <x>                   -> mean(x)
>  - the uncertainty on <x>       -> std.error(x) ? Or sd(x)?
>  - the standard deviation of x  -> ?
>  - the uncertainty on the standard deviation -> ?
> 
> Anyone has an idea?

1. Use R's help system to look up 'standard deviation' and 'mean'
e.g.:
??'standard deviation' 
??'mean'

For the other two questions, consult your basic stats textbook; the answers can be calculated from the two above together with the number of observations.

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list