cluster_sampling_designer: Create a two-stage cluster sampling design
Description
Routes to make_design() with id "cluster_sampling":
make_design("cluster_sampling", n_clusters_in_block = n_clusters_in_block, ...).
Usage
cluster_sampling_designer(
N_blocks = 1,
N_clusters_in_block = 1000,
N_i_in_cluster = 50,
n_clusters_in_block = 100,
n_i_in_cluster = 10,
icc = 0.2,
args_to_fix = NULL
)
Arguments
- N_blocks
Number of blocks.
- N_clusters_in_block
Number of clusters in each block.
- N_i_in_cluster
Number of individuals in each cluster.
- n_clusters_in_block
Number of clusters sampled in each block.
- n_i_in_cluster
Number of individuals sampled in each sampled cluster.
- icc
Intra-cluster correlation of the latent outcome, in [0, 1].
- args_to_fix
Ignored. Present for compatibility with DesignLibrary 0.1.
Details
Clusters are sampled within blocks, then individuals within sampled
clusters, from a population drawn once when the design is built. Argument
names match DesignLibrary 0.1's cluster_sampling_designer. For the book's
budget-constrained version, see make_design("cluster_random_sampling").
Examples
Run this codecluster_sampling_designer(N_clusters_in_block = 200, n_clusters_in_block = 20)
Run the code above in your browser using DataLab