<< Chapter < Page | Chapter >> Page > |
In this type of hypothesis test, you determine whether the data "fit" a particular distribution or not. For example, you may suspect your unknown data fit a binomialdistribution. You use a chi-square test (meaning the distribution for the hypothesis test is chi-square) to determine if there is a fit or not. The null and the alternate hypotheses for this test may be written in sentences or may be stated as equations orinequalities.
The test statistic for a goodness-of-fit test is:
where:
The observed values are the data values and the expected values are the values you would expect to get if the null hypothesis were true. There are terms of the form .
The degrees of freedom are .
The goodness-of-fit test is almost always right tailed. If the observed values and the corresponding expected values are not close to each other, then the test statisticcan get very large and will be way out in the right tail of the chi-square curve.
Absenteeism of college students from math classes is a major concern to math instructors because missing class appears to increase the drop rate. Suppose that a study was done to determine if the actual student absenteeism follows faculty perception. The faculty expected that a group of 100 students would miss class according to the following chart.
Number absences per term | Expected number of students |
0 - 2 | 50 |
3 - 5 | 30 |
6 - 8 | 12 |
9 - 11 | 6 |
12+ | 2 |
A random survey across all mathematics courses was then done to determine the actual number (observed) of absences in a course. The next chart displays the result of that survey.
Number absences per term | Actual number of students |
0 - 2 | 35 |
3 - 5 | 40 |
6 - 8 | 20 |
9 - 11 | 1 |
12+ | 4 |
Determine the null and alternate hypotheses needed to conduct a goodness-of-fit test.
: Student absenteeism fits faculty perception.
The alternate hypothesis is the opposite of the null hypothesis.
: Student absenteeism does not fit faculty perception.
Can you use the information as it appears in the charts to conduct the goodness-of-fit test?
No. Notice that the expected number of absences for the "12+" entry is less than 5 (it is 2). Combine that group with the "9 - 11" group to create new tables where the number of students for each entry are at least 5. The new tables are below.
Number absences per term | Expected number of students |
0 - 2 | 50 |
3 - 5 | 30 |
6 - 8 | 12 |
9+ | 8 |
Number absences per term | Actual number of students |
0 - 2 | 35 |
3 - 5 | 40 |
6 - 8 | 20 |
9+ | 5 |
What are the degrees of freedom ( )?
There are 4 "cells" or categories in each of the new tables.
Employers particularly want to know which days of the week employees are absent in a five day work week. Most employers wouldlike to believe that employees are absent equally during the week. Suppose a random sample of 60 managers were asked on which day of the week did they have the highest number of employee absences. The results were distributed as follows:
Monday | Tuesday | Wednesday | Thursday | Friday | |
---|---|---|---|---|---|
Number of Absences | 15 | 12 | 9 | 9 | 15 |
Notification Switch
Would you like to follow the 'Collaborative statistics' conversation and receive update notifications?