# A Experiment On The Group

1796 Words8 Pages
In this experiment, the participants were tested on both conditions, which are congruent trials and also the incongruent trials. I used within subject experimental design to find the p-value under the assumption that the difference between the congruent and incongruent conditions are only happening due to random chance. In the simulation, I put all the data of the incongruent reading time (seconds) in the group A and all the data of the congruent reading time (seconds) in the group B. Then, I run the simulations 100,000 times as the data have been stabilized at this point. In this case, by clicking the run simulations button, it means that the pairs of data that being generated by the same subject always go together and simply randomize which condition each data point is assigned to within a pair. I get the mean of group A is 414, the mean of group B is 210.5 and the difference in means is 203.5. The difference in means between the two groups is the test statistics in this case. Then, I determine the p-value by selecting the range based on difference of means and select range of both tails of the distribution by selecting the “outside” option. Then I adjusted the range slider to be between -203.49 and 203.49. I do this because I select the data that is just below 203.5, which is the difference of the means of these two groups all the way to the opposite. It worked because the distribution is symmetric between 0. I get the p-value of 0.0309 (3.09 divide by 100), which is