x<-c(1,2,3) y<-x^1.1+x summary(lm(y~x+I(x^1.1)))
I have this code in R but it just is for the sake of easier understanding of what I am trying to achieve. If you execute the code, it will show the correct estimates, but it won't show p-values (shows NA
) for each estimate, thus I am unable to test the significance. How can this be explained in a mathematical way?
P.S. if I add one more value to each of the vectors, p-value appears again. However, if I add another variable, let's say
summary(lm(y~x+I(x^1.1)+I(x^1.2)))
again p-values are all NA
s