Chapter 11 Chi Square Distribution and Its applications.

Slides:



Advertisements
Similar presentations
CHI-SQUARE(X2) DISTRIBUTION
Advertisements

Inference about the Difference Between the
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 14 Goodness-of-Fit Tests and Categorical Data Analysis.
Chi-Square Analysis Test of Independence. We will now apply the principles of Chi-Square analysis to determine if two variables are independent of one.
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.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data 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.
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 Psych 5500/6500 Chi-Square (Part Two) Test for Association Fall, 2008.
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.
 Involves testing a hypothesis.  There is no single parameter to estimate.  Considers all categories to give an overall idea of whether the observed.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
For testing significance of patterns in qualitative data Test statistic is based on counts that represent the number of items that fall in each category.
Two Variable Statistics
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
Chapter 11 The Chi-Square Test of Association/Independence Target Goal: I can perform a chi-square test for association/independence to determine whether.
FPP 28 Chi-square test. More types of inference for nominal variables Nominal data is categorical with more than two categories Compare observed frequencies.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
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.
© 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.
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,
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 © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Chi square and Hardy-Weinberg
Chi-Squared Test of Homogeneity Are different populations the same across some characteristic?
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.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
12.2 Tests for Homogeneity and Independence in a two-way table Wednesday, June 22, 2016.
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.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Chi Square Test Dr. Asif Rehman.
Comparing Counts Chi Square Tests Independence.
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.
Chi-Square hypothesis testing
Chapter 9: Non-parametric Tests
Presentation 12 Chi-Square test.
Chapter 11 Chi-Square Tests.
Active Learning Lecture Slides
Chi-squared Distribution
The Chi-Square Distribution and Test for Independence
Chi Square Two-way Tables
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Part IV Significantly Different Using Inferential Statistics
Econ 3790: Business and Economics Statistics
Chapter 10 Analyzing the Association Between Categorical Variables
Contingency Tables: Independence and Homogeneity
Chapter 11 Chi-Square Tests.
Inference on Categorical Data
Analyzing the Association Between Categorical Variables
Inference for Two Way Tables
Chapter 11 Chi-Square Tests.
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Chi Square Test of Homogeneity
Lecture 46 Section 14.5 Wed, Apr 13, 2005
Presentation transcript:

Chapter 11 Chi Square Distribution and Its applications

What is a Chi Square? Chi Square is another probability distribution (like Normal and Student t) Symbol: χ 2 Picture 0

What is a Chi Square? (cont) Features: Mode (i.e. Peak) at n – 2. Degrees of Freedom = n – 2. 0

Why χ 2 ? The χ 2 distribution allows you to test the independence of two factors. For instance, what about getting a tattoo and the frequency of Hepatitis C? What if you got the tattoo in a tattoo parlor? What if your cousin Dwayne gave you that great tattoo of Count Chocula ? The Chi Squared test for independence allows you to decide whether the chance of having hepatitis is independent of the tattoo status.

Requirements 1. Counted Data Condition: Data must be in counts 2. Randomization Condition: Individuals who have been counted should be a random sample from some population. 3. Expected Cell Frequency Condition: The expected values (which you will calculate) should all be at least 5.

What to do? Use a contingency table to find the differences between observed and expected values.

What to do? Use a contingency table to find the differences between observed and expected values. d.f. = (R-1)(C-1) where R and C are the number of rows/columns

Lets Try one We have counts of 626 individuals categorized according to their “tattoo status” and their “hepatitis status”. Hep CNo Hep C Total Tattoo, Parlor Tattoo, Elsewhere No Tattoo Total

We want to test whether tattoo status and hepatitis status are independent. H O : Tattoo status and hepatitis status are independent H A : Tattoo status and hepatitis status are not independent Check the conditions: 1. Counts of data categorized 2. While you don’t have the information, you can assume that they were selected to avoid biases. 3. We’ll find out when we determine E for each cell

Compute E Hep CNo Hep C Total Tattoo, Parlor Tattoo, Elsewhere No Tattoo Total

Notice There are some values below 5 – we’ll continue from here for the sake of the data. What are the degrees of freedom? Find the χ 2 value. Using a table, the value for P( χ 2 >57.91) Less than.0001

Conclusion The P-value is very small, so I reject the null hypothesis and conclude that hepatitis status is not independent of tattoo status.

Resources