View source: R/Index_functions.R
disp | R Documentation |
disp
Calculate the dispersion estimate from a GLM model
disp
disp(mod = NA)
mod |
Name of a fitted model of various types from which Pearson residuals and a residual degrees of freedom can be extracted from the model object |
Other Model Evaluation:
Index.Grid()
,
Index.Summary()
X <- seq(1, 100) Y <- 100 + 0.2 * X + rnorm(1, mean = 0, sd = 5) mod <- glm(Y ~ X) disp(mod) # Dispersion parameter estimated using functio sigma(mod)^2 # Dispersion parameter estimated using the calculated sigma # paramter of the model object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.