Skip to contents

Convert a standard error to an ACS-style margin of error.

Usage

se_to_moe(se, conf = 0.9)

Arguments

se

Numeric standard error.

conf

Desired confidence level.

Value

Numeric margin of error.

Examples

se_to_moe(c(6, 15, 60))
#> [1]  9.869122 24.672804 98.691218
se_to_moe(6, conf = 0.95)
#> [1] 11.75978