Evaluate imbalance in the covariates from the allocation by finding R-squared for a centered regression through the origin.
vector of 0's and 1's representing allocation
centered X matrix
Value of R-squared from centered regression
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.
1 2 3 4 5