FINITE POPULATION: When sample size is less than 30 and Population std is not known

Problem :
You take 10 boxes out of 80 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
- N = 80 (Population size)
- µ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


Abs(t value=4.4843) is greater than t-critical value 2.262 we reject the null hypothesis
Using Python:
Load libraries and read data

Display results:

Find t-critical value for t calculated value:

Display the results

Recommendations:

