Usage
brrweights(strata, psu, match = NULL, small = c("fail","split","merge"), large = c("split", "merge", "fail"), fay.rho=0, only.weights=FALSE, compress=TRUE, hadamard.matrix=NULL)
jk1weights(psu,fpc=NULL, fpctype=c("population","fraction","correction"), compress=TRUE)
jknweights(strata,psu, fpc=NULL, fpctype=c("population","fraction","correction"), compress=TRUE, lonely.psu=getOption("survey.lonely.psu"))
Arguments
strata
Stratum identifiers
psu
PSU (cluster) identifier
match
Optional variable to use in matching.
small
How to handle strata with only one PSU
large
How to handle strata with more than two PSUs
fpc
Optional population (stratum) size or finite population correction
fay.rho
Parameter for Fay's extended BRR method
only.weights
If TRUE
return only the matrix of
replicate weights
compress
If TRUE
, store the replicate weights in
compressed form
hadamard.matrix
Optional user-supplied Hadamard matrix for
brrweights
lonely.psu
Handling of non-certainty single-PSU strata