[R] AIC, AICc, and K

Benjamin M. Osborne Benjamin.Osborne at uvm.edu
Sun Dec 5 00:41:13 CET 2004


How can I extract K (number of parameters) from an AIC calculation, both to
report K itself and to calculate AICc?  I'm aware of the conversion from AIC ->
AICc, where AICc = AIC + 2K(K+1)/(n-K-1), but not sure of how K is calculated
or how to extract that value from either an AIC or logLik calculation.

This is probably more of a basic statistics question than an R question, but I
thank you for your help.

-Ben Osborne

--
Botany Department
University of Vermont
109 Carrigan Drive
Burlington, VT 05405

benjamin.osborne at uvm.edu
phone: 802-656-0297
fax: 802-656-0440




More information about the R-help mailing list