MCMChook: Hook to Clean-up MCMC Objects

Description Usage Arguments Value Note Author(s)

Description

This method gives valid methods to the resulting MCMC object so that it can be used with Zelig.

Usage

1
  MCMChook(obj, model.call, zelig.call, seed = NULL, ..., data = NULL)

Arguments

obj

the fitted model object (in this case a mcmc object.

model.call

the call made to the external model

zelig.call

the actual call to zelig itself

seed

a seed for the MCMC algorithm

...

ignored parameters

data

the data.frame being used to fit the statistical model

Value

an object useable by Zelig

Note

This function is used internally by the ZeligBayesian package.

Author(s)

Olivia Lau, Kosuke Imai, Gary King and Matt Owen


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.