eco: Ecological Inference in 2x2 Tables

Implements the Bayesian and likelihood methods proposed in Imai, Lu, and Strauss (2008 <doi:10.1093/pan/mpm017>) and (2011 <doi:10.18637/jss.v042.i05>) 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.

Version: 4.0-4
Depends: R (≥ 2.0), MASS, utils
Suggests: testthat
Published: 2025-10-21
DOI: 10.32614/CRAN.package.eco
Author: Kosuke Imai [aut, cre], Ying Lu [aut], Aaron Strauss [aut], Hubert Jin [ctb]
Maintainer: Kosuke Imai <imai at Harvard.Edu>
BugReports: https://github.com/kosukeimai/eco/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/kosukeimai/eco
NeedsCompilation: yes
Citation: eco citation info
Materials: ChangeLog
CRAN checks: eco results [issues need fixing before 2025-11-04]

Documentation:

Reference manual: eco.html , eco.pdf

Downloads:

Package source: eco_4.0-4.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): eco_4.0-4.tgz, r-oldrel (arm64): eco_4.0-4.tgz, r-release (x86_64): eco_4.0-4.tgz, r-oldrel (x86_64): eco_4.0-4.tgz
Old sources: eco archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=eco to link to this page.