This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
r:20190423 [2019/04/23 13:18] 218.186.142.130 created |
r:20190423 [2020/03/24 02:34] (current) |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| <code rsplus> | <code rsplus> | ||
| > cor.test(((comb$rm1t+comb$lm1t+comb$nm1t)/ | > cor.test(((comb$rm1t+comb$lm1t+comb$nm1t)/ | ||
| + | </ | ||
| + | < | ||
| Pearson' | Pearson' | ||
| Line 23: | Line 25: | ||
| 0.592227 | 0.592227 | ||
| + | </ | ||
| + | |||
| + | Quite reasonably so, the more data points you have, the more powerful the correlation: | ||
| + | |||
| + | <code rsplus> | ||
| + | cor.test(((comb$rm1t+comb$lm1t+comb$nm1t+comb$rm3t+comb$lm3t+comb$nm3t)), | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Pearson' | ||
| + | |||
| + | data: ((comb$rm1t + comb$lm1t + comb$nm1t + comb$rm3t + comb$lm3t + and (comb$ra5time + comb$rv5time) | ||
| + | t = 6.1225, df = 57, p-value = 9.054e-08 | ||
| + | alternative hypothesis: true correlation is not equal to 0 | ||
| + | 95 percent confidence interval: | ||
| + | | ||
| + | sample estimates: | ||
| + | cor | ||
| + | 0.6298656 | ||
| + | </ | ||
| + | |||
| + | Interestingly, | ||
| + | |||
| + | <code rsplus> | ||
| + | > cor.test(((comb$rm1t+comb$lm1t+comb$nm1t+comb$rm3t+comb$lm3t+comb$nm3t)), | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Pearson' | ||
| + | |||
| + | data: ((comb$rm1t + comb$lm1t + comb$nm1t + comb$rm3t + comb$lm3t + and (comb$ra5time) | ||
| + | t = 6.6186, df = 58, p-value = 1.278e-08 | ||
| + | alternative hypothesis: true correlation is not equal to 0 | ||
| + | 95 percent confidence interval: | ||
| + | | ||
| + | sample estimates: | ||
| + | cor | ||
| + | 0.6559632 | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | <code rsplus> | ||
| + | > t.test(((comb$rm1s)), | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Paired t-test | ||
| + | |||
| + | data: ((comb$rm1s)) and (comb$rm5s) | ||
| + | t = -3.3628, df = 63, p-value = 0.001316 | ||
| + | alternative hypothesis: true difference in means is not equal to 0 | ||
| + | 95 percent confidence interval: | ||
| + | | ||
| + | sample estimates: | ||
| + | mean of the differences | ||
| + | -3.171875 | ||
| + | </ | ||
| + | <code rsplus> | ||
| + | > t.test(((comb$rm1t)), | ||
| + | </ | ||
| + | < | ||
| + | Paired t-test | ||
| + | |||
| + | data: ((comb$rm1t)) and (comb$rm5t) | ||
| + | t = 8.0806, df = 63, p-value = 2.58e-11 | ||
| + | alternative hypothesis: true difference in means is not equal to 0 | ||
| + | 95 percent confidence interval: | ||
| + | 8.903005 14.753245 | ||
| + | sample estimates: | ||
| + | mean of the differences | ||
| + | | ||
| </ | </ | ||