EI iterative estimation via Goodman's Regression
ei_good(data, cand_cols, race_cols, totals_col)
matrix with precinct results, columns = race groups, rows = candidates
A data.frame() object containing precinct-level turnout data by race and candidate
A character vector listing the column names for turnout for each candidate
A character vector listing the column names for turnout by race
The name of the column containing total votes cast in each precinct
Loren Collingwood <loren.collingwood@ucr.edu>
Ari Decter-Frain <agd75@cornell.edu>
eiPack King et. al. (http://gking.harvard.edu/eiR)
L. A. Goodman. Ecological regressions and behavior of individuals. American Sociological Review, 1953.