Since the chosen sample sizes and are greater than 30 and the population variances are known, we consider using the Normal distribution to perform our test.
The hypothesis we test is,
The test statistic is given by the formula,
is compared with the table value at level of significance and this value is given by, and reject the null hypothesis if
Since , we fail to reject the null hypothesis and we conclude that there is no sufficient evidence to show that on average the houses in town B are cheaper than the one in town A at 1% level of significance.
To compute the p-value, we use the formula below.
. We use this formula because the test we are performing is an upper-one tailed test.
First, is obtained in normal distribution table.
Thus, and the p-value is 1-0.0170=0.983.
Comments