Skip to content

eco

Ecological Inference in 2x2 Tables

v4.0-6 · Dec 8, 2025 · GPL (>= 2)

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.

Downloads

291

Last 30 days

14123rd

717

Last 90 days

1.9K

Last year

Trend: +13.2% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies MASS eco

Version History

new 4.0-6 Mar 10, 2026
updated 4.0-6 ← 4.0-5 diff Dec 7, 2025
updated 4.0-5 ← 4.0-4 diff Oct 22, 2025
updated 4.0-4 ← 4.0-3 diff Oct 20, 2025
updated 4.0-3 ← 4.0-1 diff Nov 2, 2022
updated 4.0-1 ← 3.1-7 diff Jul 31, 2017
updated 3.1-7 ← 3.1-6 diff Mar 18, 2015
updated 3.1-6 ← 3.1-5 diff Jun 11, 2012
updated 3.1-5 ← 3.1-4 diff Apr 25, 2011
updated 3.1-4 ← 3.1-2 diff Jul 17, 2009
updated 3.1-2 ← 3.1-1 diff Jan 31, 2009
updated 3.1-1 ← 3.0-2 diff Jun 27, 2007
updated 3.0-2 ← 3.0-1 diff Jan 10, 2007
updated 3.0-1 ← 2.2-2 diff Dec 31, 2006
updated 2.2-2 ← 2.2-1 diff Sep 23, 2006
updated 2.2-1 ← 2.1-1 diff Sep 29, 2005
updated 2.1-1 ← 1.1-1 diff Jul 8, 2005
updated 1.1-1 ← 1.0-1 diff Jun 15, 2005
new 1.0-1 Dec 20, 2004