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

### Description

`Qfun`

returns the complete log-likelihood
that is used to calculate the fraction of missing information.

### Usage

1 | ```
Qfun(theta, suff.stat, n)
``` |

### Arguments

`theta` |
A vector that contains the MLE |

`suff.stat` |
A vector of sufficient statistics of |

`n` |
A integer representing the sample size. |

### Author(s)

Kosuke Imai, Department of Politics, Princeton University, kimai@Princeton.Edu, http://imai.princeton.edu; Ying Lu, Center for Promoting Research Involving Innovative Statistical Methodology (PRIISM), New York University ying.lu@nyu.Edu Aaron Strauss, Department of Politics, Princeton University, abstraus@Princeton.Edu.

### References

Imai, Kosuke, Ying Lu and Aaron Strauss. (2011). “eco: R Package for Ecological Inference in 2x2 Tables” Journal of Statistical Software, Vol. 42, No. 5, pp. 1-23. available at http://imai.princeton.edu/software/eco.html

Imai, Kosuke, Ying Lu and Aaron Strauss. (2008). “Bayesian and Likelihood Inference for 2 x 2 Ecological Tables: An Incomplete Data Approach” Political Analysis, Vol. 16, No. 1 (Winter), pp. 41-69. available at http://imai.princeton.edu/research/eiall.html

### See Also

`ecoML`