update.bab {exactLoglinTest}R Documentation

Update method for objects of class bab

Description

An update method for objects created by mcexact when method = 'bab'.

Usage

## S3 method for class 'bab':
update(object, ...)
bab(args, nosim = NULL, maxiter = NULL, savechain = FALSE)

Arguments

object Output from mcexact
... Alternative arguments for the update
args Output from mcexact
nosim The desired number of simulations to be performed in the update
maxiter The maximum number of iterations allowed.
savechain Saves the chain of goodness-of-fit statistics and their importance weights

Details

The method update.bab calls the function bab, which is the engine for mcexact when method = 'bab'.

Value

A list of the form outputted from mcexact

Author(s)

Brian S. Caffo

See Also

mcexact

Examples

data(residence.dat)
mcx <- mcexact(y ~ res.1985 + res.1980 + factor(sym.pair), data = residence.dat) 
summary(mcx)
mcx <- update(mcx, nosim = 10 ^ 4, maxiter = 10 ^ 6)
summary(mcx)

[Package exactLoglinTest version 1.3.6 Index]