Module 4 T Test For Independent
Module 4 T Test For Independent
The basic concept of hypothesis testing was explained in Modules 1-3. With
the z and t tests, a sample mean can be compared to a specific population mean to
determine whether the null hypothesis
should be rejected.
To compare two means or two proportions, you work with two groups. The
groups are classified either as independent or dependent (matched pairs).
Independent groups mean that the two samples taken are independent, that is,
sample values selected from one population are not related in any way to sample
values selected from the other population. Dependent or matched pairs consist of
two samples that are dependent. The parameter tested using matched pairs is the
population mean. The parameters tested using independent groups are either
population means or population proportions.
A t test is used to test the difference between means when the two samples are independent and population and when the
Where
Note: These are the null and alternative hypothesis to be used depending to the problem.
The average size of a farm in Indiana county, Pennsylvania, is 191 acres. The
average size of a farm in Greene county, Pennsylvania, is 199 acres. Assume the
data were obtained from two samples with standard deviations of 38 and 12 acres,
respectively, and sample sizes of 8 and 10, respectively. Can it be concluded at α =
0.05 that the average size of the farms in the two counties is different? Assume the
populations are normally distributed.
SOLUTION:
Step 1 State the hypotheses and identify the claim.
Step 2 Find the critical value. Since the test is two-tailed, since α = 0.05, and
since the variances are unequal, the degrees of freedom are the smaller
k1 − 1 or k2 − 1. In this case, d. f. = 8 − 1 = 7. Hence, from Table F, the
critical values are z = 2.365 and -2.365.
Step 4 Make the decision. Do not reject the null hypothesis since −0.57 >
−2.365.
Step 5 Summarize the results. There is not enough evidence to support the
claim that the average size of the farms is different.
SAMPLE PROBLEM #2:
Ages of Homes
Whiting, Indiana, leads the “Top 100 Cities with the Oldest Houses” list with
the average age of houses being 62.1 years. Farther down the list resides Franklin,
Pennsylvania, with an average house age of 55.6 years. Researchers selected a
random sample of 20 houses in each city and obtained the following statistics. At
α = 0.05., can it be concluded that the houses in Whiting are older?
Whiting Franklin
Mean age 62.1 years 55.6 years
Standard deviation 5.4 years 3.9 years
SOLUTION:
Step 1 State the hypotheses and identify the claim.
Step 2 Find the critical value. Since the test is right-tailed, since α = 0.05, and
since the variances are unequal, the degrees of freedom are the smaller
k1 − 1 or k2 − 1. In this case they have equal samples, d. f. = 20 − 1 = 19.
Hence, from Table F, the critical value is z = 1.729.
Step 4 Make the decision. Reject the null hypothesis since 4.36 > 1.729.
Step 5 Summarize the results. There is enough evidence to conclude that the
houses in Whiting are older.
Excel has a two-sample t test included in the Data Analysis Add-in. The following
example shows how to perform a t test for the difference between two means.
Example:
Test the claim that there is no difference between population means based on these
sample data. Assume the population variances are not equal. Use α = 0.05.
Set A 32 38 37 36 36 34 39 36 37 42
Set B 30 36 35 36 31 34 37 33 32
ASSESSMENT 4.1
NAME: SCORE:
YR. & SECTION: DATE SUBMITTED:
Directions: Read and analyze each statement carefully and follow each instruction.
WRITE your answers on the attached answer sheets and submit it during your
schedule.
Degrees of freedom = 56
Test statistic t = 1.89566
Critical value t = -2.0037, 2.0037
P-value = 0.06317
Significance level = 0.05
Part II. Test the difference between two means of independent samples for the
following problems. Use t test. 10 pts each.
1. Assessed Home Values A real estate agent wishes to determine whether tax
assessors and real estate appraisers agree on the values of homes. A random
sample of the two groups appraised 10homes. The data are shown and expressed in
dollars. Is there a significant difference in the values of the homes for each group?
Let α=0.05.
Real Estate Appraisers Tax Assessors
X¯ 1 = X¯2 =
83,256 88,354
s1 = 3256 s2 = 2341
k1 = 10 k2 = 10
Note: Be careful of the given in the problem. Understand what needs to be used. ;)
~ Let perseverance finish its work so that you may be mature and complete, not lacking
anything. James 1:2-4 ~
References
Bluman, A. G. (2009). Elementary Statistics. In A. G. Bluman, Elementary Statistics
A Step by Step Approach (pp. 471-487). New York: McGraw-Hill.
Kathy Chu, P. S. (2013, December 30). Elementary Statistics. pp. 351-352.
Houston, Texas, United States ofAmerica.