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 ExpectationMaximization algorithms (for likelihood models) or the Markov chain Monte Carlo algorithms (for Bayesian models). For all models, the individuallevel data can be directly incorporated into the estimation whenever such data are available. Along with insample and outofsample 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.
Package details 


Author  Kosuke Imai <kimai@princeton.edu>, Ying Lu <yl46@nyu.edu>, Aaron B Strauss <aaronbstrauss@gmail.com>. 
Date of publication  20150319 09:46:08 
Maintainer  Ying Lu <yl46@nyu.edu> 
License  GPL (>= 2) 
Version  3.17 
URL  http://imai.princeton.edu/software/eco.html 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.