Learn R Programming

spTimer (version 0.02)

spT.MCMC.stat: MCMC summary for the posterior samples

Description

This function is used to obtain the MCMC summary of the posterior samples.

Usage

spT.MCMC.stat(x, nBurn)

Arguments

x
The posterior MCMC samples obtained from spT.Gibbs.
nBurn
The number of burn-in.

See Also

spT.Gibbs, spT.MCMC.plot.

Examples

Run this code
##

# for GP models
spT.MCMC.stat(post.gp,nBurn=1000)

# for AR models
spT.MCMC.stat(post.ar,nBurn=1000)

# for GPP based models
spT.MCMC.stat(post.gpp,nBurn=1000)

##

Run the code above in your browser using DataLab