Description Usage Arguments Details Value Examples
Extract Akaike's An Information Criteria from a General Linear, Quadratic, or Conjunctive Classifier, or a General Random Guessing model
1 2 3 4 5 6 7 8 9 10 11 | ## S3 method for class 'glc'
extractAIC(fit, scale, k = 2, ...)
## S3 method for class 'gqc'
extractAIC(fit, scale, k = 2, ...)
## S3 method for class 'gcjc'
extractAIC(fit, scale, k = 2, ...)
## S3 method for class 'grg'
extractAIC(fit, scale, k = 2, ...)
|
fit |
object of class |
scale |
unused argument |
k |
numeric specifying the penalty per parameter to be used in calculating AIC. Default to 2. |
... |
further arguments (currently not used). |
As with the default method, the criterion used is
AIC = - 2*log L + k * df,
where L is the likelihood and df is the degrees
of freedom (i.e., the number of free parameters) of fit
.
A numeric vector of length 2 including:
df |
the degrees of freedom for the fitted model |
AIC |
the Akaike's Information Criterion for |
1 2 3 4 5 | data(subjdemo_2d)
#fit a 2d suboptimal model
fit.2dl <- glc(response ~ x + y, data=subjdemo_2d,
category=subjdemo_2d$category, zlimit=7)
extractAIC(fit.2dl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.