Ecological Inference in 2x2 Tables

Implements the Bayesian and likelihood methods proposed in Imai, Lu, and Strauss (2008 ) and (2011 ) for ecological inference in 2 by 2 tables as well as the method of bounds introduced by Duncan and Davis (1953). The package fits both parametric and nonparametric models using either the Expectation-Maximization algorithms (for likelihood models) or the Markov chain Monte Carlo algorithms (for Bayesian models). For all models, the individual-level data can be directly incorporated into the estimation whenever such data are available. Along with in-sample and out-of-sample predictions, the package also provides a functionality which allows one to quantify the effect of data aggregation on parameter estimation and hypothesis testing under the parametric likelihood models.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("eco")

4.0-6 by Kosuke Imai, 10 months ago


https://github.com/kosukeimai/eco


Report a bug at https://github.com/kosukeimai/eco/issues


Browse source code at https://github.com/cran/eco


Authors: Kosuke Imai [aut, cre] , Ying Lu [aut] , Aaron Strauss [aut] , Hubert Jin [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Depends on MASS, utils

Suggests testthat


See at CRAN