Ron Michael <[EMAIL PROTECTED]> writes:

> Can anyone tell me why I am getting different results in calculating
> SD of 2 numbers ?
>
>> (1.25-0.95)/2
> [1] 0.15

Because this is not the SD?  Try

> (1.25-0.95)/sqrt(2)

:-)

>> sd(c(1.25, 0.95))
> [1] 0.2121320          # why it is different from 0.15?

-- 
Bjørn-Helge Mevik

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to