diff options
Diffstat (limited to 'man/AIC.mmkin.Rd')
-rw-r--r-- | man/AIC.mmkin.Rd | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/man/AIC.mmkin.Rd b/man/AIC.mmkin.Rd index a49b69b8..a10d0aeb 100644 --- a/man/AIC.mmkin.Rd +++ b/man/AIC.mmkin.Rd @@ -31,15 +31,21 @@ same dataset. f <- mmkin(c("SFO", "FOMC", "DFOP"), list("FOCUS A" = FOCUS_2006_A, "FOCUS C" = FOCUS_2006_C), cores = 1, quiet = TRUE) - AIC(f[1, "FOCUS A"]) # We get a single number for a single fit + # We get a warning because the FOMC model does not converge for the + # FOCUS A dataset, as it is well described by SFO + + AIC(f["SFO", "FOCUS A"]) # We get a single number for a single fit + AIC(f[["SFO", "FOCUS A"]]) # or when extracting an mkinfit object # For FOCUS A, the models fit almost equally well, so the higher the number # of parameters, the higher (worse) the AIC AIC(f[, "FOCUS A"]) AIC(f[, "FOCUS A"], k = 0) # If we do not penalize additional parameters, we get nearly the same + BIC(f[, "FOCUS A"]) # Comparing the BIC gives a very similar picture # For FOCUS C, the more complex models fit better AIC(f[, "FOCUS C"]) + BIC(f[, "FOCUS C"]) } } |