stratblockalloc: Stratified permuted block allocation

Description Usage Arguments Details Value Author(s) References Examples

Description

Allocates observations to treatment (1) or control (0) within strata

Usage

1
stratblockalloc(n, blksize)

Arguments

n

number of observations

blksize

size of each block: must be even number

Details

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.

Value

vector of allocations to treatment (1) or control (0) group

Author(s)

Xiaoshu Zhu xiaoshuzhu@westat.com and Sharon Lohr

References

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.

Examples

1

SeqAlloc documentation built on May 2, 2019, 3:14 p.m.