Description Usage Arguments Author(s)
FitConv
- runs a Jags model, or list of models,
and checks for convergence using gelman stats. It then
returns a list of MCMC samples, a jags model and DIC values.
1 2 3 |
JAGSdata |
A pre-prepared jags data object |
modellist |
A vector containing the location and names of the jags model files. These files should be read in R, as a modelstring. These files must also generate a vector of model parameter names to be returned (in a object called interestlist) |
gelmanthr |
Gelman threshold values to except fit |
StepIt |
what is the standard number of MCMC samples to take before checking for convergence? |
MaxIt |
What is the maximum number of MCMC samples |
FinalSampleLength |
How many posterior sample do you need when the model is returned? |
hlist |
Use this when you have a list of higher parameters that should converge first before convergence of lower parameters (in interestlist) should be checked. |
... |
additional parameters to be passed to |
Marco D. Visser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.