Drawn from Different Population: n >30;σ  known – using z-distribution

From the following data test if the means of a product obtained from plant A and plant B are significantly differing

This is a test for difference of two means obtained from different populations

  • Null Hypothesis        H0: µA= µB
  • Alternative Hypothesis H1: µA ≠ µB
  • µA: Mean of product obtained from Plant A = 75.4
  • µB: Mean of product obtained from Plant B = 74.3
  • σ 2 p1: Variance of product1(Population)= 65.6
  • σ 2 p2: Variance of product2(Population)= 57.8
  • Sample Size of product1 =300
  • Sample size of product2 = 200
  • Test significance level = 5%
  • Z-table for 0.05 = 1.96 (two-tailed test)
  • Z Calculated value must be greater than Z-table value to reject the Null hypothesis

Conclusion: The calculated value (Z = 1.54) is less than tabulated value (Z = 1.96) and it falls outside the rejection region. We accept the Null Hypothesis. That test reveals that the means of products are not significantly different. Both the means are equal only

Using Python

Find calculated value of z and p-value

Find critical value of z (refer z table or use function)

Display results:

Find Z-calculated value using function

Suggest Recommendation:

Plot the curve: