00:01
Okay, so we are given the following hypothesis test and the first thing we're asked to do is to calculate the test statistic.
00:07
So the formula for the test statistic is here, so we just take our sample mean, we subtract the mean from the null hypothesis and then we divide by the standard deviation of the sample mean.
00:21
So in this case, we're given all the values.
00:25
So we know from our non -hypothesis that mu -nought is 15.
00:30
Our observed mean is 14 .15.
00:33
Sigma, which is the standard deviation for the original population, is 3.
00:39
And n, which is a population size or the number of data points, is 50.
00:44
So if you just plug these into the formula, you get that the test statistic is equal to minus 2 .0, if you want to round it.
00:53
And then the next part of the question asks us to find a p value for this test statistic.
00:58
So what this is asking us is asking under the nile hypothesis, how likely is it that we observe a test statistic that's a value minus 2 or possibly more extreme than that? so you have to be a bit careful here because it's a two -tailed test.
01:16
So when we say a value is at least as extreme as extreme as minus 2, it could be less than minus 2 or it could also be bigger than plus 2.
01:25
So we need to calculate the probability that z is less than minus 2 or more than plus 2.
01:35
But because z is under the null hypothesis, it's a normally distributed random variable with mean zero and standard deviation 1.
01:47
We can just do this from the normal tables.
01:49
So like i just said, the probability that z is less than minus 2 or more than plus 2, is going to be equal to two times the probability that this normal random variable is less than minus 2 because the normal distribution is symmetrics.
02:04
The probability that it's at least plus 2 is the same as a probability that it's at least minus 2.
02:10
So you can read from your normal tables that the probability of this happening is 0 .0 .0275.
02:19
So if you time this by 2, you get 0 .0455 as your p value...