On 07-Oct-08 17:46:52, Hsiao-nan Cheung wrote:
> Hi,
> I have a question to ask. if in a linear regression model, the
> independent variables are not statistically significant, is it
> necessary to test these variables in a non-linear model?
> Since most of non-linear form of a variable can be repr
Well here is one example where x is not significant in a linear regression:
> x <- seq( -1,1, 0.1 )
> y <- x^2 + rnorm(21,0,.1)
> summary(lm(y~x))
Would you really want to dismiss any relationship (non-linear) between x and y
based on the above p-value?
--
Gregory (Greg) L. Snow Ph.D.
Statistic
2 matches
Mail list logo