Description Usage Arguments References See Also Examples
Calculate Standard Error of a Proportion
1 | error_se_prop(pct, N)
|
pct |
numeric: Estimated proportion |
N |
numeric: Number of Responses |
http://en.wikipedia.org/wiki/Standard_error
Other functions for estimating sampling error:
error_me()
,
error_se_mean()
1 2 3 4 5 | # standard error for N=30, pct=33%/67%
x <- c(rep("Checked", 10), rep("Unchecked", 20))
N <- length(x)
pct <- prop.table(table(x))
error_se_prop(pct, N)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.