summary.eco {eco}R Documentation

Summarizing the results for the nonparametric and parametric models for ecological inference in 2x2 tables

Description

summary method for class eco.

Usage

  ## S3 method for class 'eco':
  summary(object, long=FALSE, CI=c(2.5, 97.5), ...)

  ## S3 method for class 'summary.eco':
  print(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

object An output object from eco.
long Logical. If TRUE, the in-sample predictions for each unit will be provided. The default value is FALSE.
CI A 2 dimensional vector of lower and upper bounds for the credible intervals used to summarize the results. The default is the equal tail 95 percent credible interval.
x An object of class summary.eco.
digits the number of significant digits to use when printing.
... further arguments passed to or from other methods.

Value

summary.eco yields an object of class summary.eco containing the following elements:

call The call from eco.
n.obs The number of observations.
coef.table The summary of the posterior distribution of the aggregate means of W1 and W2.

Author(s)

Ying Lu, Woodrow Wilson School of International and Public Affairs, Princeton University yinglu@princeton.edu; Kosuke Imai, Department of Politics, Princeton University kimai@Princeton.Edu, http://www.princeton.edu/~kimai

See Also

eco


[Package eco version 1.0-1 Index]