Skip to contents

Each stratum is split into two halves; signs from a random Hadamard-like matrix double one half and zero the other. For exact Hadamard ordering use survey::as.svrepdesign(..., type = "BRR").

Usage

morie_weights_brr(weights, strata, n_replicates = NULL, seed = 42)

Arguments

weights

Numeric vector of unit-level design weights.

strata

Optional vector of stratum identifiers aligned with weights.

n_replicates

Integer; replicate count.

seed

Integer RNG seed.