View source: R/model_selection.R
DIC | R Documentation |
SIMP()
DIC calculation for the output of SIMP()
DIC(SIMP.fit, Y, X1C, X1D, X2, dx, dy, combined = T, Chain.no = 1)
SIMP.fit |
The output of |
Y |
Response matrix. Must have the same number of rows as |
X1C |
Design matrix of the continuous part of the predictors of interest.
Must have the same number of rows as |
X1D |
Design matrix of the discrete part of the predictors of interest.
Must have the same number of rows as |
X2 |
Design matrix of the nuisance predictors. Must have the same number of rows as |
dx |
Partial predictor envelope dimension. Must be an integer between 0 and |
dy |
Partial response envelope dimension. Must be an integer between 0 and |
combined |
Logical. Indicate whether posterior samples (after burn-in) from all chains should be combined to calculate DIC. If there is only one chain, then there is no difference by indicating this parameter to be TRUE or FALSE. |
Chain.no |
If combined = FALSE, we need to indicate which chain should be used for the calculation of DIC. Chain.no must be an integer between 1 and the number of chains. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.