aggregate_moe: Aggregated margin of error across multiple geographies

Description Usage Arguments Details Value Author(s) Examples

View source: R/aggregate_moe.R

Description

Aggregated margin of error across multiple geographies

Usage

1

Arguments

x

A numeric vector containing margins of error for estimates in multiple geographies.

Details

Applies a root sum of squared errors. See page A-14 of this guide: https://www.census.gov/library/publications/2009/acs/researchers.html

Value

The aggregated margin of error for the geographies.

Author(s)

Josie Kressner

Examples

1
2
3
4
5
x <- c(3, 5, 12, 4)
aggregate_moe(x)
data_frame(x = x, group = c(1, 1, 2, 2)) %>%
  group_by(group) %>%
  summarise(moe = aggregate_moe(x))

censusr documentation built on May 2, 2019, 9:41 a.m.