1 Chapter 17 Statistical Inference For Frequency Data IThree Applications of Pearson’s  2 Testing goodness of fit Testing independence Testing equality.

Slides:



Advertisements
Similar presentations
Contingency Table Analysis Mary Whiteside, Ph.D..
Advertisements

What is Chi-Square? Used to examine differences in the distributions of nominal data A mathematical comparison between expected frequencies and observed.
Chi Squared Tests. Introduction Two statistical techniques are presented. Both are used to analyze nominal data. –A goodness-of-fit test for a multinomial.
Basic Statistics The Chi Square Test of Independence.
Inference about the Difference Between the
Statistical Inference for Frequency Data Chapter 16.
1 1 Slide © 2009 Econ-2030-Applied Statistics-Dr. Tadesse. Chapter 11: Comparisons Involving Proportions and a Test of Independence n Inferences About.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
Chapter Ten Comparing Proportions and Chi-Square Tests McGraw-Hill/Irwin Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
BCOR 1020 Business Statistics
Chi-Square Tests and the F-Distribution
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Chapter 13 Chi-Square Tests. The chi-square test for Goodness of Fit allows us to determine whether a specified population distribution seems valid. The.
1 of 27 PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2013, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Adv. Experimental.
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Hypothesis Testing.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Chapter 11: Applications of Chi-Square. Chapter Goals Investigate two tests: multinomial experiment, and the contingency table. Compare experimental results.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
1 Chi-Square Heibatollah Baghi, and Mastee Badii.
Chapter 16 – Categorical Data Analysis Math 22 Introductory Statistics.
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
1 In this case, each element of a population is assigned to one and only one of several classes or categories. Chapter 11 – Test of Independence - Hypothesis.
Other Chi-Square Tests
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Other Chi-Square Tests
Copyright © 2010 Pearson Education, Inc. Slide
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
Chapter Outline Goodness of Fit test Test of Independence.
Slide 1 Copyright © 2004 Pearson Education, Inc..
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 12. The Chi-Square Test.
AGENDA:. AP STAT Ch. 14.: X 2 Tests Goodness of Fit Homogeniety Independence EQ: What are expected values and how are they used to calculate Chi-Square?
11.2 Tests Using Contingency Tables When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested by using.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
1 Chi-square Test Dr. T. T. Kachwala. Using the Chi-Square Test 2 The following are the two Applications: 1. Chi square as a test of Independence 2.Chi.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Chi Square Tests Chapter 17. Assumptions for Parametrics >Normal distributions >DV is at least scale >Random selection Sometimes other stuff: homogeneity,
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
Statistics 300: Elementary Statistics Section 11-3.
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Statistics for Psychology CHAPTER SIXTH EDITION Statistics for Psychology, Sixth Edition Arthur Aron | Elliot J. Coups | Elaine N. Aron Copyright © 2013.
Test of independence: Contingency Table
Chapter 11 – Test of Independence - Hypothesis Test for Proportions of a Multinomial Population In this case, each element of a population is assigned.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Active Learning Lecture Slides
Qualitative data – tests of association
The Chi-Square Distribution and Test for Independence
Chi Square Two-way Tables
Econ 3790: Business and Economics Statistics
Chapter 10 Analyzing the Association Between Categorical Variables
Statistical Inference
Inference on Categorical Data
Analyzing the Association Between Categorical Variables
Inference for Two Way Tables
Chapter Outline Goodness of Fit test Test of Independence.
Presentation transcript:

1 Chapter 17 Statistical Inference For Frequency Data IThree Applications of Pearson’s  2 Testing goodness of fit Testing independence Testing equality of proportions

2 A. Testing Goodness of Fit 1.Statistical hypotheses H 0 : O Pop 1 = E Pop 1,..., O Pop k = E Pop k H 1 : O Pop j ≠ E Pop j for some j and j 2.Randomization Plan One random sample of n elements Each element is classified in terms of membership in one of k mutually exclusive categories

3 B. Testing Independence 1.Statistical hypotheses H 0 : p(A and B) = p(A)p(B) H 1 : p(A and B) ≠ p(A)p(B) 2.Randomization Plan One random sample of n elements Each element is classified in terms of two variables, denoted by A and B, where each variable has two or more categories.

4 C. Testing Equality of Proportions 1.Statistical hypotheses H 0 : p 1 = p 2 =... = p c H 1 : p j ≠ p j for some j and j 2.Randomization Plan c random samples, where c ≥ 2 For each sample, elements are classified in terms of membership in one of r = 2 mutually exclusive categories

5 IITesting Goodness of Fit A. Chi-Square Distribution

6 B.Pearson’s chi-square statistic 1.O j and E j denote, respectively, observed and expected frequencies. k denotes the number of categories. 2.Critical value of chi square is with = k – 1 degrees of freedom.

7 C.Grade-Distribution Example 1.Is the distribution of grades for summer-school students in a statistics class different from that for the fall and spring semesters? Fall and SpringSummer Grade Proportion Obs. frequency A.1215 B.2321 C.4730 D.136 F

8 2. The statistical hypotheses are H 0 : O Pop 1 = E Pop 1,..., O Pop 5 = E Pop 5 H 1 : O Pop j ≠ E Pop j for some j and j 3.Pearson’s chi-square statistic is 4.Critical value of chi square for  =.05, k = 5 categories, and = 5 – 1 = 4 degrees of freedom is

9 Table 1. Computation of Pearson’s Chi-Square for n = 72 Summer-School Students (1)(2) (3) (4) (5)(6) GradeO j p j np j = E j O j – E j A (.12) = B (.23) = C (.47) = 33.8– D6.1372(.13) = 9.4– F0.0572(.05) = 3.6–  2 = * *p <.025

10 5.Degrees of freedom when e parameters of a theoretical distribution must be estimated is k – 1 – e. D.Practical Significance 1.Cohen’s w where and denote, the observed and expected proportions in the jth category.

11 2.Simpler equivalent formula for Cohen’s 3.Cohen’s guidelines for interpreting w 0.1 is a small effect 0.3 is a medium effect 0.5 is a large effect

12 E.Yates’ Correction 1.When = 1, Yates’ correction can be applied to make the sampling distribution of the test statistic for O j – E j, which is discrete, better approximate the chi-square distribution.

13 F.Assumptions of the Goodness-of-Fit Test 1.Every observation is assigned to one and only one category. 2.The observations are independent 3.If = 1, every expected frequency should be at least 10. If > 1, every expected frequency should be at least 5.

14 IIITesting Independence A. Statistical Hypotheses H 0 : p(A and B) = p(A)p(B) H 1 : p(A and B) ≠ p(A)p(B) B.Chi-Square Statistic for an r  c Contingency Table with i = 1,..., r Rows and j = 1,..., c Columns

15 C. Computational Example: Is Success on an Employment-Test Item Independent of Gender? Observed Expected b 1 b 2 FailPassFailPass a 1 Man a 2 Women

16 D.Computation of expected frequencies 1.A and B are statistically independent if p(a i and b j ) = p(a i )p(b j ) 2.Expected frequency, for the cell in row i and column j

17 Observed Expected b 1 b 2 a a

18 E.Degrees of Freedom for an r  c Contingency Table d f = k – 1 – e = rc – 1 – [(r – 1) + (c – 1)] = rc – 1 – r + 1 – c + 1 = rc – r – c + 1 = (r – 1)(c – 1) = (2 – 1)(2 – 1) = 1

19 F.Strength of Association and Practical Significance where s is the smaller of the number of rows and columns. 1. Cramér’s

20 3.For a contingency table, an alternative formula for is 2.Practical significance, Cohen’s ŵ

21 G.Three-By-Three Contingency Table 1. Motivation and education of conscientious objectors during WWII HighGrade CollegeSchoolSchoolTotal Coward Partly Coward Not Coward Total

22 2.Strength of Association, Cramér’s 3.Practical significance

23 H.Assumptions of the Independence Test 1.Every observation is assigned to one and only one cell of the contingency table. 2.The observations are independent 3.If = 1, every expected frequency should be at least 10. If > 1, every expected frequency should be at least 5.

24 IVTesting Equality of c ≥ 2 Proportions A. Statistical Hypotheses H 0 : p 1 = p 2 =... = p c H 1 : p j ≠ p j for some j and j 1.Computational example: three samples of n = 100 residents of nursing homes were surveyed. Variable A was age heterogeneity in the home; variable B was resident satisfaction.

25 Table 2. Nursing Home Data Age Heterogeneity Low b 1 Medium b 2 High b 3 Satisfieda 1 O = 56O = 58O = 38 E = 50.67E = 50.67E = Not Satisfieda 2 O = 44O = 42O = 52 E = 49.33E = 49.33E = 49.33

26 B.Assumptions of the Equality of Proportions Test 1.Every observation is assigned to one and only one cell of the contingency table.

27 2.The observations are independent 3.If = 1, every expected frequency should be at least 10. If > 1, every expected frequency should be at least 5. C.Test of Homogeneity of Proportions 1.Extension of the test of equality of proportions when variable A has r > 2 rows

28 2.Statistical hypotheses for columns j and j'