Horvitz-Thompson estimator of a population total.
Usage
morie_survey_ht_total(y, inclusion_probs)
Arguments
- y
Numeric vector of outcome values aligned with the sample.
- inclusion_probs
Numeric vector of inclusion probabilities
(pi_i) for the Horvitz-Thompson estimator.
Value
list with total, se, ci_lower, ci_upper.