In this discussion, you will apply the statistical concepts and techniques covered in this week's reading about hypothesis testing for the difference between two population proportions. In the previous week’s discussion, you studied a manufacturing process at a factory that produces ball bearings for automotive manufacturers. The factory wanted to estimate the average diameter of a particular type of ball bearing to ensure that it was being manufactured to the factory’s specifications.
Recently, the factory began a new production line that is more efficient than the existing production line. However, the factory still needs ball bearings to meet the same specifications. To compare the accuracy of the new process against the existing process, the factory decides to take two random samples of ball bearings. The first sample is of 50 randomly selected ball bearings from the existing production line, and the second sample is of 50 randomly selected ball bearings produced from the new production line. For each sample, the diameters of the ball bearings were measured.
The two samples will be generated using Python’s numpy module. These data sets will be unique to you, and therefore your answers will be unique as well. Run Step 1 in the Python script to generate your unique sample data.
Suppose that the factory claims that the proportion of ball bearings with diameter values less than 2.20 cm in the existing manufacturing process is the same as the proportion in the new process. At alpha=0.05, is there enough evidence that the two proportions are the same? Perform a hypothesis test for the difference between two population proportions to test this claim.
In your initial post, address the following items:
test-statistic = -0.89 two tailed p-value = 0.373
Please answer the four questions asked, using the test statistic and two tailed p value. Also no images, text please.. Thank you!
Define the null and alternative hypotheses in mathematical terms as well as in words.
The hypothesis being tested is:
H0: p1 = p2
H0: The two proportions are the same
Ha: p1 ≠ p2
Ha: The two proportions are different
Identify the level of significance.
The level of significance is 0.05.
Include the test statistic and the P-value. See Step 2 in the Python script. (Note that Python methods return two tailed P-values. You must report the correct P-value based on the alternative hypothesis.)
The test statistic is -0.89 and the p-value is 0.373.
Provide a conclusion and interpretation of the test: Should the null hypothesis be rejected? Why or why not?
Since the p-value (0.373) is greater than the significance level (0.05), we cannot reject the null hypothesis.
Therefore, we can conclude that the two proportions are the same.
Get Answers For Free
Most questions answered within 1 hours.