| sim.default {Zelig} | R Documentation |
Simulate quantities of interest
## Default S3 method:
sim(obj, x=NULL, x1=NULL, y=NULL,
num=1000, bootstrap = FALSE, bootfn=NULL, cond.data =
NULL, ...)
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 |
a 'sim' object storing the replicated quantities of interest
Matt Owen mowen@iq.harvard.edu