moedeff_calc: Calculate the margin of error (including design effect) of a...

Description Usage Arguments Details Value

View source: R/DeffAndMOE.R

Description

moedeff_calc returns a single number. It is designed for use in the moe family of functions.

Usage

1
moedeff_calc(pct, deff, n)

Arguments

pct

a proportion

deff

a design effect

n

the sample size

Details

This function returns the design effect of a given sample using the formula sqrt(deff)*1.96*sqrt((pct*(1-pct))/(n-1))*100

Value

A percentage


jdjohn215/MLSPTools documentation built on Sept. 2, 2020, 1:16 a.m.