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 Depends: R (>= 2.0), MASS, utils Suggests: testthat Description: 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. LazyLoad: yes LazyData: yes License: GPL (>= 2) URL: https://github.com/kosukeimai/eco BugReports: https://github.com/kosukeimai/eco/issues RoxygenNote: 7.3.3 Repository: https://kosukeimai.r-universe.dev Date/Publication: 2025-12-09 02:31:57 UTC RemoteUrl: https://github.com/kosukeimai/eco RemoteRef: HEAD RemoteSha: cb7cbe37a6181a271a11fdf58a4f1d6dba83b8fb NeedsCompilation: yes Packaged: 2026-06-07 10:12:38 UTC; root Author: Kosuke Imai [aut, cre], Ying Lu [aut], Aaron Strauss [aut], Hubert Jin [ctb]