Skip to contents

Combined design x nonresponse x post-strat (x trim) pipeline.

Usage

morie_weights_combined(
  selection_probs,
  responded,
  adjustment_cells = NULL,
  calibration_strata = NULL,
  population_totals = NULL,
  trim_percentiles = NULL
)

Arguments

selection_probs

Numeric vector of selection probabilities for design.

responded

Logical/integer 0/1 vector of response indicators.

adjustment_cells

Optional cell identifiers used by nonresponse adjustment.

calibration_strata

Optional strata for the calibration step of combined.

population_totals

Named numeric vector of target totals to calibrate to.

trim_percentiles

Two-element numeric vector c(lower, upper) of percentile bounds for trimming.