c:ms:2024:schedule:week06_t-test_and_anova_note
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
c:ms:2024:schedule:week06_t-test_and_anova_note [2024/04/08 08:43] – created hkimscil | c:ms:2024:schedule:week06_t-test_and_anova_note [2025/04/07 07:42] (current) – hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== R ====== | ====== R ====== | ||
+ | < | ||
+ | # see http:// | ||
+ | # ?t.test for help | ||
+ | # t.test(A, mu) # one sample t-test | ||
+ | # t.test(A, B, var.equal = T) # two sample t-test | ||
+ | # t.test(pre, post, paired=TRUE) # paired sample t-test (repeated measure) | ||
+ | </ | ||
< | < | ||
# t-test 이해 확인 | # t-test 이해 확인 | ||
+ | # pre-medicine; | ||
+ | # Hypothesis: There will be a difference between the pre scores and post scores. | ||
pre <- c(3, | pre <- c(3, | ||
post <- c(5, | post <- c(5, |
c/ms/2024/schedule/week06_t-test_and_anova_note.1712533388.txt.gz · Last modified: 2024/04/08 08:43 by hkimscil