Post Reply 
stdevp( ) appears to be mislabeled
05-27-2016, 11:50 PM
Post: #1
stdevp( ) appears to be mislabeled
It appears that the stdevp( ) function is mislabeled.

Instead of being the population standard deviation, it is the sample standard deviation. The sample standard deviation has to be greater than the population standard deviaion by sqrt(N/(N-1)).

Here is a check: approx(sddev({1,2,3})) = 0.816496580928

stdevp({1,2,3}) = 1

stdevp({1,2,3})*sqrt(2/3) = 0.816496580928, which is the population standard deviation.

The quickest fix might be to relabel stdevp( ) as stdevs( ) and change help to reflect that this is the sample standard deviation rather than the population standard deviation.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
stdevp( ) appears to be mislabeled - Mike Elzinga - 05-27-2016 11:50 PM



User(s) browsing this thread: 1 Guest(s)