User Tools

Site Tools


r:20190423

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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)/3),(comb$rv5time+comb$ra5time)) > cor.test(((comb$rm1t+comb$lm1t+comb$nm1t)/3),(comb$rv5time+comb$ra5time))
 +</code>
  
 +<code>
         Pearson's product-moment correlation         Pearson's product-moment correlation
  
Line 23: Line 25:
 0.592227  0.592227 
  
 +</code>
 +
 +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)),(comb$ra5time+comb$rv5time))
 +</code>
 +
 +<code>
 +        Pearson's product-moment correlation
 +
 +data:  ((comb$rm1t + comb$lm1t + comb$nm1t + comb$rm3t + comb$lm3t +  and (comb$ra5time + comb$rv5time)    comb$nm3t)) 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:
 + 0.4456685 0.7628949
 +sample estimates:
 +      cor 
 +0.6298656 
 +</code>
 +
 +Interestingly, this is stronger for ra than combined:
 +
 +<code rsplus>
 +> cor.test(((comb$rm1t+comb$lm1t+comb$nm1t+comb$rm3t+comb$lm3t+comb$nm3t)),(comb$ra5time))
 +</code>
 +
 +<code>
 +        Pearson's product-moment correlation
 +
 +data:  ((comb$rm1t + comb$lm1t + comb$nm1t + comb$rm3t + comb$lm3t +  and (comb$ra5time)    comb$nm3t)) 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:
 + 0.4823875 0.7799717
 +sample estimates:
 +      cor 
 +0.6559632 
 +</code>
 +
 +{{:r:micro13_ratime.png?400|}}
 +
 +<code rsplus>
 +> t.test(((comb$rm1s)),(comb$rm5s), paired = TRUE)
 +</code>
 +
 +<code>
 +        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:
 + -5.056746 -1.287004
 +sample estimates:
 +mean of the differences 
 +              -3.171875 
 +</code>
 +<code rsplus>
 +> t.test(((comb$rm1t)),(comb$rm5t), paired = TRUE)
 +</code>
 +<code>
 +        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 
 +               11.82812 
 </code> </code>
r/20190423.1556025504.txt.gz ยท Last modified: 2020/03/24 02:34 (external edit)