Displaying 1 result from an estimated 1 matches for "methodc".
Did you mean:
method
2013 Mar 13
1
multi-comparison of means
...#idea3
#ref=a
dat$method <- relevel(dat$method, ref="a")
lm_ref_a<-lm(y~method + x1 + x2)
summary(lm_ref_a)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.92202 0.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:
Esti...