Learn R Programming

eco (version 4.0-3)

Ecological Inference in 2x2 Tables

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.

Copy Link

Version

Install

install.packages('eco')

Monthly Downloads

181

Version

4.0-3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 3rd, 2022

Functions in eco (4.0-3)

eco

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

Foreign-born literacy in 1930
predict.eco

Out-of-Sample Posterior Prediction under the Parametric Bayesian Model for Ecological Inference in 2x2 Tables
forgnlit30c

Foreign-born literacy in 1930, County Level
ecoBD

Calculating the Bounds for Ecological Inference in RxC Tables
ecoNP

Fitting the Nonparametric Bayesian Models of Ecological Inference in 2x2 Tables
ecoML

Fitting Parametric Models and Quantifying Missing Information for Ecological Inference in 2x2 Tables
housep88

Electoral Results for the House and Presidential Races in 1988
Qfun

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

Black Illiteracy Rates in 1910 US Census
predict.ecoNP

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

Print the Summary of the Results for the Maximum Likelihood Parametric Model for Ecological Inference in 2x2 Tables
summary.ecoNP

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

Summarizing the Results for the Maximum Likelihood Parametric Model for Ecological Inference in 2x2 Tables
print.summary.ecoNP

Print the Summary of the Results for the Bayesian Nonparametric Model for Ecological Inference in 2x2 Tables
wallace

Black voting rates for Wallace for President, 1968
reg

Voter Registration in US Southern States
varcov

Calculate the variance or covariance of the object
summary.eco

Summarizing the Results for the Bayesian Parametric Model for Ecological Inference in 2x2 Tables
predict.ecoX

Out-of-Sample Posterior Prediction under the Parametric Bayesian Model for Ecological Inference in 2x2 Tables
predict.ecoNPX

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

Print the Summary of the Results for the Bayesian Parametric Model for Ecological Inference in 2x2 Tables