[R] Statistically significant in linear and non-linear model
Greg.Snow at imail.org
Tue Oct 7 20:01:49 CEST 2008
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)
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.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Hsiao-nan Cheung
> Sent: Tuesday, October 07, 2008 11:47 AM
> To: R-help
> Subject: [R] Statistically significant in linear and non-linear model
> I have a question to ask. if in a linear regression model, the
> variables are not statistically significant, is it necessary to test
> variables in a non-linear model? Since most of non-linear form of a
> can be represented to a linear combination using Taylor's theorem, so I
> wonder whether the non-linear form is also not statistically
> significant in
> such a situation.
> Best Regards
> Hsiao-nan Cheung
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help