Package: eco
Version: 4.0-6
Date: 2025-12-08
Title: Ecological Inference in 2x2 Tables
Authors@R: c(
  person("Kosuke", "Imai", , "imai@Harvard.Edu", c("aut", "cre")),
  person("Ying", "Lu", , "ying.lu@nyu.edu", c("aut")),
  person("Aaron", "Strauss", , "aaronbstrauss@gmail.com", c("aut")),
  person("Hubert", "Jin", , "hubertj@princeton.edu", c("ctb"))
  )
Maintainer: Kosuke Imai <imai@Harvard.Edu>
Depends: R (>= 2.0), MASS, utils
Suggests: testthat
Description: 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.
LazyLoad: yes
LazyData: yes
License: GPL (>= 2)
URL: https://github.com/kosukeimai/eco
BugReports: https://github.com/kosukeimai/eco/issues
RoxygenNote: 7.3.3
NeedsCompilation: yes
Packaged: 2025-12-08 11:45:41 UTC; kosukeimai
Author: Kosuke Imai [aut, cre],
  Ying Lu [aut],
  Aaron Strauss [aut],
  Hubert Jin [ctb]
Repository: CRAN
Date/Publication: 2025-12-08 12:10:02 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-04-26 17:02:03 UTC; unix
Archs: eco.so.dSYM
