Displaying 1 result from an estimated 1 matches for "vecty1".
Did you mean:
vecty
2011 Sep 15
1
p-value for non linear model
Hello,
I want to understand how to tell if a model is significant.
For example I have vectX1 and vectY1.
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...