11E The Chi-Square Test of Independence

Slides:



Advertisements
Similar presentations
Statistics Hypothesis Testing.
Advertisements

CHI-SQUARE(X2) DISTRIBUTION
Hypothesis Testing IV Chi Square.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 25, Slide 1 Chapter 25 Comparing Counts.
Evaluating Hypotheses Chapter 9. Descriptive vs. Inferential Statistics n Descriptive l quantitative descriptions of characteristics.
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
Ch. 9 Fundamental of Hypothesis Testing
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Overview Definition Hypothesis
Hypothesis Testing.
Statistical Analysis Statistical Analysis
Copyright © 2010 Pearson Education, Inc. Warm Up- Good Morning! If all the values of a data set are the same, all of the following must equal zero except.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Chapter 8 Introduction to Hypothesis Testing
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
Chapter 20 Testing Hypothesis about proportions
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
Chap 8-1 Fundamentals of Hypothesis Testing: One-Sample Tests.
Copyright © 2010 Pearson Education, Inc. Warm Up- Good Morning! If all the values of a data set are the same, all of the following must equal zero except.
© Copyright McGraw-Hill 2004
ContentFurther guidance  Hypothesis testing involves making a conjecture (assumption) about some facet of our world, collecting data from a sample,
Two Variable Statistics Limitations of the χ 2 Test.
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.
Comparing Counts Chapter 26. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
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 A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a goodness-of-fit.
Comparing Counts Chi Square Tests Independence.
CHI-SQUARE(X2) DISTRIBUTION
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.
Section Testing a Proportion
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 11 Chi-Square Tests.
Testing Hypotheses About Proportions
Chapter 12 Tests with Qualitative Data
WARM – UP A local newspaper conducts a poll to predict the outcome of a Senate race. After conducting a random sample of 1200 voters, they find 52% support.
Chapter 25 Comparing Counts.
Hypothesis Testing Using the Chi Square (χ2) Distribution
Chapter 11 Goodness-of-Fit and Contingency Tables
Testing Hypotheses about Proportions
Section 10.2: Tests of Significance
Consider this table: The Χ2 Test of Independence
Reasoning in Psychology Using Statistics
Discrete Event Simulation - 4
Chapter Nine Part 1 (Sections 9.1 & 9.2) Hypothesis Testing
Two Categorical Variables: The Chi-Square Test
Contingency Tables: Independence and Homogeneity
Overview and Chi-Square
Chapter 11 Chi-Square Tests.
Inference on Categorical Data
Testing Hypotheses About Proportions
The 2 (chi-squared) test for independence
Analyzing the Association Between Categorical Variables
Hypothesis Tests for a Standard Deviation
Chapter 26 Comparing Counts.
Chapter 26 Comparing Counts Copyright © 2009 Pearson Education, Inc.
Last Update 12th May 2011 SESSION 41 & 42 Hypothesis Testing.
Testing Hypotheses I Lesson 9.
Chapter 9 Hypothesis Testing: Single Population
Chapter 26 Comparing Counts.
Chapter 11 Chi-Square Tests.
Presentation transcript:

11E The Chi-Square Test of Independence Unit 3: Statistical Applications 11E 4/9/2019 3:18 PM

Chi-Square Test of Independence Copy used to determine if two factors (or variables) from the same sample are independent (the occurrence of one does not affect the occurrence of the other) inferential statistical tests are used to test a claim Does “not independent” indicate dependence? No. The test is designed to examine whether two variables are independent or not independent. 11E 4/9/2019 3:18 PM

Testing Legal Claims prosecution's claim: “The defendant is guilty.” null hypothesis H0: The defendant is not guilty. alternative hypothesis H1: The defendant is guilty.  CLAIM 11E 4/9/2019 3:18 PM

Testing Legal Claims defense’s claim: “The defendant is not guilty.” null hypothesis H0: The defendant is not guilty. alternative hypothesis H1: The defendant is guilty. If at the end of the trial you have: rejected the null hypothesis, then there was sufficient evidence to demonstrate guilt. failed to reject the null hypothesis, then was not sufficient evidence to demonstrate guilt. Insufficient evidence to demonstrate guilt DOES NOT mean that the defendant was innocent. It means there was, based on the evidence presented at trial, reasonable doubt that the defendant did not commit the crime.  CLAIM 11E 4/9/2019 3:18 PM

Testing Statistical Claims At the end of a statistical test you are we use evidence from the data to either reject the null hypothesis or fail to reject the null hypothesis. claim: “A is independent of B.” null hypothesis H0: A is independent of B. alternative hypothesis H1: A is not independent of B. If at the end of the statistical test you have: rejected the null hypothesis, then there was sufficient evidence to reject the claim. failed to reject the null hypothesis, then was not sufficient evidence to reject the claim.  CLAIM 11E 4/9/2019 3:18 PM

Testing Statistical Claims At the end of a statistical test you are we use evidence from the data to either reject the null hypothesis or fail to reject the null hypothesis. claim: “A is not independent of B.” null hypothesis H0: A is independent of B. alternative hypothesis H1: A is not independent of B. If at the end of the statistical test you have: rejected the null hypothesis, then there was sufficient evidence to support the claim. failed to reject the null hypothesis, then was not sufficient evidence to support the claim.  CLAIM 11E 4/9/2019 3:18 PM

Chi-Square Statistic Copy determined by examining the difference between the observed (fo) and expected (fe) values small differences between observed and expected frequencies (which yields a small chi- square statistic) indicate independence between the two factors large differences between observed and expected frequencies (which yields a large chi- square statistic) suggest that the factors are not independent 11E 4/9/2019 3:18 PM

Example contingency table (observed frequency table) expected frequency table For each cell, multiply the row sum by the column sum and then divide by the overall total. 11E 4/9/2019 3:18 PM

Example The chi-square statistic is small. This is a general indicator that the characteristics are independent since what you observed is close in value to what you would expect to see (with no assumptions made). How can technology help to quickly calculate the chi-square statistic “by hand”? And how can we use technology to find it quickly “not by hand”? 11E 4/9/2019 3:18 PM

Certainty (or Lack Thereof) “Sufficient evidence” does not indicate absolute certainty regarding which of the hypotheses is true and which is false. Statistical tests always begin by assuming the null is true until there is enough evidence to reject it. But is every individual found guilty actually guilty? Is every individual pronounced not guilty actually innocent? Why can’t we ever be certain about the results of a statistical hypothesis test? 11E 4/9/2019 3:18 PM

Significance Level the greatest acceptable probability of incorrectly rejecting the null hypothesis (also known as making a Type I error) used to find chi-square critical values from the chi-square distribution model will be given to you on the IB exam will need to choose, with a reason, for the project 11E 4/9/2019 3:18 PM

Significance Level common: 1%, 5% (scientific norm), 10% 5%: at most a 5% chance that you will state your data is significant when actually it is not (your allowance for a type I error to occur) The lower the significance level, the more stringent you are in allowing a “significant discrepancy” in your data and the more confident you can be that the conclusion is correct. 11E 4/9/2019 3:18 PM

Degrees of Freedom use the original contingency table (without the total row or total column) to determine the degrees of freedom for the example: Copy 11E 4/9/2019 3:18 PM

Limitations of the Chi-Square Test often need to fix for the project will never encounter on the IB exam this statistical test is assumed to be unreliable if: any of the expected frequencies are less than 5 resolution: combining data; collecting more data; alter investigation the degrees of freedom is 1 resolution: cannot use p-value method; must use Yates’ continuity correction (must work by hand and cannot use technology) 11E 4/9/2019 3:18 PM

Practice p. 336: 1(b)(d) (Must show work by hand) p.336: 3(a)(b) (use GDC and steps from your project booklet) Read and follow all instructions. List the page and problem numbers alongside your work and answers in your notes. Use the back of the book to check your answers. Copy 11E 4/9/2019 3:18 PM