INFINITE POPULATION  when  n is less than 30 and Population standard Deviation is not known

Problem :

You take 10 boxes from automatic drilling machine. The mean weight works out to 11.8 kg. with standard deviation 0.150 kg. Does the sample mean differ significantly intended mean weight of 12 kg of population. You are given significance level at 5% t-table value is 2.26 at 9 degrees of freedom.

  • Null Hypothesis H0 : µ0 = 12
  • Alternative Hypothesis H1 : µ1 ≠ 12
  • µ0:Mean of Sample = 11.8 =xbar
  •  σs: STD(sample)= 0.150
  • Sample Size =10
  • Test significance level = 5%
  • t-table for 0.05 = 2.262 (two-tailed test) for df 9
  • t Calculated value must be greater than t-table value to reject the Null hypothesis

Conclusion: The calculated value (t = 4) is greater than tabulated value (t = 2.262) and it falls in the rejection region. We reject the Null Hypothesis. That test reveals that the means of boxes are significantly different.

Using python:

Load Libraries and read data

Find t Critical value for 95% confidence level   ; alpha = 0.05

Display the results:

Find Calculated value of t using function:

Recommendations: