Hi Folks,
At last week’s meeting Jereme brought up the fact that AIC was not appropriate for mixed models, and BIC was more appropriate. I hadn’t heard this before so I did a little digging around and found some articles that compare the two methods (attached), so I thought I’d share them. There are definitely philosophical differences between them, though BIC can be used on frequentist models and AIC can be used on Bayesian models.
I don’t have a strong foundation in statistical theory, so I definitely don’t understand all the nuances, but in my experience I’ve never seen a big difference between the results of AIC and BIC for any of the models I have run. That is, the two numbers are usually only slightly different, and I’ve never had BIC support a different model from the AIC value. Does anyone have a good example of a type of model with very different AIC versus BIC results?
I also found a few articles about using ‘conditional AIC’ for mixed models:
https://www.sciencedirect.com/science/article/pii/S0047259X14000736
Thanks!
Rosie
PS: My slides and code from the mixed model presentation are available here: https://interagencyecologicalprogram.github.io/DataScience/agendas
I hadn’t heard of that distinction before, although I know there are various corrections to AIC that can be used. I know that the mgcv R package that is used to fit generalized additive models (which can be thought of as a type of mixed effect model) uses AIC to compare models, although they apply a correction to the AIC formula (See ?AIC.gam if you have mgcv loaded). When I first started using mgcv, I was using BIC because I had learned it was a better metric for model comparison, until I read more and understood that the mgcv package had created their variation on AIC to be used with GAMS, which (as I recall) was better than applying a standard BIC formula. It’s likely that other packages for mixed models also have variations on AIC that may be improved over vanilla AIC.
From: bay-delta-...@googlegroups.com <bay-delta-...@googlegroups.com>
On Behalf Of Hartman, Rosemary@DWR
Sent: Monday, August 14, 2023 12:02 PM
To: Bay-Delta Data Science Fun <bay-delta-...@googlegroups.com>
Subject: [bay-delta-datascience] AIC and BIC
EXTERNAL:
--
https://interagencyecologicalprogram.github.io/DataScience/
---
You received this message because you are subscribed to the Google Groups "Bay-Delta Data Science Project Work Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
bay-delta-datasc...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bay-delta-datascience/SJ0PR09MB6864EE57224F25E215216F31BC17A%40SJ0PR09MB6864.namprd09.prod.outlook.com.
![]() |
Jereme W. Gaeta, PhD
Environmental Program Manager – Managerial
CA Department of Fish and Wildlife – Water Branch 1010 Riverside Pkwy West Sacramento, CA 95605 Mobile: 209-403-6935
|
From now on, all papers I write will include the term ‘vanilla AIC’