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-6 |
| Depends: | R (≥ 2.0), MASS, utils |
| Suggests: | testthat |
| Published: | 2025-12-08 |
| 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 |
| Reference manual: | eco.html , eco.pdf |
| Package source: | eco_4.0-6.tar.gz |
| Windows binaries: | r-devel: eco_4.0-6.zip, r-release: eco_4.0-6.zip, r-oldrel: eco_4.0-6.zip |
| macOS binaries: | r-release (arm64): eco_4.0-6.tgz, r-oldrel (arm64): eco_4.0-6.tgz, r-release (x86_64): eco_4.0-6.tgz, r-oldrel (x86_64): eco_4.0-6.tgz |
| Old sources: | eco archive |
Please use the canonical form https://CRAN.R-project.org/package=eco to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.