Allocates observations to treatment (1) or control (0) within strata
number of observations
size of each block: must be even number
Allocates observations within each block of size blksize so that half of the observations in each block are in the treatment group and the other half are in the control group.
vector of allocations to treatment (1) or control (0) group
Xiaoshu Zhu email@example.com and Sharon Lohr
Lohr, S. and X. Zhu (2015). Randomized Sequential Individual Assignment in Social Experiments: Evaluating the Design Options Prospectively. Sociological Methods and Research. [Advance online publication: December 27, 2015] doi: 10.1177/0049124115621332.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.