powered by
Calculate the variance of a proportion. See Anderson and Finn (1996, p. 364, ISBN: 978-1-4612-8466-6)
var_of_proportion(p = NULL, n = NULL)
a vector of proportions; each of the proportion values must be between 0 and 1
a vector of sample sizes; number of observations used to calculate each of the percentage values
var_of_proportion(p = 0.56, n = 400) var_of_proportion(p = 0.5, n = 100) var_of_proportion(p = 0.4, n = 50) var_of_proportion(p = c(0.5, 0.9), n = c(100, 200))
Run the code above in your browser using DataLab