You are on page 1of 3

Apple orchard farm owner wants to compare the two farms to see if there are any weight difference

in the apples. From farm


average weight of 86 gms, and the standard deviation is 7. From farm B, collected 10 apples with an average weight of 80 gms
population varaiances are equal, with a 95% confidence level, is there any difference in the farms?

H0: µ1=≤µ2
H1: µ1≠µ2

The data is normal.


Two different populations, and unaware of means of two populations
The samples are independent of each other.
Assuming equal population variance
There's less than 30 samples each.
How to determine what test to use? This leads us to chose a two sample t test

What kind of tailed test to use?


(Single left, Single right, or Two-tail) Note that this is a two tailed test because to compare the mean weights of apples i

Data given Farm A Farm B


Number of samples (n1 and n2) 15 10
Sample mean (x1 and x2) 86.0 80.0
Variance 49.00 64.00

Significance level α 0.05

Compute the t-statistic

Degrees of freedom (n1+n2-2) 23


Sp 7.407

x̅1-x2̅ 6.000
Sqrt (1/n1+1/n2) 0.408

t =( x1̅ -x2̅ )/Sp*Sqrt(1/n1+1/n2) 1.9841


Determine t critical value

Since this is a two tailed test at an alpha


of 5% critical value look up t table
appropriately.
t critical 2.069 Look up in table

Interpret the results


How does t critical compare to the
calculated t statistic?

t critical t statistic
2.069 1.9841

Rejection Rejection
region region
If t statistic values is
not between the two
critical values, means t If this value is between
statistic value is in two critical values, means
rejection region. Hence it is not in rejection
we reject the null region. Hence we fail to
Critical value Critical value hypothesis reject the null hypothesis

Two tail test


ce in the apples. From farm A, randomly collected 15 apples with an
n average weight of 80 gms and standard deviation of 8. Assuming the

wo populations

he mean weights of apples in farm A is different than farm B

You might also like