min_prop: Minimal proportion for the given relative margin of error

Description Usage Arguments Value See Also Examples

View source: R/min_prop.R

Description

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.

Usage

1
min_prop(n, pop, RMoE, confidence = 0.95, R = 1, deff_sam = 1, deff_est = 1)

Arguments

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.

Value

The estimate of minimal proportion for the given relative margin of error.

See Also

expvar, optsize, MoE_P

Examples

1
min_prop(n = 100, pop = 1000, RMoE = 0.1)

surveyplanning documentation built on July 1, 2020, 10:38 p.m.