extractAIC.BranchGLM {BranchGLM} | R Documentation |
Extract AIC from BranchGLM Objects
Description
Computes the (generalized) Akaike An Information Criterion for BranchGLM objects.
Usage
## S3 method for class 'BranchGLM'
extractAIC(fit, scale, k = 2, ...)
Arguments
fit |
a |
scale |
ignored. |
k |
a non-negative number specifying the ‘weight’ of the equivalent degrees of freedom (= edf) part in the AIC formula. |
... |
further arguments passed to or from other methods. |
Value
A numeric vector of length 2, with first and second elements giving
edf |
the ‘equivalent degrees of freedom’ for |
AIC |
the (generalized) Akaike Information Criterion for |
Examples
Data <- iris
Fit <- BranchGLM(Sepal.Length ~ ., data = Data, family = "gaussian", link = "identity")
extractAIC(Fit)
[Package BranchGLM version 3.0.1 Index]