MOE {WgtEff}R Documentation

Calculate MOE

Description

Calculates weighted margin of error (MOE)

Usage

MOE(p = 50, conf = 95, N, wtcol)

Arguments

p

= percentage for which MOE is calculated (optional, default is p = 50)

conf

= level of confidence (optional, default is conf = 95)

N

= population size (optional, used for finite population correction)

wtcol

= Weights vector (name of weights column)

Value

Weighted margin of error (MOE)

References

Weighted margin of error (MOE) => unweighted MOE * DEFT

Examples

MOE(N=3000, wtcol=testweights$weights_column)

[Package WgtEff version 0.1.2 Index]