sim.booltest {boolean}R Documentation

'booltest' Method for Parameter Simulation Via 'zelig'

Description

These functions provide an interface to the sim function in the Zelig library. They should not be called directly by the user.

Usage

## S3 method for class 'booltest'
## S3 method for class 'booltest':
sim(object, x, x1=NULL, num=c(1000, 100),
             prev = NULL, bootstrap = FALSE, bootfn=NULL, cond.data = NULL, ...)

Arguments

object An object of class 'booltest'estimated by Zelig.
x An object produced by setx.
x1 An optional, additional object produced by setx.
num The number of simulations of the parameters.
prev An optional matrix of parameter simulations supplied by the user.
bootstrap Should be FALSE because bootstrapping is supported directly in the call to Zelig for boolean models. See also boolean.
bootfn Should be NULL because bootstrapping is supported directly in the call to Zelig for boolean models. See also boolean.
cond.data Should be NULL.
... Should not be needed for a boolean model.

Value

The param and qi methods are used internally by sim, which in turn produces quantities of interest. See sim for details; the output is the same as for a probit or logit model estimated via zelig.

Author(s)

Bear F. Braumoeller, Harvard University, braumoeller.1@polisci.osu.edu, and
Ben Goodrich, Harvard University, goodrich@fas.harvard.edu


[Package boolean version 2.0-2 Index]