Evaluate precision and representativity decision rules
Source:R/representativity_rules.R
enemdu_evaluate_precision.RdApplies the phase-2 precision classification contract based on ENEMDU methodological criteria. This function evaluates metrics already computed elsewhere.
Usage
enemdu_evaluate_precision(
estimate,
standard_error,
cv = NULL,
n = NULL,
effective_n = NULL,
deff = NULL,
degrees_freedom,
estimator_type = c("proportion_0_1", "ratio_0_1", "mean", "total", "other")
)Arguments
- estimate
Numeric estimate.
- standard_error
Numeric standard error.
- cv
Optional coefficient of variation. If omitted and possible, it is computed as
standard_error / abs(estimate).- n
Optional raw sample size.
- effective_n
Optional effective sample size.
- deff
Optional design effect. If
effective_nis missing and bothnanddeffare available,effective_n = n / deff.- degrees_freedom
Degrees of freedom.
- estimator_type
One of
"proportion_0_1","ratio_0_1","mean","total"or"other".