<< Chapter < Page | Chapter >> Page > |
This chapter is concerned with three chi-square applications: goodness-of-fit; independence; and single variance. We rely on technology to do the calculations, especially for goodness-of-fit and for independence. However, the first example in the chapter (the number of absences in the days of the week) has the student calculate the chi-square statistic in steps. The same could be done for the chi-square statistic in a test of independence.
The chi-square distribution generally is skewed to the right. There is a different chi-square curve for each df. When the df's are 90 or more, the chi-square distribution is a very good approximation to the normal. For the chi-square distribution, = the number of df's and = the square root of twice the number of df's.
In a past issue of the magazine GEICO Direct , there was an article concerning the percentage of teenage motor vehicle deaths and time of day. The following percentages were given from a sample.
Time of Day | Death Rate |
---|---|
12 a.m. to 3 a.m. | 17% |
3 a.m. to 6 a.m. | 8% |
6 a.m. to 9 a.m. | 8% |
9 a.m. to 12 noon | 6% |
12 noon to 3 p.m. | 10% |
3 p.m. to 6 p.m. | 16% |
6 p.m. to 9 p.m. | 15% |
9 p.m. to 12 a.m. | 19% |
For the purpose of this example, suppose another sample of 100 produced the same percentages. We hypothesize that the data from this new sample fits a uniform distribution. The level of significance is 1% ( ).
The distribution for the hypothesis test is
The table contains the observed percentages. For the sample of 100, the observed (O) numbers are 17, 8, 8, 6, 10, 16, 15 and 19. The expected (E) numbers are each 12.5 for a uniform distribution (100 divided by 8 cells). The chi-square test statistic is calculated using
If you are using the TI-84 series graphing calculators, ON SOME OF THEM there is a function in STAT TESTS called GOF-Test that does the goodness-of-fit test. You first have to enter the observed numbers in one list (enter as whole numbers) and the expected numbers (uniform implies they are each 12.5) in a second list (enter 12.5 for each entry: 100 divided by 8 = 12.5). Then do the test by going to GOF-Test.
If you are using the TI-83 series, enter the observed numbers in list1 and the expected numbers in list2 and in list3 (go to the list name), enter (list1-list2)^2/list2. Press enter. Add the values in list3 (this is the test statistic). Then go to 2nd DISTR cdf. Enter the test statistic (13.6) and the upper value of the area (10^99) and the degrees of freedom (7).
Notification Switch
Would you like to follow the 'Collaborative statistics teacher's guide' conversation and receive update notifications?