Variance estimation from replicate estimates.
Source:R/weights.R
morie_weights_replicate_variance.Rdmethod selects the rescaling: "JK1", "JKn", "BRR", "Fay", "bootstrap", "SDR".
Usage
morie_weights_replicate_variance(
full_estimate,
replicate_estimates,
method = c("JK1", "JKn", "BRR", "Fay", "bootstrap", "SDR"),
fay_coefficient = 0,
strata = NULL
)Arguments
- full_estimate
Numeric scalar; full-sample point estimate.
- replicate_estimates
Numeric vector of replicate point estimates.
- method
Character; calibration / smoothing / variance method. Allowed values depend on the caller.
- fay_coefficient
Fay's coefficient (\(k\)) for Fay's-BRR.
- strata
Optional vector of stratum identifiers aligned with
weights.