EconPapers    
Economics at your fingertips  
 

eco: R Package for Ecological Inference in 2x2 Tables

Kosuke Imai, Ying Lu and Aaron Strauss

Journal of Statistical Software, 2011, vol. 042, issue i05

Abstract: eco is a publicly available R package that implements the Bayesian and likelihood methods proposed in Imai, Lu, and Strauss (2008b) for ecological inference in 2 X 2 tables as well as the method of bounds introduced by (Duncan and Davis'53). 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. This paper illustrates the usage of eco with several real data examples that are also part of the package.

Date: 2011-06-14
References: View complete reference list from CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v042i05/v42i05.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... i05/eco_3.1-5.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v042i05/v42i05.R

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:042:i05

DOI: 10.18637/jss.v042.i05

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:042:i05