Skip to content
Prev 134103 / 398498 Next

Different results in calculating SD of 2 numbers

Because the above is not the standard deviation of two numbers.  The sample based estimate of the population standard deviation of a set of numbers (which is what sd() computes) is 

(sum((x-mean(x))^2 )/(length(x)-1))^.5

which for your two numbers would be

( (1.25 - 1.1)^2 + (.95 - 1.1)^2 )^.5
Hope this is helpful,

Dan

Daniel Nordlund
Bothell, WA  USA