Learn R Programming

⚠️There's a newer version (4.0-6) of this package.Take me there.

eco (version 2.2-2)

R Package for Fitting Bayesian Models of Ecological Inference in 2x2 Tables

Description

eco is a publicly available R package that fits the parametric and nonparametric Bayesian models for ecological inference in 2x2 tables. The models are fit using the Markov chain Monte Carlo algorithms that are described in Imai and Lu (2004, 2005).

Copy Link

Version

Install

install.packages('eco')

Monthly Downloads

180

Version

2.2-2

License

GPL (version 2 or later)

Maintainer

Kosuke Imai

Last Published

December 8th, 2025

Functions in eco (2.2-2)

eco

Fitting the Parametric Bayesian Model of Ecological Inference in 2x2 Tables
reg

Voter Registration in US Southern States
predict.eco

Out-of-Sample Posterior Prediction under the Nonparametric Bayesian Model for Ecological Inference in 2x2 Tables
summary.eco

Summarizing the Results for the Bayesian Parametric Model for Ecological Inference in 2x2 Tables
census

Black Illiteracy Rates in 1910 US Census
ecoBD

Calculating the Bounds for Ecological Inference in RxC Tables
ecoNP

Fitting the Nonparametric Bayesian Model of Ecological Inference in 2x2 Tables
summary.ecoNP

Summarizing the Results for the Bayesian Nonparametric Model for Ecological Inference in 2x2 Tables