Description Usage Arguments Details Value Author(s) References See Also Examples
Bayesian leave-one-out cross-validation based on the log pointwise predictive density
1 |
mod |
an object obtained by the functions lm or glm |
nsim |
number of Monte Carlo simulations used to describe the posterior distributions. Computing time is large! |
bias.corr |
The leave-one-out cross-validation underestimates predictive fit because each prediction is conditioned n-1 data points. For large n this bias is negligible. For small n, a bias correction is recommended. |
For details see Gelman et al. (2014) p 175
LOO.CV |
leave-one-out cross-validation estimate of out-of-sample predictive fit, (log pointwise predictive density) |
bias.corrected.LOO.CV |
bias corrected leave-one-out cross-validation estimate of out-of-sample predictive fit, (log pointwise predictive density) |
minus2times_lppd |
-2*LOO.CV, transformed LOO.CV to scale of deviance |
est.peff |
estimate for the number of effective parameters |
F. Korner
Gelman A, Carlin JB, Stern HS, Dunson DB, Vehtari A and Rubin DB (2014) Bayesian Data Analysis, Third edn. CRC Press.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.