In: Statistics and Probability
Suppose that the average trip time from your house to school on the train is 24 minutes and that the standard deviation of the population is 4 minutes (sigma=4). We are interested to know whether the average trip time on Thursdays is shorter. We study a sample of 49 trips on Thursdays and the average is 22.75 minutes. Execute a hypothesis test at alpha=10% that the average trip time on Thursdays is shorter (that is, that it requires a smaller number of minutes). State Ho, Ha, calculate the appropriate statistic, p-value, state whether you reject Ho vs. not and state your conclusion in plain English.
A) What is the largest number of minutes that will allow you to reject Ho?
B) What is the probability that you will reject Ho if mu is actually 23.375 minutes?
C) Fill in the probabilities in the table below. Also indicate alpha, beta and power. D)What test concludes Ho is true in population Ho not true in population Reject Ho Not reject Ho
D) Fill in the probabilities in the table below. Also indicate alpha, beta and power.
{What test concludes; Ho is true in population ; Ho not true in population }
{Reject Ho ; ; }
{Not reject Ho ; ; }
Objective: To test whether the average trip time on from house to school onThursdays is shorter than the usual 24 minutes.
Let denote the average trip time on from Jhouse to school onThursdays. The Null and Alternative Hypothesis can be expressed as follows:
H0: Vs at =0.10
As mentioned in the problem, since, the population standard deviation is known ( = 4), the appropriate test to test the above hypothesis would be a one sample Z test for mean:
But before running this test, we must ensure that the data satisfies the assumptions of this test:
- The study variable is continuous - The observations are collected randomly - The data is normally distributed
Assuming that all the assumptions are satisfied:
The test statistic is given by:
with critical value Z 2.3164
Substituting the given values in the test statistic:
Z= (22.75-24)/(4/sqrt(49))
= -2.1875
To obtain the p-value of the test, p(Z< -2.1875) = 0.01435
Since, the p-value obtained =0.01435 < 0.1, we reject H0. We may conclude that the data does provide sufficient evidence to support the claim that the average trip time on from Jhouse to schoolonThursdays is shorter than the usual 24 minutes.
From the critical region of the test, the smallest number of minutes that will allow us to reject Ho would be: 2.3164
We have to find Xcritical such that
-2.3164= (Xcritical -24)/4
Xcritical=24-2.3164*4
=14.7344 minutes.
The probability that we would reject Ho if mu is actually 22.75 minutes is nothing but the probability of rejecting Ho, when it is fales. This is nothing but the power of the test.
=(b-)/(4/sqrt(49)) = (22.6763-22.75)/(4/sqrt(49))
=-0.1289
we find that p(Z< -0.1289) = 0.4487
Beta = 1 - Power = 1 - 0.4487 = 0.5513 and Alpha, as fixed in the problem is 0.1.
Power = 0.4487, Beta=0.5513 , alpha=0.1