Download presentation
Presentation is loading. Please wait.
Published byBenedict O’Brien’ Modified over 8 years ago
1
Chi-Square Tests
2
Two way classification table – presents information on more than one variable for each element Example: college students broken into gender and enrollment status
3
Null Hypothesis: the two attributes (characteristics) of the elements are not related (independent) Alternative Hypothesis: the two attributes of the elements are related (dependent) Example: We could test to see if there was an association between being a man or woman and having a preference for watching sports or soap operas
4
Degrees of Freedom: df = (R-1)(C-1) where R is the number of rows and C is the number of columns in your table Test Statistic: where the observed and expected frequencies are calculated for each cell Expected frequency:
5
Violence and lack of discipline have become major problems in schools in the US. A random sample of 300 adults was selected and these adults were asked if they favor giving more freedom to schoolteachers to punish students for violence and lack of discipline. The two-way classification of the responses of these adults is presented in the following table. Does the sample provide sufficient evidence to conclude that the two attributes, gender and opinions of adults, are dependent? Use a 1% significance level.
6
Prem Mann, Introductory Statistics, 6/E Copyright 2007 John Wiley & Sons. All rights reserved. Table 11.6 (p. 504)
7
1. H₀: Gender and opinions of adults are independent. H₁: Gender and opinions of adults are dependent. 2. Chi-Square distribution because we are testing for independence with a contingency table. 3. Rejection/Non-rejection Regions: χ² = 9.210 4. Test Statistic: χ² = 8.252 5. Since our test statistic falls in our non-rejection region, the two characteristics of gender and opinion on allowing school teachers more freedom for punishment are dependent.
8
Null Hypothesis: two more populations are homogeneous (similar) with regard to the distribution of a certain characteristic Example: Are the preferences of people in Florida, Arizona, and Vermont similar with regards to Pepsi, Coke, or 7-UP?
9
After taking a sample of 250 households from California and 150 households from Wisconsin, the following table was constructed showing three different income groups. Using the 2.5% significance level, test the null hypothesis that the distribution of households with regard to income levels is similar (homogeneous) for the two states.
10
Prem Mann, Introductory Statistics, 6/E Copyright 2007 John Wiley & Sons. All rights reserved. Table 11.8 (p. 506)
11
1. H₀: The proportions of households that belong to different income groups are the same in both states. H₁: The proportions of households that belong to different income groups are not the same in both states. 2. Chi-square because we are testing for homogeneity 3. Rejection/Non-Rejection regions: χ² = 7.378 4. Test Statistic: χ² = 4.339 5. Since the test statistic falls in the non-rejection region, the proportions are similar in California and Wisconsin.
12
Page #511 #23-26, 30
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.