00:01
So for this problem, the first thing that we're going to want to do is set up a table of values where we have our two samples, making sure that we keep them paired together, and then we want to have an extra column indicating just the sign of the difference between the two values.
00:19
So i'll pause and copy down the data.
00:21
So we'll put down a positive if sample1 value is greater than the sample2 value, a negative if sample2 value is greater than sample1 value, and we'd put down just 0 if they were the same, and ignore it.
00:35
So we'd have plus, minus, plus, minus, plus, plus, plus, plus, 0, so we ignore, and then minus.
00:49
Now we have that the number of plus or positive differences, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, yeah, so we have n plus is equal to 6, and n minus is equal to 3.
01:06
Now for the test, we use the statistic which is the smaller of n plus and n minus.
01:14
Now to determine our p -value, what we can do is treat n minus as a binomial random variable, where we have that the number of trials is equal to our sample size, which in this case is equal to 10, and the theoretical probability of success if the two distributions are the same is 0 .5...