eco: Ecological Inference in 2x2 Tables

Share:

We implement the Bayesian and likelihood methods proposed in Imai, Lu, and Strauss (2008, 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.

Author
Kosuke Imai <kimai@princeton.edu>, Ying Lu <yl46@nyu.edu>, Aaron B Strauss <aaronbstrauss@gmail.com>.
Date of publication
2015-03-19 09:46:08
Maintainer
Ying Lu <yl46@nyu.edu>
License
GPL (>= 2)
Version
3.1-7
URLs

View on CRAN

Man pages

census
Black Illiteracy Rates in 1910 US Census
eco
Fitting the Parametric Bayesian Model of Ecological Inference...
ecoBD
Calculating the Bounds for Ecological Inference in RxC Tables
ecoML
Fitting Parametric Models and Quantifying Missing Information...
ecoNP
Fitting the Nonparametric Bayesian Models of Ecological...
forgnlit30
Foreign-born literacy in 1930
forgnlit30c
Foreign-born literacy in 1930, County Level
housep88
Electoral Results for the House and Presidential Races in...
predict.eco
Out-of-Sample Posterior Prediction under the Parametric...
predict.ecoNP
Out-of-Sample Posterior Prediction under the Nonparametric...
Qfun
Fitting the Parametric Bayesian Model of Ecological Inference...
reg
Voter Registration in US Southern States
summary.eco
Summarizing the Results for the Bayesian Parametric Model for...
summary.ecoML
Summarizing the Results for the Maximum Likelihood Parametric...
summary.ecoNP
Summarizing the Results for the Bayesian Nonparametric Model...
wallace
Black voting rates for Wallace for President, 1968

Files in this package

eco
eco/inst
eco/inst/CITATION
eco/src
eco/src/Makevars
eco/src/rand.h
eco/src/fintegrate.h
eco/src/gibbsDP.c
eco/src/sample.h
eco/src/rand.c
eco/src/subroutines.c
eco/src/gibbsEM.c
eco/src/vector.c
eco/src/gibbsBase.c
eco/src/bayes.h
eco/src/vector.h
eco/src/subroutines.h
eco/src/gibbsXBase.c
eco/src/gibbsZBase.c
eco/src/macros.h
eco/src/preDP.c
eco/src/fintegrate.c
eco/src/gibbsBase2C.c
eco/src/sample.c
eco/src/bayes.c
eco/src/preBaseX.c
eco/src/gibbsXDP.c
eco/src/preDPX.c
eco/src/gibbsBaseRC.c
eco/NAMESPACE
eco/data
eco/data/reg.txt.gz
eco/data/housep88.txt.gz
eco/data/wallace.txt.gz
eco/data/forgnlit30c.txt.gz
eco/data/forgnlit30.txt.gz
eco/data/census.txt.gz
eco/R
eco/R/ecoRC.R
eco/R/ecoNP.R
eco/R/logit.R
eco/R/onAttach.R
eco/R/summary.ecoNP.R
eco/R/predict.ecoX.R
eco/R/ecoCV.R
eco/R/predict.eco.R
eco/R/eco.R
eco/R/coef.ecoNP.R
eco/R/print.ecoML.R
eco/R/print.summary.eco.R
eco/R/predict.ecoNPX.R
eco/R/coef.eco.R
eco/R/predict.ecoNP.R
eco/R/emeco.R
eco/R/checkdata.R
eco/R/Qfun.R
eco/R/summary.ecoML.R
eco/R/varcov.R
eco/R/print.summary.ecoNP.R
eco/R/print.ecoBD.R
eco/R/print.summary.predict.eco.R
eco/R/summary.eco.R
eco/R/print.summary.ecoML.R
eco/R/print.eco.R
eco/R/eminfo.R
eco/R/summary.predict.eco.R
eco/R/ecoBD.R
eco/MD5
eco/DESCRIPTION
eco/ChangeLog
eco/man
eco/man/Qfun.Rd
eco/man/housep88.Rd
eco/man/predict.ecoNP.Rd
eco/man/ecoBD.Rd
eco/man/predict.eco.Rd
eco/man/summary.ecoNP.Rd
eco/man/ecoML.Rd
eco/man/forgnlit30c.Rd
eco/man/reg.Rd
eco/man/eco.Rd
eco/man/census.Rd
eco/man/forgnlit30.Rd
eco/man/summary.eco.Rd
eco/man/summary.ecoML.Rd
eco/man/wallace.Rd
eco/man/ecoNP.Rd