Skip to contents

Categorize ACS estimate reliability by CV thresholds.

Usage

acs_reliability(
  estimate,
  moe,
  conf = 0.9,
  thresholds = c(reliable = 0.12, caveat = 0.4)
)

Arguments

estimate

Numeric estimate.

moe

Numeric MOE.

conf

Confidence level associated with moe.

thresholds

Named numeric vector with reliable and caveat CV thresholds. Defaults of 0.12 and 0.40 reflect commonly used applied conventions (e.g., reliable below 12% CV, unreliable above 40% CV); these are not a Census Bureau standard and should be adjusted to your domain, agency guidance, or project-specific quality standard.

Value

Ordered factor with levels reliable, caveat, unreliable.

Examples

acs_reliability(estimate = 1000, moe = 80)
#> [1] reliable
#> Levels: reliable caveat unreliable
acs_reliability(estimate = c(1000, 200, 50), moe = c(80, 60, 50))
#> [1] reliable   caveat     unreliable
#> Levels: reliable caveat unreliable