Skip to contents

Generates balanced repeated replication (BRR) or Fay's BRR replicate weights via survey::as.svrepdesign(). Requires a paired-PSU design (exactly 2 PSUs per stratum).

Usage

create_brr_weights(data, ..., rho = 0, mse = TRUE)

Arguments

data

A survey_taylor with exactly 2 PSUs per stratum.

...

Must be empty.

rho

numeric(1), default 0. Fay damping coefficient. rho = 0 gives standard BRR; rho > 0 gives Fay's BRR variant with factors rho and 2 - rho. Must satisfy 0 <= rho < 1.

mse

logical(1), default TRUE.

Value

A survey_replicate with @variables$type of "BRR" or "Fay".