Sample Size for Estimating a Population Mean
Sample size determination is the act of choosing the number of observations or replicates to include in a statistical sample.
The sample size equals twice the error function squared of the confidence level times the population standard deviation squared divided by the margin of error squared.
Formula
![Copy to Clipboard QuantityVariable["n", "Unitless"] == (2*InverseErf[QuantityVariable["c", "Unitless"]]^2*QuantityVariable["σ", "Unitless"]^2)/QuantityVariable["M", "Unitless"]^2](https://www.wolframcloud.com/objects/resourcesystem/marketplacestorage/resources/e58/e5823ae3-13fc-438d-92da-f056776094ab/Webpage/FormulaImage.png)
| symbol | description | physical quantity |
|---|---|---|
| n | sample size | "Unitless" |
| c | confidence level | "Unitless" |
| M | margin of error | "Unitless" |
| σ | population standard deviation | "Unitless" |
Forms
Examples
Get the resource:
| In[1]:= |
| Out[1]= | ![]() |
Get the formula:
| In[2]:= |
| Out[2]= |
Use some values:
| In[3]:= |
| Out[3]= |
