Skip to contents

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

Usage

est_prop(x, y)

est_pct_chg(x, y)

Arguments

x, y

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

Value

An estimate vector.

Examples

x = estimate(1, 0.1)
y = estimate(1.5, 0.1)
est_prop(x, y)
#> <estimate[1]>
#> [1] 0.67 ± 0.12
est_pct_chg(x, y)
#> <estimate[1]>
#> [1] 0.5 ± 0.3