Learn R Programming

Zelig (version 3.5.1)

summary.zelig: Summary of Simulated Quantities of Interest

Description

Summarizes the object of class zelig (output from sim) which contains simulated quantities of interst.

Usage

## S3 method for class 'zelig':
summary(object, subset = NULL, CI = 95, stats = c("mean", "sd"), ...)

Arguments

object
output object from sim (of class "zelig").
subset
takes one of three values:
  • NULL
{(default) for more than one observation, summarizes all the observations at once for each quantity of interest.} a numeric vector{indicates which observations to summarize,

Value

  • simnumber of simulations, i.e., posterior draws.
  • xvalues of explanatory variables used for simulation.
  • x1values of explanatory variables used for simulation of first differences etc.
  • qi.statssummary of quantities of interst. Use names to view the model-specific items available in qi.stats.

item

  • stats
  • CI
  • ...

See Also

zelig, setx, sim, and names, and the full Zelig manual at http://gking.harvard.edu/zelig.