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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)