| dispersion_check | R Documentation | 
Use simulations to check for overdispersion or underdispersion
dispersion_check(object, nsim = 1000)
## S4 method for signature 'inla'
dispersion_check(object, nsim = 1000)
| object | the INLA model | 
| nsim | the number of simulation | 
Other checks: 
distribution_check(),
fast_aggregation_check(),
fast_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)
)
dc <- dispersion_check(model)
str(dc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.