anova
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
anova [2020/05/20 15:36] – [Example] hkimscil | anova [2020/05/20 15:43] – [Example 2] hkimscil | ||
---|---|---|---|
Line 518: | Line 518: | ||
====== Example ====== | ====== Example ====== | ||
- | 가설. 단어맞히기 게임에서 첫글자를 힌트로 주거나, 마지막 글자를 힌트로 주거나, 힌트를 주지 않은 세 그룹 간에 단어맞히기 점수에 차이가 있을 것이다. | + | 가설. 단어맞히기 게임에서 첫글자를 힌트로 주거나, 마지막 글자를 힌트로 주거나, 힌트를 주지 않은 세 그룹 간에 |
| |First Letter \\ Condition 1 \\ X< | | |First Letter \\ Condition 1 \\ X< | ||
| | 15 | 21 | 28 | | | | 15 | 21 | 28 | | ||
Line 579: | Line 580: | ||
F< | F< | ||
====== Example 2 ====== | ====== Example 2 ====== | ||
- | < | + | < |
+ | x1 <- c(15, 20, 14, 13, 18, 16, 13, 12, 18, 41) | ||
x2 <- c(21, 25, 29, 18, 26, 22, 26, 24, 28, 21) | x2 <- c(21, 25, 29, 18, 26, 22, 26, 24, 28, 21) | ||
x3 <- c(28, 30, 32, 28, 26, 30, 25, 36, 20, 15) | x3 <- c(28, 30, 32, 28, 26, 30, 25, 36, 20, 15) | ||
</ | </ | ||
- | < | + | < |
x1 x2 x3 | x1 x2 x3 | ||
1 15 21 28 | 1 15 21 28 | ||
Line 633: | Line 635: | ||
< | < | ||
- | > colnames(xs[1]) <- " | + | > colnames(xs) |
- | > colnames(xs[2]) <- "cond" | + | |
</ | </ | ||
- | < | + | < |
+ | # cf | ||
# lengthofelements <- length(x1) | # lengthofelements <- length(x1) | ||
# varofvariable <- var(x1)</ | # varofvariable <- var(x1)</ | ||
Line 650: | Line 652: | ||
ss_x3 | ss_x3 | ||
- | df_bet | + | ss_tot |
- | ss_bet | + | |
df_tot | df_tot | ||
- | ss_tot | ||
+ | ss_with | ||
df_with | df_with | ||
- | ss_with | ||
+ | ss_bet | ||
df_bet | df_bet | ||
- | ss_bet | ||
- | |||
</ | </ | ||
< | < | ||
- | df_tot <- length(xs$ind) - 1 | + | df_tot <- length(xs$wrong) - 1 |
- | ss_tot <- var(xs$values)*df_tot | + | ss_tot <- var(xs$wrong)*df_tot |
- | var_tot <- var(xs$values) | + | var_tot <- var(xs$wrong) |
df_x1 <- length(x1)-1 | df_x1 <- length(x1)-1 |
anova.txt · Last modified: 2022/09/30 09:02 by hkimscil