You noticed that the AIC increases while the p-value decreases as you
change the model and hold the data fixed. There would be more indication
of a problem if you instead noticed the same relationship between the
AIC and the p-value as you changed the data and held the model fixed.
David
On 22/08/2010 1:04 AM, Teresa Iglesias wrote:
Hi,
I am new to R and AIC scores but what I get from coxme seems wrong. The AIC
score increases as p-values decrease.
Since lower AIC scores mean better models and lower p-values mean stronger
effects or differences then shouldn't they change in the same direction? I
found this happens with the data set rats as well as my own data. Below is
the output for two models constructed with the rats data set.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.