Chapter 18 Chi-Square Tests.  2 Distribution Let x 1, x 2,.. x n be a random sample from a normal distribution with  and  2, and let s 2 be the sample.

Slides:



Advertisements
Similar presentations
Contingency Tables For Tests of Independence. Multinomials Over Various Categories Thus far the situation where there are multiple outcomes for the qualitative.
Advertisements

CHI-SQUARE(X2) DISTRIBUTION
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
© 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.
Applications of the Chi-Square Statistic Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Chapter 16 Chi Squared Tests.
CHAPTER 11: CHI-SQUARE TESTS.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
11-2 Goodness-of-Fit In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way.
BCOR 1020 Business Statistics
Chi-Square Tests and the F-Distribution
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.
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.
EDRS 6208 Analysis and Interpretation of Data Non Parametric Tests
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
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: 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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 11 Goodness of Fit Test (section 11.2)
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chapter 16 – Categorical Data Analysis Math 22 Introductory Statistics.
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
Copyright © 2009 Cengage Learning 15.1 Chapter 16 Chi-Squared Tests.
1 Pertemuan 11 Uji kebaikan Suai dan Uji Independen Mata kuliah : A Statistik Ekonomi Tahun: 2010.
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.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Introduction Many experiments result in measurements that are qualitative or categorical rather than quantitative. Humans classified by ethnic origin Hair.
Other Chi-Square Tests
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
Chapter 10 Chi-Square Tests and the F-Distribution
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
© 2000 Prentice-Hall, Inc. Statistics The Chi-Square Test & The Analysis of Contingency Tables Chapter 13.
Other Chi-Square Tests
AP Statistics Section 14.. The main objective of Chapter 14 is to test claims about qualitative data consisting of frequency counts for different categories.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter Outline Goodness of Fit test Test of Independence.
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 Chapter 10. Section 10.1 and 10.2 Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
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.
Statistics 300: Elementary Statistics Section 11-2.
MATH 4030 – 11A ANALYSIS OF R X C TABLES (GOODNESS-OF-FIT TEST) 1.
381 Goodness of Fit Tests QSCI 381 – Lecture 40 (Larson and Farber, Sect 10.1)
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Statistics 300: Elementary Statistics Section 11-3.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Goodness-of-Fit and Contingency Tables Chapter 11.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
©2006 Thomson/South-Western 1 Chapter 12 – Analysis of Categorical Data Slides prepared by Jeff Heyl Lincoln University ©2006 Thomson/South-Western Concise.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 18 Chi-Square Tests
CHAPTER 11 CHI-SQUARE TESTS
Overview and Chi-Square
Chapter 13 – Applications of the Chi-Square Statistic
CHAPTER 11 CHI-SQUARE TESTS
Chapter Outline Goodness of Fit test Test of Independence.
Presentation transcript:

Chapter 18 Chi-Square Tests

 2 Distribution Let x 1, x 2,.. x n be a random sample from a normal distribution with  and  2, and let s 2 be the sample variance, then the random variable (n-1)s 2 /  2 has  2 distribution with n-1 degrees of freedom. Probability Density Function, with k degrees of freedom, Mean Variance Mode = k-2 (when k  3)

 2 Distribution fr.academic.ru/pictures/frwiki/67/Chi-square_..

 2 Distribution Goodness-of-fit Tests Tests of Independence Tests of Homogeneity

Multinominal Experiments A Multinomial experiment is a statistical experiment that has the following properties: It consists of n repeated trials (repetitions). Each trial can result in one of k possible outcomes. The trials are independent. The probabilities of the various events remain constant for each trial.

Goodness-of-fit Test Observed Frequencies (O i ): Frequencies obtained from the actual performance of an experiment. Goodness-of-fit Test: Test of null hypothesis that the observed frequencies follow certain pattern or theoretical distributions, expressed by the Expected Frequencies (E i ).

Goodness-of-fit Test for Multinominal Experiments Degree of freedom = k -1, where k is the number of categories Chi-square goodness-of-fit test is always a right-tailed test Sample size should be large enough so that the expected frequency for each category is at least 5.

Goodness-of-fit Test for Multinominal Experiments Alt. HypothesisP-valueRejection Criterion H1H1 P(  2 >  0 2 )  0 2 >  2 ,k-1 Null Hypothesis: H 0 : the observed frequencies follow certain pattern Test statistic: Degree of Freedom = k -1

Goodness-of-fit Test for Multinominal Experiments -- Example 18.1 Department stores in shopping mall H 0 : p 1 = p 2 = p 3 = p 4 = p 5 =.20 H 1 : At least 2 of p i .20  =.01, df = 5 -1 = 4 Test statistic: Critical value: .01,4 = P-value = Reject H 0 OiOi EiEi O i -E i (O i -E i ) 2 (O i -E i ) 2 /E i

Goodness-of-fit Test for Multinominal Experiments -- Example 18.2 Market shares H 0 : p 1 =.144, p 2 =.181, p 3 =.248, p 4 =.141, p 5 =.149, p 6 =.137 H 1 : At least 2 of p i are different  =.025, df = 6 -1 = 5 Test statistic: Critical value: .025,5 = P-value =.1252 Fail to reject H 0 OiOi EiEi O i -E i (O i -E i ) 2 (O i -E i ) 2 /E i

Test of Independence for a Contingency Table Contingency Table Columns 12…c Rows1O 11 O 12 …O 1c u1u1 2O 21 O 22 …O 2c u2u2 ……………… rO r1 O r2 …O rc urur 1 2 c

Alt. HypothesisP-valueRejection Criterion H1H1 P(  2 >  0 2 )  0 2 >  2 ,df Null Hypothesis: H 0 : The two attributes are independent Alt. Hypothesis: H 1 : The two attributes are dependent Test statistic: Degree of Freedom = (r-1)(c-1) Test of Independence for a Contingency Table

Test of Independence for a Contingency Table – Example 18.3 Contingency Table O ij SupportAgainstNo OpinionTotaluiui Female Male Total j E ij SupportAgainstNo Opinion Female Male

Null Hypothesis: H 0 : The two attributes are independent Alt. Hypothesis: H 1 : The two attributes are dependent Test statistic: Degree of Freedom = (r-1)(c-1) = (2-1)(3-1) = 2 Critical value: .025,2 = P-value =.0161 Reject H 0 Test of Independence for a Contingency Table – Example 18.4

Test of Independence for a Contingency Table – Example 18.5 Contingency Table O ij GoodDefectiveTotaluiui Mac Mac Total j E ij GoodDefective Mac Mac 27010

Null Hypothesis: H 0 : The two attributes are independent Alt. Hypothesis: H 1 : The two attributes are dependent Test statistic: Degree of Freedom = (r-1)(c-1) = (2-1)(2-1) = 1 Critical value: .01,1 = P-value =.0809 Fail to reject H 0 Test of Independence for a Contingency Table – Example 18.5

Test of Homogeneity Similar to the test of independence If row/column totals are fixed, perform a test of homogeneity Columns 12…c Rows1O 11 O 12 …O 1c u1u1 2O 21 O 22 …O 2c u2u2 ……………… rO r1 O r2 …O rc urur 1 2 c

Alt. HypothesisP-valueRejection Criterion H1H1 P(  2 >  0 2 )  0 2 >  2 ,df Null Hypothesis: H 0 : two sets of data are homogeneous Alt. Hypothesis: H 1 : sets of data are not homogeneous Test statistic: Degree of Freedom = (r-1)(c-1) Test of Homogeneity

Test of Independence for a Contingency Table – Example 18.6 Contingency Table O ij Calif.NYTotaluiui Very Satis Somewhat Sat Somewhat Dissat Very Dissatis Total j E ij Calif.NY Very Satis Somewhat Sat Somewhat Dissat Very Dissatis

Null Hypothesis: H 0 : The two states are homogeneous Alt. Hypothesis: H 1 : The two states are not homogeneous Test statistic: Degree of Freedom = (r-1)(c-1) = (4-1)(2-1) = 3 Critical value: .025,3 = P-value = E-9 Reject H 0 Test of Independence for a Contingency Table – Example 18.6