Sample Size for Estimating a Binomial Parameter
The sample size for estimaitng a binomial parameter estimates the minimum sample size to estimate the binomial parameter.
The sample size equals twice the product of the inverse error function of the confidence level, 1 minus the sample proportion and the sample proportion divided by the margin of error squared.
Formula
![Copy to Clipboard QuantityVariable["n", "Unitless"] == (2*InverseErf[QuantityVariable["c", "Unitless"]]^2*(1 - QuantityVariable[OverHat["p"], "Unitless"])*QuantityVariable[OverHat["p"], "Unitless"])/QuantityVariable["M", "Unitless"]^2](https://www.wolframcloud.com/objects/resourcesystem/marketplacestorage/resources/703/703fc818-b3e7-40ba-948f-588d3e0c611d/Webpage/FormulaImage.png)
| symbol | description | physical quantity |
|---|---|---|
| n | sample size | "Unitless" |
| c | confidence level | "Unitless" |
| M | margin of error | "Unitless" |
| pHat | sample proportion | "Unitless" |
Forms
Examples
Get the resource:
| In[1]:= |
| Out[1]= | ![]() |
Get the formula:
| In[2]:= |
| Out[2]= | ![]() |
Use some values:
| In[3]:= |
| Out[3]= |

