Description Usage Arguments Value Author(s) References Examples
View source: R/overdispersionCheck.R
A large sample of Normal-distributed data with more than 10% of the observations further than 1.5 times the IQR from the median shows signs of overdispersion, as recommended in Gelman et al., 2014.
1 |
x |
an input vector of reals without missing values |
The function prints the approximate percentage of observations that are further from the median than would be expected in a normal distribution.
Robert van Hulst
Gelman, A., Carlin, J.B., Stern, H.S., Dunson, D.B., Vehtari, A., and Rubin, D.B. 2014. Bayesian Data Analysis. Third Ed.. CRC Press
1 | overdispersionCheck(rt(100, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.