Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the population standard deviation for a set of data
ResourceFunction["PopulationStandardDeviation"][{x1,x2,…}] gives the population standard deviation of the given data. |
Compute the population standard deviation of a list:
In[1]:= | ![]() |
Out[1]= | ![]() |
Compute the population standard deviation of another list:
In[2]:= | ![]() |
Out[2]= | ![]() |
Compute the population standard deviation of another list:
In[3]:= | ![]() |
Out[4]= | ![]() |
Compare with the known expression for population standard deviation as the root-mean-square difference to the mean:
In[5]:= | ![]() |
Out[5]= | ![]() |
PopulationStandardDeviation works on both numeric and symbolic input:
In[6]:= | ![]() |
Out[6]= | ![]() |
The population standard deviation of a dataset differs from its sample standard deviation calculated with StandardDeviation due to Bessel's correction:
In[7]:= | ![]() |
Out[7]= | ![]() |
The fractional effect of this correction tends to be smaller for larger sample sizes:
In[8]:= | ![]() |
Out[8]= | ![]() |
PopulationStandardDeviation[…]is equivalent to Sqrt[ResourceFunction["PopulationVariance"][…]]:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
In[11]:= | ![]() |
Out[11]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License