View source: R/FormatCompareAIC.R
FormatCompareAIC | R Documentation |
Format data to be used with compare_AIC(), compare_AICc() and compare_BIC().
Note that logLik is supposed to not be -logLik.
FormatCompareAIC(logLik, nobs, df)
logLik |
The log likelihood |
nobs |
Number of observations |
df |
Number of parameters |
FormatCompareAIC formats data to be used with compare_AIC()
An object to be used with compare_AIC()
Marc Girondot marc.girondot@gmail.com
Other AIC:
ExtractAIC.glm()
,
compare_AIC()
,
compare_AICc()
,
compare_BIC()
## Not run:
ED <- FormatCompareAIC(logLik=-140, nobs=100, df=3)
L <- FormatCompareAIC(logLik=-145, nobs=100, df=4)
compare_AIC(L=L, ED=ED)
compare_AICc(L=L, ED=ED)
compare_BIC(L=L, ED=ED)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.