eco: Ecological Inference in 2x2 Tables
Version 3.1-7

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.

AuthorKosuke Imai <kimai@princeton.edu>, Ying Lu <yl46@nyu.edu>, Aaron B Strauss <aaronbstrauss@gmail.com>.
Date of publication2015-03-19 09:46:08
MaintainerYing Lu <yl46@nyu.edu>
LicenseGPL (>= 2)
Version3.1-7
URL http://imai.princeton.edu/software/eco.html
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("eco")

Popular man pages

census: Black Illiteracy Rates in 1910 US Census
forgnlit30c: Foreign-born literacy in 1930, County Level
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
wallace: Black voting rates for Wallace for President, 1968
See all...

All man pages Function index File listing

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

Functions

Dcom.mvn Source code
Icom.mvn Source code
Icom.transform Source code
Qfun Man page Source code
census Man page
checkdata Source code
coef.eco Source code
coef.ecoNP Source code
d1st.mvn Source code
d2nd.mvn Source code
eco Man page Source code
ecoBD Man page Source code
ecoINFO Source code
ecoML Man page Source code
ecoNP Man page Source code
ecoRC Source code
ecoX Source code
forgnlit30 Man page
forgnlit30c Man page
housep88 Man page
invlogit Source code Source code
logit Source code Source code
param.pack Source code
param.trans Source code
predict.eco Man page Source code
predict.ecoNP Man page Source code
predict.ecoNPX Man page Source code
predict.ecoX Man page Source code
print.eco Man page Source code
print.ecoBD Source code
print.ecoML Source code
print.summary.eco Man page Source code
print.summary.ecoML Man page Source code
print.summary.ecoNP Man page Source code
print.summary.predict.eco Source code
reg Man page
suff Source code
summary.eco Man page Source code
summary.ecoML Man page Source code
summary.ecoNP Man page Source code
summary.predict.eco Source code
tr Source code
varcov Source code
varcov.eco Source code
varcov.ecoNP Source code
vec Source code
wallace Man page

Files

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.