acs.mean: Estimates means from the ACS PUMS data.

Description Usage Arguments Value Note References

View source: R/acs.mean.R

Description

Estimates the mean of the data field over the population represented by a sample drawn from ACS PUMS data.

Usage

1
acs.mean(x, field, wt.rep.num = NULL)

Arguments

x

data.frame or similar with data filtered to relevant rows

field

the data field to take the mean over

wt.rep.num

the weight replicate number, if a replicate weight

Value

an estimate of the mean of the data field over this data

Note

some ACS fields are top-coded, so their means are not correct, check the data dictionary or the PUMS Readme for more.

References

http://www2.census.gov/programs-surveys/acs/tech_docs/pums/ACS2016_PUMS_README.pdf


davidthaler/PUMSutils documentation built on July 13, 2019, 9:58 a.m.