Re: [R] Different results in calculating SD of 2 numbers

From: Ted Harding <Ted.Harding_at_manchester.ac.uk>
Date: Wed, 16 Jan 2008 09:47:25 -0000 (GMT)


On 16-Jan-08 08:45:04, Martin Maechler wrote:

>>>>>> "RM" == Ron Michael <ron_michael70_at_yahoo.com>
>>>>>>     on Wed, 16 Jan 2008 00:14:56 -0800 (PST) writes:

>
> RM> Hi all,
> RM> Can anyone tell me why I am getting different results in
> calculating SD of 2 numbers ?
>
> >> (1.25-0.95)/2
> RM> [1] 0.15
> >> sd(c(1.25, 0.95))
> RM> [1] 0.2121320 # why it is different from 0.15?
>
> because 1 is different from 2 !
> If 2 was 1, than sqrt(2) == 1 as well, but actually I don't
> think the universe and we all would exist in that case ....
> Martin Maechler, ETH

Of course we would!! -- Since FALSE implies X is TRUE for any X.

But FALSE would also imply that X is FALSE, so you are entitled to your view as well, Martin.

With best wishes,
Ted.



E-Mail: (Ted Harding) <Ted.Harding_at_manchester.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 16-Jan-08                                       Time: 09:47:20
------------------------------ XFMail ------------------------------

______________________________________________
R-help_at_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. Received on Wed 16 Jan 2008 - 09:50:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Jan 2008 - 11:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive