Drawn from the same population; Sample size>30; Population std is known

This is a test for difference of two means obtained from Same populations
- Null Hypothesis H0 : µs1 = µs2
- Alternative Hypothesis H1 : µs1 ≠ µs2
- µA:Mean of product obtained from Sample1 = 75.4
- µB:Mean of product obtained from Sample2 = 74.3
- σ2: Variance of product (Population)= 60 Sample
- Sample 1 Size =300
- Sample2 size = 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 = 0.201) 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 z calculated value and p-value

Find z critical value from table or use formula

Display results:

Find z calculated value using a function

Recommendation:

