sim.default {Zelig}R Documentation

Method for Simulating Quantities of Interest wrom 'zelig' Objects

Description

Simulate quantities of interest

Usage

  ## Default S3 method:
sim(obj, x=NULL, x1=NULL, y=NULL,
    num=1000, bootstrap = FALSE, bootfn=NULL, cond.data =
    NULL, ...)

Arguments

obj

a 'zelig' object

x

a 'setx' object

x1

a secondary 'setx' object used to perform particular computations of quantities of interest

y

a parameter reserved for the computation of particular quantities of interest (average treatment effects). Few models currently support this parameter

num

an integer specifying the number of simulations to compute

bootstrap

ignored

bootfn

ignored

cond.data

ignored

...

parameters to be passed to the boot function, if one is supplied

Value

a 'sim' object storing the replicated quantities of interest

Author(s)

Matt Owen mowen@iq.harvard.edu


[Package Zelig version 4.2-1 Index]