Chapter Outline Goodness of Fit test Test of Independence.

Slides:



Advertisements
Similar presentations
15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Advertisements

Chi Squared Tests. Introduction Two statistical techniques are presented. Both are used to analyze nominal data. –A goodness-of-fit test for a multinomial.
1 1 Slide © 2003 South-Western /Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Inference about the Difference Between the
Statistical Inference for Frequency Data Chapter 16.
Chapter 13: The Chi-Square Test
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.
Applications of the Chi-Square Statistic Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Chapter Goals After completing this chapter, you should be able to:
Chapter 16 Chi Squared Tests.
Chapter 11a: Comparisons Involving Proportions and a Test of Independence Inference about the Difference between the Proportions of Two Populations Hypothesis.
1. State the null and alternative hypotheses. 2. Select a random sample and record observed frequency f i for the i th category ( k categories) Compute.
Goodness of Fit Test for Proportions of Multinomial Population Chi-square distribution Hypotheses test/Goodness of fit test.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
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.
© 2004 Prentice-Hall, Inc.Chap 12-1 Basic Business Statistics (9 th Edition) Chapter 12 Tests for Two or More Samples with Categorical Data.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics, A First Course 4 th Edition.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
1 1 Slide © 2005 Thomson/South-Western Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial Population Goodness of.
Chapter 11: Applications of Chi-Square. Count or Frequency Data Many problems for which the data is categorized and the results shown by way of counts.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Copyright © 2009 Cengage Learning 15.1 Chapter 16 Chi-Squared Tests.
1 1 Slide © 2006 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
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.
1 1 Slide Chapter 11 Comparisons Involving Proportions n Inference about the Difference Between the Proportions of Two Populations Proportions of Two Populations.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Other Chi-Square Tests
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
© 2000 Prentice-Hall, Inc. Statistics The Chi-Square Test & The Analysis of Contingency Tables Chapter 13.
Other Chi-Square Tests
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
1/71 Statistics Tests of Goodness of Fit and Independence.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
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.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Statistics 300: Elementary Statistics Section 11-2.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
1 1 Slide 統計學 Spring 2004 授課教師:統計系余清祥 日期: 2004 年 3 月 23 日 第六週:配適度與獨立性檢定.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
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.
1. State the null and alternative hypotheses. 2. Select a random sample and record observed frequency f i for the i th category ( k categories) Compute.
Statistics 300: Elementary Statistics Section 11-3.
Chi-Två Test Kapitel 6. Introduction Two statistical techniques are presented, to analyze nominal data. –A goodness-of-fit test for the multinomial experiment.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
©2006 Thomson/South-Western 1 Chapter 12 – Analysis of Categorical Data Slides prepared by Jeff Heyl Lincoln University ©2006 Thomson/South-Western Concise.
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.
St. Edward’s University
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter Fifteen McGraw-Hill/Irwin
John Loucks St. Edward’s University . SLIDES . BY.
Qualitative data – tests of association
Statistics for Business and Economics (13e)
Econ 3790: Business and Economics Statistics
Chapter 13 – Applications of the Chi-Square Statistic
CHI SQUARE TEST OF INDEPENDENCE
Chapter Outline Goodness of Fit test Test of Independence.
St. Edward’s University
Presentation transcript:

Chapter 11 Comparisons Involving Proportions and A Test of Independence

Chapter Outline Goodness of Fit test Test of Independence

Goodness of Fit Test Hypothesis test for proportions of a multinomial population It compares the observed and expected frequencies in each category to test either that all categories contain the same proportion of values or that each category contains a user-specified proportion of values.

Goodness of Fit Test Procedure Set up the null and alternative hypotheses; Select a random sample and record the observed frequency, fi, for each of the k categories; Assuming H0 is true, compute the expected frequency, ei, in each category by multiplying the category probability by the sample size.

Goodness of Fit Test Procedure 4. Compute the value of the test statistic: where: fi = observed frequency for category i ei = expected frequency for category i k = number of categories Note: The test statistic has a chi-square distribution with k – 1 degrees of freedom provided that the expected frequencies are 5 or more for all categories.

Goodness of Fit Test Procedure 5. Rejection rule: p-value approach: Reject H0 if p-value <  Reject H0 if Critical value approach: where  is the significance level and there are k - 1 degrees of freedom

Goodness of Fit Test Example: Market Share In the Scott Market Research example in the textbook, after company C introduced a new product to the market, a survey was conducted on 200 customers to study if there is any change in the market shares. Out of the 200 customers, 48 prefer company A’s product, 98 prefer company B’s, and 54 prefer company’s C’s. Before the introduction of the new product by company C, the market shares of the three companies were:

Goodness of Fit Test Example: Market Share Hypotheses H0: pA = .3; pB = .5; pC = .2 Ha: The population proportions are not pA = .3; pB = .5; pC = .2 where: pA = the population market share of company A; pB = the population market share of company B; pC = the population market share of company C.

Reject H0 if p-value < .05 or c2 > 5.99. Goodness of Fit Test Example: Market Share Rejection rule Reject H0 if p-value < .05 or c2 > 5.99. With  = .05 and k - 1 = 3 - 1 = 2 degrees of freedom Do Not Reject H0 Reject H0 2 5.99

eA=.3(200)=60; eB=.5(200)=100; eC=.2(200)=40 Goodness of Fit Test Example: Market Share Expected Frequencies Observed Frequencies Test Statistic eA=.3(200)=60; eB=.5(200)=100; eC=.2(200)=40 fA = 48; fB = 98; fC = 54 = 2.4+0.04+4.9 = 7.34

Goodness of Fit Test Example: Market Share p-Value Approach Area in Upper Tail .10 .05 .025 .01 .005 c2 Value (df = 2) 4.6 5.99 7.38 9.21 10.60 Because c2 = 7.34 is between 5.99 and 7.38, the area in the upper tail of the distribution is between .05 and .025. The p-value <  = .05. We can reject the null hypothesis.

Goodness of Fit Test Example: Market Share Critical Value Approach We reject, at the .05 level of significance, the assumption that the market shares of companies A, B, and C remain the same after Company C introduced a new product.

Test of Independence: Contingency Tables Hypothesis test for independence between two variables. Similar to a Goodness of Fit test, it computes c2 test statistic based on the observed frequencies and expected frequencies (assuming the null hypothesis is true, i.e. the two variables are independent from each other).

Test of Independence Procedure Set up the null and alternative hypotheses; Select a random sample and record the observed frequency, fij, for each cell of the contingency table; Assuming H0 is true, compute the expected frequency, eij, for each cell as follows:

Test of Independence Procedure Compute the test statistic Determine the rejection rule Reject H0 if p -value < a or . where a is the significance level and, with n rows and m columns, there are (n - 1)(m - 1) degrees of freedom.

Test of Independence Example: Field of Study The following table shows the results of recent study regarding gender of individuals and their selected field of study. Field of Study Medicine Business Engineering Total Male 80 60 160 300 Female 40 20 100 120 200 400

Test of Independence Example: Field of Study Hypothesis H0: Field of study is independent of gender Ha: Field of study is not independent of gender

Test of Independence Example: Field of Study Expected Frequencies Medicine Business Engineering Total Male 300*120/400=90 300*80/400 =60 300*200/400=150 300 Female 100*120/400=30 100*80/400 =20 100*200/400=50 100 120 80 200 400

Reject H0 if p-value < =.05 Test of Independence Example: Field of Study Rejection Rule Reject H0 if p-value < =.05 or 2 > 5.99 [d.f. = (2-1)(3-1)=2]. Test Statistic = 1.11 + 0 + . . . + 2 = 7.11

Test of Independence Example: Field of Study p-Value Approach Area in Upper Tail .10 .05 .025 .01 .005 c2 Value (df = 2) 4.6 5.99 7.38 9.21 10.60 Because c2 = 7.11 is between 5.99 and 7.38, the area in the upper tail of the distribution is between .05 and .025. The p-value <  = .05. We can reject the null hypothesis.

Test of Independence Example: Field of Study Critical Value Approach We reject, at the .05 level of significance, the null hypothesis that the selected field of study is independent of gender.