Displaying 1 result from an estimated 1 matches for "lm_ref_b".
Did you mean:
lm_ref_a
2013 Mar 13
1
multi-comparison of means
...64418 1.431 0.1647
methodb 0.32389 0.14025 2.309 0.0295 *
methodc -0.33316 0.19372 -1.720 0.0978 .
x1 0.57935 0.09356 6.192 1.78e-06 ***
x2 0.13596 0.11563 1.176 0.2507
#ref=b
dat$method <- relevel(dat$method, ref="b")
lm_ref_b<-lm(y~method + x1 + x2)
summary(lm_ref_b)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.24591 0.73770 1.689 0.1037
methoda -0.32389 0.14025 -2.309 0.0295 *
methodc -0.65705 0.13248 -4.960 4.14e-05 ***
In summary:
idea1:
a vs...