Ka-fu Wong © 2003 Chap 15- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.

Slides:



Advertisements
Similar presentations
CHI-SQUARE(X2) DISTRIBUTION
Advertisements

Goodness Of Fit. For example, suppose there are four entrances to a building. You want to know if the four entrances are equally used. You observe 400.
15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Chapter 12 Goodness-of-Fit Tests and Contingency Analysis
Inference about the Difference Between the
1 1 Slide © 2009 Econ-2030-Applied Statistics-Dr. Tadesse. Chapter 11: Comparisons Involving Proportions and a Test of Independence n Inferences About.
Chapter 14 Analysis of Categorical Data
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
Chapter Goals After completing this chapter, you should be able to:
CHAPTER 11: CHI-SQUARE TESTS.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Thirteen Nonparametric Methods: Chi-Square Applications GOALS.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
BCOR 1020 Business Statistics
Chi-Square Tests and the F-Distribution
Quiz 10  Goodness-of-fit test  Test of independence.
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
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.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
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.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Nonparametric Methods: Chi- Square Applications Chapter 17.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
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 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.
Chi-Square. All the tests we’ve learned so far assume that our data is normally distributed z-test t-test We test hypotheses about parameters of these.
Nonparametric Methods: Goodness of Fit Tests Chapter 17 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
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
Slide Slide 1 Section 8-6 Testing a Claim About a Standard Deviation or Variance.
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.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
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.
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.
Nonparametric Methods: Goodness-of-Fit Tests Chapter 15 Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
1 Math 10 M Geraghty Part 8 Chi-square and ANOVA tests © Maurice Geraghty 2015.
Copyright © 2004 McGraw-Hill Ryerson Limited. All rights reserved
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 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.
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Nonparametric Methods: Chi-square Distribution.
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.
Chi-Square Applications Chapter GOALS 1. List the characteristics of the chi-square distribution. 2. Conduct a test of hypothesis comparing an.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Nonparametric Methods: Chi-Square Applications
Nonparametric Methods: Goodness-of-Fit Tests
Test of independence: Contingency Table
Chapter 12 Chi-Square Tests and Nonparametric Tests
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chi-Square Applications
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Nonparametric Methods: Goodness-of-Fit Tests
Inferential Statistics and Probability a Holistic Approach
Econ 3790: Business and Economics Statistics
Inferential Statistics and Probability a Holistic Approach
Chapter 11 Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Presentation transcript:

Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data

Ka-fu Wong © 2003 Chap l GOALS 1.List the characteristics of the Chi-square distribution. 2.Conduct a test of hypothesis comparing an observed set of frequencies to an expected set of frequencies. 3.Conduct a test of hypothesis for normality using the chi-square distribution. 4.Conduct a hypothesis test to determine whether two classification criteria are related. Chapter Fifteen Nonparametric Methods: Chi-Square Applications

Ka-fu Wong © 2003 Chap Characteristics of the Chi-Square Distribution The major characteristics of the chi-square distribution are: It is positively skewed. It is non-negative. It is based on degrees of freedom. When the degrees of freedom change a new distribution is created. Chi-square distribution is characterized by only one degree of freedom. F distribution is characterized by two degree of freedom. Similar to F distri- bution

Ka-fu Wong © 2003 Chap df = 3 df = 5 df = 10 

Ka-fu Wong © 2003 Chap Goodness-of-Fit Test: Equal Expected Frequencies Let f 0 and f e be the observed and expected frequencies respectively. H 0 : There is no difference between the observed and expected frequencies. H 1 : There is a difference between the observed and the expected frequencies.

Ka-fu Wong © 2003 Chap Goodness-of-fit Test: Equal Expected Frequencies The test statistic is: The critical value is a chi-square value with (k-1) degrees of freedom, where k is the number of categories

Ka-fu Wong © 2003 Chap EXAMPLE 1 The following information shows the number of employees absent by day of the week at a large a manufacturing plant. At the.05 level of significance, is there a difference in the absence rate by day of the week? DayFrequency Monday120 Tuesday45 Wednesday60 Thursday90 Friday130 Total445

Ka-fu Wong © 2003 Chap EXAMPLE 1 continued Assume equal expected frequency: ( )/5=89. The degrees of freedom is (5-1)=4. The critical value is Use Appendix I in the textbook.

Ka-fu Wong © 2003 Chap Example 1 continued DayFrequencyExpected(f 0 -f e ) 2 /f e Monday Tuesday Wednesday Thursday Friday Total Because the computed value of chi-square is greater than the critical value (9.488), H 0 is rejected. We conclude that there is a difference in the number of workers absent by day of the week.

Ka-fu Wong © 2003 Chap EXAMPLE 2 The U.S. Bureau of the Census indicated that 63.9% of the population is married, 7.7% widowed, 6.9% divorced (and not re-married), and 21.5% single (never been married). A sample of 500 adults from the Philadelphia area showed that 310 were married, 40 widowed, 30 divorced, and 120 single. At the.05 significance level can we conclude that the Philadelphia area is different from the U.S. as a whole?

Ka-fu Wong © 2003 Chap EXAMPLE 2 continued

Ka-fu Wong © 2003 Chap EXAMPLE 2 continued Step 1: H 0 : The distribution has not changed H 1 : The distribution has changed. Step 2: H 0 is rejected if  2 >7.815, df=3,  =.05 Step 3:  2 = Step 4: The null hypothesis is rejected. The distribution regarding marital status in Philadelphia is different from the rest of the United States.

Ka-fu Wong © 2003 Chap Goodness-of-Fit Test for Normality This test investigates if the observed frequencies in a frequency distribution match the theoretical normal distribution. The procedure is to determine the mean and standard deviation of the frequency distribution. Compute the z-value for the lower class limit and the upper class limit for each class. Determine f e for each category Use the chi-square goodness-of-fit test to determine if f o coincides with f e.

Ka-fu Wong © 2003 Chap EXAMPLE 3 A sample of 500 donations to the Arthritis Foundation is reported in the following frequency distribution. Is it reasonable to conclude that the distribution is normally distributed with a mean of $10 and a standard deviation of $2? Use the.05 significance level. Amount spentF0F0 <$620 $6 up to $860 $8 up to $10140 $10 up to $12120 $12 up to $1490 > $1470 Total500

Ka-fu Wong © 2003 Chap Example 3 continued To compute f e for the first class, first determine the z-value. Find the probability of a z-value less than – 2.00 The expected frequency is the probability of a z-value less that –2.00 times the samples size. f e = (.0228)(500) = 11.4 The other expected frequencies are computed similarly.

Ka-fu Wong © 2003 Chap EXAMPLE 3 continued Amount spentF0Areafefe (f 0 -f e ) 2 /f e <$ $6 up to $ $8 up to $ $10 up to $ $12 up to $ > $ Total

Ka-fu Wong © 2003 Chap EXAMPLE 3 continued Step 1: H 0 : The observations follow the normal distribution. H 1 : The observations do not follow a normal distribution. Step 2: H 0 is rejected if  2 is greater than There are 6 degrees of freedom and  is.05. Step 3: The computed value of  2 is Step 4: H 0 is rejected. The observations do not follow the normal distribution. Amount spentF0Areafefe (f 0 -f e ) 2 /f e <$ $6 up to $ $8 up to $ $10 up to $ $12 up to $ > $ Total

Ka-fu Wong © 2003 Chap Contingency Table Analysis A contingency table is used to investigate whether two traits or characteristics are related. Each observation is classified according to two criteria. We use the usual hypothesis testing procedure. The degrees of freedom is equal to: (number of rows- 1)(number of columns-1). The expected frequency is computed as: Expected Frequency = (row total)(column total)/grand total

Ka-fu Wong © 2003 Chap EXAMPLE 4 Is there a relationship between the location of an accident and the gender of the person involved in the accident? A sample of 150 accidents reported to the police were classified by type and gender. At the.05 level of significance, can we conclude that gender and the location of the accident are related?

Ka-fu Wong © 2003 Chap EXAMPLE 4 continued The expected relative frequency for work is 80/150. The expected relative frequency for male is 90/150. The expected relative frequency for the work-male intersection under the hypothesis that there is no relationship between work and male is (90/150)(80/150). The expected relative frequency for the work-male intersection under the hypothesis that there is no relationship between work and male is (90/150)(80/150)*150 = 48. Similarly, we can compute the expected frequencies for the other cells.

Ka-fu Wong © 2003 Chap EXAMPLE 4 continued Step 1: H 0 : Gender and location are not related. H 1 : Gender and location are related. Step 2: H 0 is rejected if the computed value of  2 is greater than There are (3- 1)(2-1) = 2 degrees of freedom. Step 3: Find the value of  2.  2 =(60-48) 2 /48 + … + (10-8) 2 /8 = Step 4: H 0 is rejected. Gender and location are related. Expected frequency in parentheses

Ka-fu Wong © 2003 Chap END - Chapter Fifteen Nonparametric Methods: Chi-Square Applications