The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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-5
Depends: R (≥ 2.0), MASS, utils
Suggests: testthat
Published: 2025-10-23
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

Documentation:

Reference manual: eco.html , eco.pdf

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.