Learn R Programming

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

eco (version 2.1-1)

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).

Copy Link

Version

Install

install.packages('eco')

Monthly Downloads

180

Version

2.1-1

License

GPL (version 2 or later)

Maintainer

Kosuke Imai

Last Published

December 8th, 2025

Functions in eco (2.1-1)

reg

Voter Registration in US Southern States
predict.eco

Out-of-Sample Posterior Prediction under the Parametric and Nonparametric Bayesian Models for Ecological Inference in 2x2 Tables
summary.ecoNP

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

Calculating the Bounds for Ecological Inference in RxC Tables
summary.eco

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

Fitting the Nonparametric Bayesian Model of Ecological Inference in 2x2 Tables
eco

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