# Summarizing the Results for the Bayesian Nonparametric Model for Ecological Inference in 2x2 Tables

### Description

`summary`

method for class `ecoNP`

.

### Usage

1 2 3 4 5 6 |

### Arguments

`object` |
An output object from |

`CI` |
A vector of lower and upper bounds for the Bayesian credible intervals used to summarize the results. The default is the equal tail 95 percent credible interval. |

`x` |
An object of class |

`digits` |
the number of significant digits to use when printing. |

`param` |
Logical. If |

`units` |
Logical. If |

`subset` |
A numeric vector indicating the subset of the units whose
in-sample predications to be provided when |

`...` |
further arguments passed to or from other methods. |

### Value

`summary.ecoNP`

yields an object of class `summary.ecoNP`

containing the following elements:

`call` |
The call from |

`n.obs` |
The number of units. |

`n.draws` |
The number of Monte Carlo samples. |

`agg.table` |
Aggregate posterior estimates of the marginal means
of |

If `param = TRUE`

, the following elements are also included:

`param.table` |
Posterior estimates of model parameters: population
mean estimates of |

If `unit = TRUE`

, the following elements are also included:

`W1.table` |
Unit-level posterior estimates for |

`W2.table` |
Unit-level posterior estimates for |

This object can be printed by `print.summary.ecoNP`

### 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

### See Also

`ecoNP`

, `predict.eco`