acs_margin_to_se: Convert All Margin of Error columns to Standard Errors

Description Usage Arguments

View source: R/acs_vars.R

Description

By default ACS data has columns for estimates and their associated margins of error (at the 90% level). When calculating new variables from ACS estiamtes it's often easier to work with standard errors rather than margins of error. This function will convert every margin of error column (eg. b25064_m001) into standard errors for a given confidence level (eg. b25064_se001). Once this conversion has been made there are a variety of standard error calculation helpers available in this package.

Usage

1
acs_margin_to_se(.data, level = 0.9)

Arguments

.data

Dataframe as created by acs_transform() before any changes have been made.

level

Confidence level for standard errors. Defaults to 0.90.


austensen/acssf documentation built on Nov. 18, 2020, 4:44 a.m.