min_prop {surveyplanning} | R Documentation |
The function computes minimal proportion for the given relative margin of error. The calculation takes into sample size, population size, margin of error, expected response rate and design effect.
min_prop(n, pop, RMoE, confidence = 0.95, R = 1, deff_sam = 1, deff_est = 1)
n |
The expected sample size. |
pop |
Population size. |
RMoE |
The expected relative margin of error. |
confidence |
Optional positive value for confidence interval. This variable by default is 0.95. |
R |
The expected response rate (optional). If not defined, it is assumed to be 1 (full-response). |
deff_sam |
The expected design effect of sample design for the estimates (optional). If not defined, it is assumed to be 1. |
deff_est |
The estimated design effect of estimator for the estimates (optional). If not defined, it is assumed to be 1. |
The estimate of minimal proportion for the given relative margin of error.
min_prop(n = 100, pop = 1000, RMoE = 0.1)