Re: [R] negative AIC and BIC values in gls

2012-08-23 Thread David Winsemius
On Aug 23, 2012, at 12:02 AM, Ingmar Visser wrote: > > It's fine. Just interpret them as you would any other (lower is > better). > > > And it is the printed logLik that is out of step here. log- > likelihoods _should_ be negative. > > That is not quite the case; in models with small variances

Re: [R] negative AIC and BIC values in gls

2012-08-23 Thread Bert Gunter
O course! And for the same reason, my stupid comment should be ignored. -- Bert On Thu, Aug 23, 2012 at 12:02 AM, Ingmar Visser wrote: >> It's fine. Just interpret them as you would any other (lower is better). >>> >>> >> And it is the printed logLik that is out of step here. log-likelihoods >>

Re: [R] negative AIC and BIC values in gls

2012-08-23 Thread Ingmar Visser
> It's fine. Just interpret them as you would any other (lower is better). >> >> > And it is the printed logLik that is out of step here. log-likelihoods > _should_ be negative. > That is not quite the case; in models with small variances log-likelihoods can easily become positive, consider eg: >

Re: [R] negative AIC and BIC values in gls

2012-08-22 Thread Bert Gunter
Inline. On Wed, Aug 22, 2012 at 5:17 PM, Jeremy Miles wrote: > It's fine. Just interpret them as you would any other (lower is better). > I don't think so. I believe all 3 values are the negative of what they should be. AIC is defined as -2*log(L) + k*{degrees of freedom for model) . BIC is sim

Re: [R] negative AIC and BIC values in gls

2012-08-22 Thread David Winsemius
On Aug 22, 2012, at 5:17 PM, Jeremy Miles wrote: It's fine. Just interpret them as you would any other (lower is better). And it is the printed logLik that is out of step here. log-likelihoods _should_ be negative. -- David. On 22 August 2012 16:43, Gary Dong wrote: Dear R users,

Re: [R] negative AIC and BIC values in gls

2012-08-22 Thread Jeremy Miles
It's fine. Just interpret them as you would any other (lower is better). On 22 August 2012 16:43, Gary Dong wrote: > Dear R users, > > I obtained negative AIC and BIC and positive Loglik values in a gls model. > Is this normal? how should I interpret them? Thanks! > >AIC BIC

[R] negative AIC and BIC values in gls

2012-08-22 Thread Gary Dong
Dear R users, I obtained negative AIC and BIC and positive Loglik values in a gls model. Is this normal? how should I interpret them? Thanks! AIC BIC logLik -659.978 -587.5541 345.989 Best Gary [[alternative HTML version deleted]] ___

Re: [R] Negative AIC

2009-09-10 Thread Corrado
I think the problem is trying to compare different models trained don the same dataset. 1) If I compare for example gam (from gam package) with and without intercept, is that a valid comparison? For example: model with intercept has explained dev 24%, with AIC -2217146, model without intercept

Re: [R] Negative AIC

2009-09-10 Thread John C Frain
Enders (2004), Applied Econometric time series, Wiley, Exercise 10, page 102, sets out some of the variations of the AIC and SBC and contains a good definition. As these are all monotonic transformations of one another they lead to the same maximum (minimum). I say maximum/minimum because I have

Re: [R] Negative AIC

2009-09-10 Thread Murilo Doi
Hi, yes the AIC can be negative. To choose the model we use the criteria of lower AIC (-230.2E+4). Murilo Doi Corrado-5 wrote: > > Dear R list, > > I just obtained a negative AIC for two models (-221.7E+4 > and -230.2E+4). Is that normal? > > Regards > -- > Corrado Topi > > Global Climat

Re: [R] Negative AIC

2009-09-10 Thread Ben Bolker
If all the models are fitted to the same data set, using the same modeling tools (you have to be careful e.g. comparing lmer models to glm models, because they use different additive constants), and everything seems to make sense (!!!), then yes. I would be a little surprised, and think that som

Re: [R] Negative AIC

2009-09-10 Thread Corrado
My worry is: can I compare negative AIC with positive AIC? does the comparison still hold? On Thursday 10 September 2009 15:57:01 Ben Bolker wrote: > Corrado-5 wrote: > > Dear R list, > > > > I just obtained a negative AIC for two models (-221.7E+4 > > and -230.2E+4). Is that normal? > > It's no

Re: [R] Negative AIC

2009-09-10 Thread Ben Bolker
Corrado-5 wrote: > > Dear R list, > > I just obtained a negative AIC for two models (-221.7E+4 > and -230.2E+4). Is that normal? > > It's not necessarily wrong. See -- View this message in context: http://www.nabble.com/Negative-AIC-tp25383791p25384865

[R] Negative AIC

2009-09-10 Thread Corrado
Dear R list, I just obtained a negative AIC for two models (-221.7E+4 and -230.2E+4). Is that normal? Regards -- Corrado Topi Global Climate Change & Biodiversity Indicators Area 18,Department of Biology University of York, York, YO10 5YW, UK Phone: + 44 (0) 1904 328645, E-mail: ct...@york.ac.