In: Statistics and Probability
In a survey of 100 randomly selected taxi drivers in a city, 76 support increased government spending on roads and bridges. In a survey of 100 randomly selected bus drivers in the same city, 82 support such spending. Compute the test statistic for a hypothesis test to compare the population proportion of taxi drivers to the proportion of bus drivers in the city that support such spending. Assume that the conditions for a hypothesis test for the difference between the population proportions are met. Round your answer to two decimal places.
Solution:
Given:
In a survey of 100 randomly selected taxi drivers in a city, 76 support increased government spending on roads and bridges.
thus n1 = 100 and x1 = 76 , thus
In a survey of 100 randomly selected bus drivers in the same city, 82 support such spending.
thus n2 = 100 , x2 = 82 , thus
We have to find the test statistic for a hypothesis test to compare the population proportion of taxi drivers to the proportion of bus drivers in the city that support such spending.
where
thus
The test statistic value = z = -1.04