c:ms:2023:w07_anova_note
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
c:ms:2023:w07_anova_note [2023/04/18 22:36] – [post hoc test: output] hkimscil | c:ms:2023:w07_anova_note [2023/06/04 21:38] (current) – [Post hoc test] hkimscil | ||
---|---|---|---|
Line 434: | Line 434: | ||
d.bc | d.bc | ||
- | # se | + | # mse (ms within) |
- | # from the a.res.sum output | + | # a.res.sum == summary(aov(values ~ group, data=comb3)) |
a.res.sum | a.res.sum | ||
# mse = 50 | # mse = 50 | ||
mse <- 50 | mse <- 50 | ||
+ | # 혹은 fansy way from comb3 data.frame | ||
+ | # 15 는 각 그룹의 df | ||
+ | sse.ch <- sum(tapply(comb3$values, | ||
+ | sse.ch | ||
+ | mse.ch <- sse.ch/45 | ||
+ | mse.ch | ||
se <- sqrt(mse/ | se <- sqrt(mse/ | ||
Line 470: | Line 476: | ||
< | < | ||
plot(TukeyHSD(a.res, | plot(TukeyHSD(a.res, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | pairwise.t.test(comb3$values, | ||
</ | </ | ||
===== post hoc test: output ===== | ===== post hoc test: output ===== |
c/ms/2023/w07_anova_note.1681824970.txt.gz · Last modified: 2023/04/18 22:36 by hkimscil