fast_distribution_check | R Documentation |
This check uses the fitted values and thus ignores the uncertainty on the predictions
fast_distribution_check(object, nsim = 1000) ## S4 method for signature 'inla' fast_distribution_check(object, nsim = 1000) ## S4 method for signature 'list' fast_distribution_check(object, nsim = 1000)
object |
the INLA model |
nsim |
the number of simulation |
Other checks:
dispersion_check()
,
distribution_check()
,
get_anomaly()
library(INLA) set.seed(20181202) model <- inla( poisson ~ 1, family = "poisson", data = data.frame( poisson = rpois(20, lambda = 10), base = 1 ), control.predictor = list(compute = TRUE) ) fast_distribution_check(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.