Routes to make_design() with id "block_cluster_two_arm":
make_design("block_cluster_two_arm", N_blocks = N_blocks, ...).
block_cluster_two_arm_designer(
N = NULL,
N_blocks = 20,
N_clusters_in_block = 4,
N_i_in_cluster = 10,
sd = NULL,
sd_block = 0.577,
sd_cluster = 0.577,
sd_i = 0.577,
sd_i_0 = NULL,
ate = 0.2,
assignment_prob = 0.5,
assignment_probs = NULL,
args_to_fix = NULL,
...
)A design object.
Removed DesignLibrary 0.1 arguments. Supplying either is an error that names the arguments to set instead.
Number of blocks.
Number of clusters in each block.
Number of units in each cluster.
Standard deviation of the block-level shock.
Standard deviation of the cluster-level shock.
Individual-level shock. sd_i_0 is an alias.
Average treatment effect.
Assignment probability. A vector of per-block probabilities is not supported.
Ignored.
Removed DesignLibrary 0.1 arguments, which error; any other argument is warned and dropped.
A simplified signature relative to DesignLibrary 0.1: level sizes and three
shock standard deviations, a scalar assignment probability, and ate.
The DesignLibrary 0.1 arguments N, sd, sd_i_1, rho, control_mean,
and treatment_mean are errors that name the argument to use instead.
Other unused arguments (such as 0.1's verbose) are ignored with a
warning, and per-block assignment_probs are an error.
make_design()
block_cluster_two_arm_designer(N_blocks = 4, N_clusters_in_block = 2, N_i_in_cluster = 5)
Run the code above in your browser using DataLab