Download presentation
Presentation is loading. Please wait.
Published byJennifer Rice Modified over 9 years ago
1
Test for Goodness of Fit
2
The math department at a community college offers 3 classes that satisfy the math requirement for transfer in majors that do not require calculus: College Algebra, Statistics, and Finite Math*. At Saddleback College, we no longer offer Finite Math, as this course proved to be significantly less popular than the other two. College Algebra Statistics Finite Math
3
The math department chair is trying to determine how many sections of each class to offer. She claims that students show no preference for which class they take; if this proves to be so she will offer equal numbers of each class. She looks at the number of students who enrolled in each class during the previous semester. College Algebra students Statistics students Finite Math students
4
She finds the following data: College AlgebraStatisticsFinite Math # students enrolled 354480246 Determine whether it is reasonable to suppose students have no preference between the three classes (and thus to offer the same number of sections of each.) Use the goodness-of-fit test with α =.05.
5
If you’d like to try this problem on your own and just check your answer when you’re done go ahead. When you’re ready to check your answer click on the genius to the right. If you’d rather work through this problem together click away from the genius or hit the space bar or forward arrow key.
6
Set-up The table tells us the observed frequency. College AlgebraStatisticsFinite Math # students enrolled 354480246 (Observed frequency) It’s our job to calculate the expected frequency.
7
College AlgebraStatisticsFinite Math # students enrolled (Observed frequency) 354480246 Expected frequency
8
To do this, we’ll need to calculate the total number of students enrolled in all three classes. College AlgebraStatisticsFinite Math # students enrolled (Observed frequency) 354480246 Expected frequency
9
To do this, we’ll need to calculate the total number of students enrolled in all three classes. College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 354480246 Expected frequency 354 480 + 246 1080
10
To do this, we’ll need to calculate the total number of students enrolled in all three classes. College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 354 480 + 246 1080
11
Now we can calculate the expected frequency. If the students have no preference between the three classes, we would expect the students to be equally distributed between them. College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency
12
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency Divide the total number of students by 3, the number of classes they can choose from.
13
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency
14
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 360
15
Step 1: State the hypotheses and identify the claim (if there is one). The claim is that the students have no preference---there’s no math symbol for this, so we’ll just say it in words.
16
Eeny, meeny, miney, moe Algebra Stat Finite This is the Null since the Null always states there is no difference between things. We care!
17
Step (*) Draw the chi-square distribution and label the area in the right tail. Can we use this distribution?
18
Since all the expected frequencies are at least 5, we can use the chi-square distribution!
19
.05 Remember, the chi-square test is always right- tailed. (In this case, so is the bull.)
20
Step 2: Mark off the critical value..05 The critical value is the boundary of the right tail. It will go here.
21
Any time we use the Chi-square distribution, we need to use table G. Remember that the degrees of freedom will be one less than the number of categories (in this case, the number of classes.)
22
College Algebra Statistics Finite Math Since there were 3 classes, the degrees of freedom is 3-1 = 2
23
So we look in the row for d.f. = 2. And the column for α =.05. 5.991 The critical value is 5.991.
24
Let’s add this to the picture..05 5.991
25
Step 3: Calculate the test value.
26
sum observed frequency expected frequency College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 360 Refer back to this table to find the observed and expected frequencies
27
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 360
28
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 360
29
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 360
30
College Algebra StatisticsFinite MathTotal # students enrolled (Observed frequency) 3544802461080 Expected frequency 360
32
Now add the test value to the picture..05 5.991 76.2 76.2 is (much) bigger than 5.991, so it goes to the right.
33
Step 4: Make the decision..05 5.99176.2 The test value is in the critical region. Reject the Null!
34
RATS! Rejected again! We rats had nothing to do with it.
35
Step 5: Answer the question in plain English. There is enough evidence to reject the claim that students have no preference among the three math classes.
36
Here’s a quick summary …
37
Each click will show you one step. Step (*) is broken up into two clicks. Step 1 Step (*).05 5.991 Step 2 76.2 Step 3 Step 4 Reject the Null. Step 5 There is enough evidence to reject the claim that the students have no preference among the three classes.
38
And there was much rejoicing
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.