13.2k views
2 votes
When the author visited Dublin, Ireland (home of Guinness Brewery employee William Gosset, who first developed the t distribution), he recorded the ages of randomly selected passenger cars and randomly selected taxis. The ages can be found from the license plates. (There is no end to the fun of traveling with the author.) The ages (in years) are listed below. We might expect that taxis would be newer, so test the claim that the mean age of cars is greater than the mean age of taxis. Use α= 0.05 significance level to test the claim that in Dublin, car ages and taxi ages have the same variation.

Car Ages 4 0 8 11 14 3 4 4 3 5 8 3 3 7 4 6 6 1 8 2 15 11 4 1 6 1 8
Taxi Ages 8 8 0 3 8 4 3 3 6 11 7 7 6 9 5 10 8 4 3 4

1 Answer

4 votes

Answer:

The Decision Rule

Fail to reject the null hypothesis

The conclusion

There is no sufficient evidence to support the claim that the mean age of the cars is greater than that of taxi

Explanation:

From the question we are told that

The data is

Car Ages 4 0 8 11 14 3 4 4 3 5 8 3 3 7 4 6 6 1 8 2 15 11 4 1 6 1 8

Taxi Ages 8 8 0 3 8 4 3 3 6 11 7 7 6 9 5 10 8 4 3 4

The level of significance
\alpha = 0.05

Generally the null hypothesis is
H_o  :  \mu_1 - \mu_2  = 0

the alternative hypothesis is
H_a  :  \mu_1 - \mu_2 >  0

Generally the sample mean for the age of cars is mathematically represented as


\= x_1 = (\sum x_i )/(n)

=>
\= x_1 = (4+ 0+ 8 +11 + \cdots + 8 )/(27)

=>
\= x_1 = 5.56

Generally the standard deviation of age of cars


\sigma _1  = \sqrt{(\sum (x_i - \= x)^2)/(n_1) }

=>
\sigma _1  = \sqrt{((4 - 5.56)^2 + (0 - 5.56)^2+ (8 - 5.56)^2 + \cdots + 8)/( 27) }

=>
\sigma _1  =  3.88

Generally the sample mean for the age of taxi is mathematically represented as


\= x_2 = (\sum x_i )/(n)

=>
\= x_2 = (8 +8 +0  + \cdots + 4 )/(20)

=>
\= x_2 = 5.85

Generally the standard deviation of age of taxi


\sigma _2  = \sqrt{(\sum (x_i - \= x)^2)/(n_1) }

=>
\sigma _2  = \sqrt{((8 - 5.85)^2 + (8 - 5.85)^2+ (0 - 5.85)^2 + \cdots + 8)/( 20) }

=>
\sigma _2  = 2.83

Generally the test statistics is mathematically represented as


t = \frac{(\= x_ 1 - \= x_2 ) - 0}{\sqrt{(\sigma^2_1)/(n_1)  + (\sigma^2_2)/(n_2) }  }

=>
t = \frac{(5.56 - 5.85 ) - 0}{\sqrt{((3.88)^2)/(27)  + ((2.83))/(20) }}

=>
t = -0.30

Generally the degree of freedom is mathematically represented as


df =  n_1 + n_2 -2


df =  27 +  20 -2


df =  45

From the t distribution table the
P(t >  t ) at the obtained degree of freedom = 45 is


P(t >  -0.30 ) = 0.61722067

So the p-value is


p-value  =  P(t >  T) =  0.61722067

From the obtained values we see that the p-value >
\alpha hence we fail to reject the null hypothesis

Hence the there is no sufficient evidence to support the claim that the mean age of the cars is greater than that of taxi

User Adnan Khan
by
4.9k points