powered by
Calculates weighted margin of error (MOE)
MOE(p = 50, conf = 95, N, wtcol)
= percentage for which MOE is calculated (optional, default is p = 50)
= level of confidence (optional, default is conf = 95)
= population size (optional, used for finite population correction)
= Weights vector (name of weights column)
Weighted margin of error (MOE)
Weighted margin of error (MOE) => unweighted MOE * DEFT
# NOT RUN { MOE(N=3000, wtcol=testweights$weights_column) # }
Run the code above in your browser using DataLab