lcubestratified: Stratified doubly balanced sampling with pooling of landing phases
Description
This is a fast implementation of stratified doubly balanced sampling. To have a fixed sample size, include the inclusion probabilities as a balancing variable in Xbal and make sure the inclusion probabilities sum to a positive integer (within each stratum). Euclidean distance is used in the Xspread space.
Usage
lcubestratified(prob,Xspread,Xbal,integerStrata)
Value
Returns a vector of length N with sampling indicators.
Arguments
prob
vector of length N with inclusion probabilities
Xspread
matrix of (standardized) auxiliary variables of N rows and q columns
Xbal
matrix of balancing auxiliary variables of N rows and r columns
integerStrata
vector of length N with stratum number
References
Chauvet, G. (2009). Stratified balanced sampling. Survey Methodology, 35, 115-119.
Grafström, A. and Tillé, Y. (2013). Doubly balanced spatial sampling with spreading and restitution of auxiliary totals. Environmetrics, 24(2), 120-131.