Nt1310 Unit 3 Simulations

Words: 462
Pages: 2

To determine the t statistic for this data, I used the randomization between subject simulation because it is a within subjects design of experiment. For this simulation, I put 10 for the number of simulations because we have 10 subjects. Then, I put all the data of the difference of their performance in the two conditions in group B and put 0 to each f the box in group A. Then, I run the simulations 10,000 times as the data have been stabilized at this point. I get the mean of group A is 0, the mean of group B is 6.8 and the difference in means is -6.8. Then, I determine the p-value by select both tails of the distribution by selecting the “outside” option. Then I adjusted the range slider to be between -6.79 and 6.79. I do this because I select the data that is just below -6.8, which is the difference of the means of these two groups all the way to the opposite because the distribution is symmetric between 0. I get the p-value of 0.1, which is higher than the alpha level 0.05. It means that we cannot reject the model that the difference in the performance between the conditions only happens with random chance. …show more content…
After that, I opened the t-distribution simulation to calculate the p-value of my t-distribution. I set 9 as my degrees of freedom as I have to deal with 10 participants. Then I set the value as -1.89 that is my t-statistic. Then, to find the p-value I doubled 4.57 (value that I found from the t distribution simulation) and divide with 100. In this case, the p-value is