You mean non-linearity?
You can use a lack of fit test by using:
anova(lm(y ~ x+factor(x), data))
The F-value of factor(x) is the lack of fit test, and when lineair, the p
value should be <0.05 when using 0.95% significance.
Bart
Wensui Liu wrote:
>
> in statistics, is there a measure for curv
in statistics, is there a measure for curvature? how to detect and
quantify the curvature between 2 variales instead of using
visualization?
thank you so much!
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do re
2 matches
Mail list logo