Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
4.0-6 rolling source/ R- eco_4.0-6.tar.gz 174.2 KiB
4.0-6 latest source/ R- eco_4.0-6.tar.gz 174.2 KiB
4.0-6 2026-04-09 windows/windows R-4.5 eco_4.0-6.zip 397.9 KiB

Dependencies (latest)

Depends

Suggests