Skip to contents

Evaluates precision metrics already computed by an estimation layer and attaches survey-type representativity scope metadata.

Usage

enemdu_check_representativity(
  estimate,
  standard_error,
  degrees_freedom,
  survey_type,
  estimator_type = c("proportion_0_1", "ratio_0_1", "mean", "total", "other"),
  n = NULL,
  effective_n = NULL,
  deff = NULL,
  cv = NULL
)

Arguments

estimate

Numeric estimate.

standard_error

Numeric standard error.

degrees_freedom

Degrees of freedom.

survey_type

ENEMDU survey type.

estimator_type

Estimator type.

n

Optional raw sample size.

effective_n

Optional effective sample size.

deff

Optional design effect.

cv

Optional coefficient of variation.

Value

A one-row tibble with representativity and precision metadata.