CHAPTER 5 INTRODUCTORY CHI-SQUARE TEST This chapter introduces a new probability distribution called the chi-square distribution. This chi-square distribution.

Slides:



Advertisements
Similar presentations
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Advertisements

15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
The Analysis of Categorical Data and Goodness of Fit Tests
Discrete (Categorical) Data Analysis
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Homogeneity.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
Chapter 16 Chi Squared Tests.
Chi-Square Tests and the F-Distribution
Presentation 12 Chi-Square test.
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.
Chi-Square Distributions
GOODNESS OF FIT TEST & CONTINGENCY TABLE
Hypothesis Testing.
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.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 10 Inferring Population Means.
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 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 Pertemuan 11 Uji kebaikan Suai dan Uji Independen Mata kuliah : A Statistik Ekonomi Tahun: 2010.
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
Chapter 11 The Chi-Square Test of Association/Independence Target Goal: I can perform a chi-square test for association/independence to determine whether.
13.2 Chi-Square Test for Homogeneity & Independence AP Statistics.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
Chapter 14: Chi-Square Procedures – Test for Goodness of Fit.
CHI SQUARE TESTS.
Other Chi-Square Tests
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics: A First Course Fifth Edition.
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.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 2 methods.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
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.
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.
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 12 The Analysis of Categorical Data and Goodness of Fit Tests.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 3 methods.
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 Goodness of Fit Test. In general, the chi-square test statistic is of the form If the computed test statistic is large, then the observed and.
Comparing Counts Chapter 26. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
Chi-Squared Test of Homogeneity Are different populations the same across some characteristic?
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 11 Multinomial Experiments and Contingency Tables 11-1 Overview 11-2 Multinomial Experiments:
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 10 l Non-Parametric Statistics 10.1 The Chi-Square Tests: Goodness-of-fit Test.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Comparing Observed Distributions A test comparing the distribution of counts for two or more groups on the same categorical variable is called a chi-square.
Goodness-of-Fit and Contingency Tables Chapter 11.
Comparing Counts Chi Square Tests Independence.
Non-Parametric Statistics
Presentation 12 Chi-Square test.
5.1 INTRODUCTORY CHI-SQUARE TEST
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
1) A bicycle safety organization claims that fatal bicycle accidents are uniformly distributed throughout the week. The table shows the day of the week.
Chapter 11 Goodness-of-Fit and Contingency Tables
Testing for Independence
Chapter 11 Chi-Square Tests.
Inference on Categorical Data
Analyzing the Association Between Categorical Variables
Chapter 11 Chi-Square Tests.
Presentation transcript:

CHAPTER 5 INTRODUCTORY CHI-SQUARE TEST This chapter introduces a new probability distribution called the chi-square distribution. This chi-square distribution will be used in carrying out hypothesis to analyze whether: i.A sample could have come from a given type of POPULATION DISTRIBUTION. ii.Two nominal variable/categorical variable could be INDEPENDENT and HOMOGENEOUS of each other. The chi-square test that will be discussed are: i.Goodness-of-fit Test ii.The Chi-square Test For Homogeneity iii. The Chi-square Test For Independence

1) Goodness-of-fit Test In Goodness-of-fit test, chi-square analysis is applied for the purpose of examine whether sample data could have been drawn from a population having a specific probability distribution. In Goodness-of-fit test, the test procedures are appropriate when the following conditions are met : i.The sampling method is simple random sampling. ii.The population is at least 10 times as large as the sample. iii.The variable under study is categorical (qualitative variable). iv.The expected value (e i ) for each level of the variable is at least 5.

The table frequency distribution layout: where Test procedure to run the Goodness-of-fit test: 1.State the null hypothesis and alternative hypothesis 2.Determine: i. The level of significance, ii. The degree of freedom, Find the value of from the table of chi-square distribution Category12… k Frequency…

3.Calculate the value of where the 4.Determine the rejection region to reject : i. or ii.. 5.Make decision/conclusion.

Example: The authority claims that the proportions of road accidents occurring in this country according to the categories User attitude (A), Mechanical Fault (M), Insufficient Sign Board (I) and Fate (F) are 60%, 20%, 15% and 5% respectively. A study by an independent body shows the following data. Can we accept the claim at significance level ? Solution: 1. CategoryAMIFTotal Frequency

Since. Thus we accept 5.We conclude that we have no evidence to reject the claim.

Example: The number of students playing truancy in a school over 200 school days is showing below. If X is a random variable representing the number of students playing truancy per day, test the hypothesis that X follows the Poisson distribution with mean 3 per day at No. of truancy01234 No of days Solution:

3) 4) Since 4.472<15.086, so we accept Ho. 5) We conclude that there is not enough evidence to reject the claim. # of truancy # of days, (0.0498)= (0.1493) = (0.2241) = (0.2240) = (0.1681) = (0.1847)=

2)The Chi-Square Test for Homogeneity The homogeneity test is used to determine whether several populations are similar or equal or homogeneous in some characteristics. This test is applied to a single categorical variable from two different population The test procedure is appropriate when satisfy the below conditions : i.For each population, the sampling method is simple random sampling ii.Each population is at least 10 times as large as the sample iii.The variable under study is categorical iv.If sample data are displayed in contingency table (population x category levels), the expected value (e i ) for each cell of the table is at least 5.

Two dimensional Contingency Table layout: The above is contingency table ( r x c ) where r denotes as the number of categories of the row variable, c denotes as the number of categories of the column variable is the observed frequency in cell i, j be the total frequency for row category i be the total frequency for column category j be the grand total frequency for all cell ( i, j ) Column Variable Category B 1 Category B 2 …Category B c Total Row Variable Category A 1 … Category A 2 … Category ……………… Category A r … Total…

Test procedure to run Chi-square test for homogeneity: 1.State the null hypothesis and alternative hypothesis Eg: 2.Determine: i. The level of significance, ii. The degree of freedom, where Find the value of from the table of chi-square distribution 3. Calculate the value of using the formula below:

4.Determine the rejection region TO REJECT Ho: i. If ii. If p – value approach; 5.Make decision

Example: Four machines manufacture cylindrical steel pins. The pins are subjected to a diameter specification. A pin may meet the specification or it may be too thin or too thick. Pins are sampled from each machine and the number of pins in each category is counted. Table below presents the results. Test Too thinOKToo Thick Machine Machine Machine Machine

Solution: From table of chi-square: 3.Construct a contingency table: Calculation of the expected frequency: Too thinOKToo ThickTotal Machine Machine Machine Machine Total

Using the observed and expected frequency in the contingency table, we calculate using the formula given:

4. 5.

Exercise: 200 female owners and 200 male owners of Proton cars selected at random and the colour of their cars are noted. The following data shows the results: Use a 1% significance level to test whether the proportions of colour preference are the same for female and male. Car Colour BlackDullBright GenderMale Female

3)Chi-Square Test for Independence This test is applied to a single population which has 2 categorical variables. To determine whether there is a significant association between the 2 categorical variables. Eg : In an election survey, voter might be classified by gender (female and male) and voting preferences (democrate,republican or independent). This test is used to determine whether gender is related to voting preferences. The test is appropriated if the following are met : 1.The sampling method is simple random sampling ii.Each population is at least 10 times as large as the sample iii.The variable under study is categorical iv.If sample data are displayed in contingency table (population x category levels), the expected value for each cell of the table is at least 5.

Note: The procedure for the Chi-square test for independence is the same as the Chi-square test for homogeneity. The only different between these two test is at the determination of the null and alternative hypothesis. The rest of the procedure are the same for both tests. This theorem is useful in testing the following hypothesis:

Example: Insomnia is disease where a person finds it hard to sleep at night. A study is conducted to determine whether the two attributes, smoking habit and insomnia disease are dependent. The following data set was obtained. Use a 5% significance level to conduct the study. Insomnia YesNo HabitNon-smokers1070 Ex-smokers832 Smokers2238

Solution: The contingency table Insomnia YesNoTotal HabitNon-smokers Ex-smokers83240 Smokers Total

3.Using the observed and expected frequency in the contingency table, we calculate using the formula given:

4.Since 5.We conclude that the smoking habit and insomnia disease are not independent.

Exercise: A study is conducted to determine whether student’s academic performance are independent of their active in co-curricular activities. The following data set was obtained: Use a 5% significance level to conduct the study. Academic Performance LowFairGood Co-curricular Activities Inactive Active309060