You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (is.null(usedmc))
{
if (is.null(burn))
burn<- floor(no_mcspl*0.1)
if (is.null(thin))
thin<-1usedmc<- seq(burn+1, no_mcspl, by=thin)
}
If burn == 0 for some reason, then the initial value will be used for prediction (recall that the length of the MCMC sample array is n.iter + 1, where the first entry stores the initial state). So the correct default usedmc should be seq(burn + 2, no_mcspl, by = thin), although it has very little impact on the results.
The text was updated successfully, but these errors were encountered:
At predict.R line 41 - 48:
If
burn == 0
for some reason, then the initial value will be used for prediction (recall that the length of the MCMC sample array isn.iter + 1
, where the first entry stores the initial state). So the correct defaultusedmc
should beseq(burn + 2, no_mcspl, by = thin)
, although it has very little impact on the results.The text was updated successfully, but these errors were encountered: