Displaying 1 result from an estimated 1 matches for "idea3".
Did you mean:
idea
2013 Mar 13
1
multi-comparison of means
...78386
#idea2
library(multcomp)
summary(glht(result_aov,linfct=mcp(method="Tukey")))
Estimate Std. Error t value Pr(>|t|)
b - a == 0 0.3239 0.1402 2.309 0.0683 .
c - a == 0 -0.3332 0.1937 -1.720 0.2069
c - b == 0 -0.6570 0.1325 -4.960 <0.001 ***
#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...