Chi-Square Chapter 14. Chi Square Introduction A population can be divided according to gender, age group, type of personality, marital status, religion,

Slides:



Advertisements
Similar presentations
Chapter 11 Other Chi-Squared Tests
Advertisements

15- 1 Chapter Fifteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Basic Statistics The Chi Square Test of Independence.
The Chi-Square Test for Association
CHAPTER 23: Two Categorical Variables The Chi-Square Test ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture.
Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
Statistics Are Fun! Analysis of Variance
Chi-square Test of Independence
Statistics 303 Chapter 9 Two-Way Tables. Relationships Between Two Categorical Variables Relationships between two categorical variables –Depending on.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
Presentation 12 Chi-Square test.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
Chapter 10 Analyzing the Association Between Categorical Variables
How Can We Test whether Categorical Variables are Independent?
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.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. 1.. Section 11-2 Goodness of Fit.
Chi-square test or c2 test
1 Chi-Square Heibatollah Baghi, and Mastee Badii.
Review of the Basic Logic of NHST Significance tests are used to accept or reject the null hypothesis. This is done by studying the sampling distribution.
Chapter-8 Chi-square test. Ⅰ The mathematical properties of chi-square distribution  Types of chi-square tests  Chi-square test  Chi-square distribution.
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
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.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
1 Chapter 11: Analyzing the Association Between Categorical Variables Section 11.1: What is Independence and What is Association?
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.
Chapter 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
12/23/2015Slide 1 The chi-square test of independence is one of the most frequently used hypothesis tests in the social sciences because it can be used.
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.
ContentFurther guidance  Hypothesis testing involves making a conjecture (assumption) about some facet of our world, collecting data from a sample,
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
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.
Statistics 300: Elementary Statistics Section 11-3.
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 Procedures Chapter 14. Chi-Square Goodness-of-Fit Tests Section 14.1.
The  2 (chi-squared) test for independence. One way of finding out is to perform a  2 (chi-squared) test for independence. We might want to find out.
Basic Statistics The Chi Square Test of Independence.
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chi-Square hypothesis testing
Chi-square test or c2 test
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Chapter 12 Tests with Qualitative Data
Qualitative data – tests of association
1) A bicycle safety organization claims that fatal bicycle accidents are uniformly distributed throughout the week. The table shows the day of the week.
Consider this table: The Χ2 Test of Independence
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 10 Analyzing the Association Between Categorical Variables
Chapter 11 Chi-Square Tests.
The 2 (chi-squared) test for independence
Analyzing the Association Between Categorical Variables
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Presentation transcript:

Chi-Square Chapter 14

Chi Square Introduction A population can be divided according to gender, age group, type of personality, marital status, religion, annual income, political affiliation, education, and more. These division are known as classifications of the population. In this chapter, we will explore a technique that determines if two classifications of a population are independent (unrelated) ore dependent (related). Here are some of the questions that we can ask:

Chi Square Introduction Are annual income and education dependent or independent? If they are dependent, we would expect people with low levels of education to have low incomes and people with high levels of education to have high incomes. If they are independent, we expect people with high levels of education to have low incomes and people with low levels of education to have high incomes.

Chi Square Introduction Are movie preference and gender dependent or independent? If they are dependent, then the relationship between classifications might be that females generally prefer romance type movies and males generally prefer adventure type movies. If they are independent, then knowing one’s gender would not give you a clue to their movie preference.

Chi Square Introduction Are male personality types and incidence of heart attack dependent or independent? If they are dependent, then we might expect to find males with type A personalities more susceptible to heart attacks than others types. If they are independent, the one’s personality has no relation to the incidence of heart attack.

Chi Square Introduction The chi-square test of independence is a statistical technique used to investigate whether the classifications of a population are related. A random sample is selected from a population. The sample data is separated into different categories for each classification of the population.

Chi Square Introduction The number of responses falling into the categories for each classification are recorded into a table. These are called observed frequencies. The table is referred to as a contingency table.

A contingency table always has a row classification, and a column classification. Here, the column classification is movie preference, separated into 5 categories: romance, comedy, drama, adventure, and mystery. The row classification is gender, which is separated into two categories, male and female. Each individual table entry is called a cell.

Some observed frequencies we notice from this contingency table: The number of males who prefer adventure movies over all other types of movies is 40. The number of females who prefer romance movies over all other type of movies is 50. There are a total of 90 males. There are 45 people who prefer comedy movies over all other types of movies.

Observed vs. Expected Frequencies Consider that there are a total of 90 men and 110 women. If there are 60 people who like romance movies best… and gender and movie preference are independent, then how many males and females would you expect to like romance movies? We would expect 27 men and 33 women to like romance movies. These are called expected values.

Observed vs. Expected Frequencies The values in the contingency table are observed values, taken from a particular sample. To test whether the two classifications, gender and movie preference, are related, we’ll compare the observed frequencies to expected frequencies. The expected frequencies will be determined assuming that there is no dependence between the two classifications. Expected frequencies can be found with the formula:

Observed vs. Expected Frequencies The comparison of the observed frequencies and expected frequencies (assuming independence) is calculated using a formula: Χ 2 is called the Pearson’s chi-squared test statistic. O is the observed frequency of a cell in the table. E is the expected frequency of a cell in the table.

Properties of the Chi-Square Distribution The value of χ 2 is never negative. It is always either 0 or greater. The graph of the chi-square distribution is not- symmetric. It is skewed right and extends infinitely to the right of 0. Smaller values of χ 2 Larger values of χ 2

Chi-Square Hypothesis Test for Independence – Example 13.1 A study was conducted at the 1% level of significance to determine if there was a relationship between gender and one’s view on capital punishment. A random sample of 100 adults was selected and asked their opinion on the question: “Do you believe that the death penalty should be given to those convicted of first degree murder?” Based on these results, can we conclude that there is a relationship between gender and one’s view on capital punishment at α=1%?

Chi-Square Hypothesis Test for Independence – Example 13.1

Step 1: Formulate the hypotheses H 0 will always have the form: the population classifications are independent. i.e. the classifications have no relationship. H a will always have the form: the population classifications are dependent. i.e. the classifications have a relationship. Chi-Square Hypothesis Test for Independence – Example 13.1

Step 1: Formulate the hypotheses H 0 : The population classifications gender and one’s view on capital punishment are independent. H a : The population classifications gender and one’s view on capital punishment are dependent.

All chi-square test curves will look like similar to this, with the specific α identified, and the value for χ 2 α identified. Chi-Square Hypothesis Test for Independence – Example 13.1

Step 4: Analyze the sample data We will calculate Pearson’s χ 2 statistic using the TI- 83/84. Before running the test, we will input the contingency table into a matrix on the calculator. In math, a matrix is a collection of quantities arranged by rows and columns. We can use the views on capital punishment table to build a matrix. The matrix will not contain row or column totals. Chi-Square Hypothesis Test for Independence – Example 13.1

Practice with using the Matrix feature on the TI 83/84 You can input a matrix into your calculator by pressing: 2 nd -> Matrix-> Edit -> 1:[A] -> enter This matrix will have 2 rows and 3 columns: 2 x 3 Enter the numbers and use the arrow keys to move through the matrix

Step 4: Analyze the sample data - continued To run the χ 2 –Test on the calculator: STAT->TESTS->C: χ 2 –Test To put a new matrix name into the χ 2 –Test entry screen: 2 nd -> Matrix ->1:[A] Scroll down to “Calculate” and hit enter. The test statistic is the χ 2 value at the top, and the p- value is just under it. Chi-Square Hypothesis Test for Independence – Example 13.1

Chi-Square Hypothesis Test for Independence (p-Values) – Example 13.2 A study was conducted to determine if there is a significant relationship between the frequency of times meat is served as a main meal per month for individuals living in the eastern, central, and western United States. A questionnaire was administered to a random sample of 300 families and the results are summarized in the table.

Do these sample results indicated that there is a significant relationship between the frequency of meat served as a main meal per month and geographic living area at α=5%? Step 1: Formulate the hypotheses H 0 : The population classifications frequency of meat served as a main meal per month and geographic living area are independent. H a : The population classifications frequency of meat served as a main meal per month and geographic living area are dependent. Chi-Square Hypothesis Test for Independence (p-Values) – Example 13.2

Step 2: Determine the model to test the null hypothesis, H 0. The hypothesis testing model is a chi-square distribution. Chi-Square Hypothesis Test for Independence (p-Values) – Example 13.2

Step 3: Formulate the decision rule The level of significance is α=5%. Decision Rule: Reject H 0 if the p-value of the χ 2 test statistic less than is α=5%. Chi-Square Hypothesis Test for Independence (p-Values) – Example 13.2

Step 4. Analyze the sample data and find the p-value. STAT->Tests->C: χ 2 –Test Observed: [A] where [A] is the matrix with the observed frequencies. Expected: [B] This is where the calculator will put the expected frequencies. Calculate -> Enter χ 2 = P-value = 3.32E-4 =

Chi-Square Hypothesis Test for Independence (p-Values) – Example 13.2 Step 5. State the conclusion. Since the p-value of the χ 2 test statistic, , is less than α=5%, we reject H 0 and accept H a at α=5%. Therefore, there is a statistically significant relationship between the frequency of times meat is served as a main meal and one’s geographic living location at α=5%. The classifications are dependent.

pg 715

pg 714