Learn R Programming

psc (version 2.0.0)

pscEst_run: Running the Bayesian MCMC routine A procedure which runs the MCMC estimation routine

Description

Running the Bayesian MCMC routine A procedure which runs the MCMC estimation routine

Usage

pscEst_run(pscOb, nsim, nchain)

Value

An updated set of attributes for the pscOb which includes

Arguments

pscOb

an pscOb object which has been passed through pscData() and init() functions

nsim

the number of MCMC simulations to run

nchain

Number of chains to use for analysis

Examples

Run this code
e4_data <- psc::e4_data
gemCFM <- psc::gemCFM
pscOb <- pscData(gemCFM,e4_data)
pscOb <- init(pscOb)
pscOb <- pscEst_start(pscOb,nsim=1000,nchain=2)
pscOb <- pscEst_run(pscOb,nsim=1000,nchain=2)

Run the code above in your browser using DataLab