Displaying 1 result from an estimated 1 matches for "flev1".
Did you mean:
elev1
2007 Aug 07
2
Interaction factor and numeric variable versus separate regressions
...h interaction
summary(lm(y~x:f, data=d))
Call:
lm(formula = y ~ x:f, data = d)
Residuals:
Min 1Q Median 3Q Max
-2.8109 -0.8302 0.2542 0.6737 3.5383
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 3.68799 0.41045 8.985 1.91e-12 ***
x:flev1 0.20885 0.04145 5.039 5.21e-06 ***
x:flev2 1.49670 0.04145 36.109 < 2e-16 ***
x:flev3 6.70815 0.04145 161.838 < 2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 1.53 on...