Re: [R] AIC consistency with S-PLUS

2007-05-31 Thread Alice Shelly
, although i guess i am still wondering why my function in S-PLUS is not correct. Thanks so much for your response. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Thursday, May 31, 2007 5:56 PM Subject: RE: [R] AIC consistency with S-PLUS I think

Re: [R] AIC consistency with S-PLUS

2007-05-31 Thread Bill.Venables
hz.ch Subject: [R] AIC consistency with S-PLUS Hello- I understand that log-likelihoods are bound to differ by constants, but if i estimate AIC for a set of simple nested linear models using the following 4 methods, shouldn't at least two of them produce the same ordering of models? in R: extr

[R] AIC consistency with S-PLUS

2007-05-31 Thread Alice Shelly
Hello- I understand that log-likelihoods are bound to differ by constants, but if i estimate AIC for a set of simple nested linear models using the following 4 methods, shouldn't at least two of them produce the same ordering of models? in R: extractAIC AIC in S-PLUS: AIC n*log(deviance(mymodel