search for: aic2

Displaying 4 results from an estimated 4 matches for "aic2".

Did you mean: aic
2011 Sep 15
1
p-value for non linear model
...ectY1. I seek first what model is best suited for my vectors and then I want to know if my result is significant. I'am doing like this: model1 <- lm(vectY1 ~ vectX1, data= d), model2 <- nls(vectY1 ~ a*(1-exp(-vectX1/b)) + c, data= d, start = list(a=1, b=3, c=0)) aic1 <- AIC(model1) aic2 <- AIC(model2) if (aic1 < aic2) print("Model1 is better") else print("Model2 is better") for example aic1 < aic2 I'am doing summary(model1) and I have p-value to know if my result is significant. but if aic2 < aic1, so model 2, non linear is better. I'am...
2007 Dec 18
1
How can I extract the AIC score from a mixed model object produced using lmer?
...kly summarize and rank the models by AIC. When I do logistic regression, I can easily generate this kind of list by creating the model objects using glm, and doing: > md <- c("md1.lr", "md2.lr", "md3.lr") > aic <- c(md1.lr$aic, md2.lr$aic, md3.lr$aic) > aic2 <- cbind(md, aic) but when I try to extract the AIC score from the model object produced by lmer I get: > md1.lme$aic NULL Warning message: In md1.lme$aic : $ operator not defined for this S4 class, returning NULL So... How do I query the AIC value out of a mixed model object created by lm...
2007 Aug 03
3
question about logistic models (AIC)
Een ingesloten tekst met niet-gespecificeerde tekenset is van het bericht gescrubt ... Naam: niet beschikbaar Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070803/79b6292b/attachment.pl
2009 Apr 29
12
Una pregunta de estadística (marginalmente relacionada con R)
Hola, ¿qué tal? Tengo una pregunta de esta