c:ms:2017:schedule:week07
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
c:ms:2017:schedule:week07 [2017/04/14 09:46] – hkimscil | c:ms:2017:schedule:week07 [2017/04/14 12:04] (current) – hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Read [[:ANOVA]] for the logics of ANOVA | + | ====== |
+ | Read [[:ANOVA]] for the logics of ANOVA | ||
+ | also read: [[: | ||
+ | {{: | ||
Eysenck는 (1974) 단어자료를 기억하는 정도는 단어를 외울 때 사용한 처리방법에 따라서 다르게 나타날 것이라고 예측 (p. 426) 55-65세 50명을 다섯 그룹에 무작위배치(random assignment) | Eysenck는 (1974) 단어자료를 기억하는 정도는 단어를 외울 때 사용한 처리방법에 따라서 다르게 나타날 것이라고 예측 (p. 426) 55-65세 50명을 다섯 그룹에 무작위배치(random assignment) | ||
- 의도학습 | - 의도학습 | ||
Line 166: | Line 169: | ||
Signif. codes: | Signif. codes: | ||
> | > | ||
+ | > TukeyHSD(a.out) | ||
+ | Tukey multiple comparisons of means | ||
+ | 95% family-wise confidence level | ||
+ | |||
+ | Fit: aov(formula = RECALL ~ GROUP, data = a.data) | ||
+ | |||
+ | $GROUP | ||
+ | diff | ||
+ | 2-1 -0.1 -4.05223799 | ||
+ | 3-1 4.0 0.04776201 | ||
+ | 4-1 6.4 2.44776201 10.352238 0.0003180 | ||
+ | 5-1 5.0 1.04776201 | ||
+ | 3-2 4.1 0.14776201 | ||
+ | 4-2 6.5 2.54776201 10.452238 0.0002524 | ||
+ | 5-2 5.1 1.14776201 | ||
+ | 4-3 2.4 -1.55223799 | ||
+ | 5-3 1.0 -2.95223799 | ||
+ | 5-4 -1.4 -5.35223799 | ||
</ | </ | ||
+ | ====== eg. p.473 ====== | ||
+ | < | ||
+ | > ds <- c(48, 29, 34, 6, 18, 63, 9, 54, 28, 71, 60, 54, 51, 25, 49) | ||
+ | > as <- c(34, 65, 55, 33, 42, 54, 21, 44, 61, 38, 75, 61, 51, 32, 47) | ||
+ | > | ||
+ | > smoke <- data.frame(ns, | ||
+ | > smoke | ||
+ | ns ds as | ||
+ | 1 27 48 34 | ||
+ | 2 34 29 65 | ||
+ | 3 19 34 55 | ||
+ | 4 20 6 33 | ||
+ | 5 56 18 42 | ||
+ | 6 35 63 54 | ||
+ | 7 23 9 21 | ||
+ | 8 37 54 44 | ||
+ | 9 4 28 61 | ||
+ | 10 30 71 38 | ||
+ | 11 4 60 75 | ||
+ | 12 42 54 61 | ||
+ | 13 34 51 51 | ||
+ | 14 19 25 32 | ||
+ | 15 49 49 47 | ||
+ | > smoke.st <- stack(smoke) | ||
+ | > smoke.st | ||
+ | | ||
+ | 1 27 ns | ||
+ | 2 34 ns | ||
+ | 3 19 ns | ||
+ | 4 20 ns | ||
+ | 5 56 ns | ||
+ | 6 35 ns | ||
+ | 7 23 ns | ||
+ | 8 37 ns | ||
+ | 9 | ||
+ | 10 | ||
+ | 11 4 ns | ||
+ | 12 | ||
+ | 13 | ||
+ | 14 | ||
+ | 15 | ||
+ | 16 | ||
+ | 17 | ||
+ | 18 | ||
+ | 19 6 ds | ||
+ | 20 | ||
+ | 21 | ||
+ | 22 9 ds | ||
+ | 23 | ||
+ | 24 | ||
+ | 25 | ||
+ | 26 | ||
+ | 27 | ||
+ | 28 | ||
+ | 29 | ||
+ | 30 | ||
+ | 31 | ||
+ | 32 | ||
+ | 33 | ||
+ | 34 | ||
+ | 35 | ||
+ | 36 | ||
+ | 37 | ||
+ | 38 | ||
+ | 39 | ||
+ | 40 | ||
+ | 41 | ||
+ | 42 | ||
+ | 43 | ||
+ | 44 | ||
+ | 45 | ||
+ | > smoke.mod <- aov(values~ind, | ||
+ | > smoke.mod | ||
+ | Call: | ||
+ | | ||
+ | |||
+ | Terms: | ||
+ | ind Residuals | ||
+ | Sum of Squares | ||
+ | Deg. of Freedom | ||
+ | |||
+ | Residual standard error: 16.69074 | ||
+ | Estimated effects may be unbalanced | ||
+ | > summary(smoke.mod) | ||
+ | Df Sum Sq Mean Sq F value Pr(> | ||
+ | ind 2 | ||
+ | Residuals | ||
+ | --- | ||
+ | Signif. codes: | ||
+ | > TukeyHSD(smoke.mod) | ||
+ | Tukey multiple comparisons of means | ||
+ | 95% family-wise confidence level | ||
+ | |||
+ | Fit: aov(formula = values ~ ind, data = smoke.st) | ||
+ | |||
+ | $ind | ||
+ | | ||
+ | ds-as -7.60000 -22.40679 | ||
+ | ns-as -18.66667 -33.47345 -3.859878 0.0104480 | ||
+ | ns-ds -11.06667 -25.87345 | ||
+ | |||
+ | > </ | ||
c/ms/2017/schedule/week07.1492132577.txt.gz · Last modified: 2017/04/14 09:46 by hkimscil