Skip to content
Prev 43225 / 63424 Next

The constant part of the log-likelihood in StructTS

Comparing such disparate, non-nested models can be quite problematic.  I am not sure what AIC/BIC comparisons mean in such cases.  The issue of different constants should be the least of your worries.

Ravi

-----Original Message-----
From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-project.org] On Behalf Of Jouni Helske
Sent: Tuesday, May 01, 2012 2:17 PM
To: r-devel at r-project.org
Subject: Re: [Rd] The constant part of the log-likelihood in StructTS

Ok, it seems that R's AIC and BIC functions warn about different constants, so that's probably enough. The constants are not irrelevant though, if you compute the log-likelihood of one model using StructTS, and then fit alternative model using other functions such as arima(), which do take account the constant term, and use those loglikelihoods for computing for example BIC, you get wrong results when checking which model gives lower BIC value. Hadn't though about it before, have to be more careful in future when checking results from different packages etc.

Jouni
On Tue, May 1, 2012 at 4:51 PM, Ravi Varadhan <rvaradhan at jhmi.edu> wrote: