Description Author(s) References
eiwild means Ecological Inference With Individual Level Data.
It enables to estimate the inner cells of an RxC-table with aggregate data with a number of precincts and/or individual level data for a few precincts.
The assumptions are based on Rosen et al's (2001) on the Multinomial-Dirichlet- Model and the Wakefield's (2004) paper on combining individual level data for 2x2-tables. In the master thesis of Thomas Schlesinger (2013) he expanded the 2x2-case to the RxC-case and implemented it in this package. Some of the functions are based on the equivalent functions of the eiPack-package.
It is a hierarchical Bayesian model which uses MCMC-Algorithms to calculate the estimations. Therefore it has all the pros and cons of these methods.
The typical workflow consists of
Formatting your data in the accepted way. Loading
topleveldat
and inspecting the
data.frame
's aggr
and indi
will give
you a general idea.
Running one or multiple times:
function tuneVars
function indAggEi
Analyzing results with plot.eiwild
,
comPlot
,
summary.eiwild
,
plotResult
For more examples look at the appropriate functions
Thomas Schlesinger
<<to be added>>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.