Learn R Programming

easycensus (version 1.1.3)

est_prop: Specialized margin-of-error calculations

Description

Proportions and percent-change-over-time calculations require different standard error calculations.

Usage

est_prop(x, y)

est_pct_chg(x, y)

Value

An estimate vector.

Arguments

x, y

An estimate vector. For est_pct_chg(), calculates the % change from x to y (i.e., \((y-x)/x\))

Examples

Run this code
x = estimate(1, 0.1)
y = estimate(1.5, 0.1)
est_prop(x, y)
est_pct_chg(x, y)

Run the code above in your browser using DataLab