Learn R Programming

cudaBayesreg (version 0.3-16)

post.simul.hist: Histogram of the posterior distribution of a regression coefficient

Description

Postprocessing of MCMC simulation. Histogram of the posterior distribution of regression coefficient beta[vreg].

Usage

post.simul.hist(out,vreg = 2)

Arguments

out
list of output objects of MCMC simulation
vreg
regression variable to map; default vreg=2

Details

Post-process analysis

See Also

cudaMultireg.slice, regpostsim, post.ppm, post.tseries

Examples

Run this code
## Not run: 
# ## load MCMC simulation 
# fsave <- paste(tempdir(),"/simultest1",fileext = ".sav", sep="")
# load(fsave)
# post.simul.hist(out=out, vreg=2)
# post.simul.hist(out=out, vreg=4)
# ## End(Not run)

Run the code above in your browser using DataLab