Does ones regional location have an affect on their Political affiliation? To begin to investigate this situation data from 177 random voters was analyzed.

Slides:



Advertisements
Similar presentations
Chapter 11 Other Chi-Squared Tests
Advertisements

Chi-square test Chi-square test or  2 test. Chi-square test countsUsed to test the counts of categorical data ThreeThree types –Goodness of fit (univariate)
 2 test for independence Used with categorical, bivariate data from ONE sample Used to see if the two categorical variables are associated (dependent)
Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
For small degrees of freedom, the curve displays right-skewness.
Statistical Inference for Frequency Data Chapter 16.
 It is defined as the ratio of the odds of an event occurring in one group to the odds of it occurring in another group, or to a sample-based estimate.
Datasets with counts 150 people were surveyed about their softdrink preferences. They were asked, “Do you prefer coke, pepsi, or sprite?”. 50 people said.
1 Chi-Squared Distributions Inference for Categorical Data and Multiple Groups.
H0: p1 = p2 Ha: p1 > p2 WARM – UP
WARM UP Pick the 4 papers from back of room and then check your answer to 12 (d-i)
Lecture 6. Hypothesis tests for the population mean  Similar arguments to those used to develop the idea of a confidence interval allow us to test the.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.3 Determining.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.3 Determining.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 10 Inferring Population Means.
Copyright © 2015, 2011, 2008 Pearson Education, Inc. Chapter 1, Unit 1C, Slide 1 Thinking Critically 1.
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.
Chi-square test Chi-square test or  2 test Notes: Page Goodness of Fit 2.Independence 3.Homogeneity.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
Warm-up 5.4 Notes Conditional Probability 1.a. b.c.d. e. 2. a. table on the board. Answer b to f in %s since the numbers are really small. b.c. d.e. f.
Education 793 Class Notes Presentation 10 Chi-Square Tests and One-Way ANOVA.
Chapter-8 Chi-square test. Ⅰ The mathematical properties of chi-square distribution  Types of chi-square tests  Chi-square test  Chi-square distribution.
Analysis of Two-Way Tables Moore IPS Chapter 9 © 2012 W.H. Freeman and Company.
Chapter 14: Chi-Square Procedures – Test for Goodness of Fit.
Section Conditional Probability Objectives: 1.Understand the meaning of conditional probability. 2.Learn the general Multiplication Rule:
WARM – UP: The Math club and the Spanish club traditionally are composed of a similar distribution of class level. A random sample of this year’s math.
Chi-Squared Test of Homogeneity Are different populations the same across some characteristic?
Announcements: Bluman, Chapter 4. Sec 4.2 Addition Rules for Probability Bluman, Chapter 4.
Objectives Identify a variable as categorical and choose an appropriate display for it. Use a frequency table to summarize categorical data. Describe and.
The χ 2 (Chi-Squared) Test. Crazy Dice? You roll a die 60 times and get: 3 ones, 6 twos, 19 threes, 22 fours, 6 fives, and 4 sixes  Is this a fair die?
13.2 Inference for Two Way Tables.  Analyze Two Way Tables Using Chi-Squared Test for Homogeneity and Independence.
Goodness-of-Fit and Contingency Tables Chapter 11.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
H0: p1 = p2 Ha: p1 > p2 WARM – UP
Smart Start In June 2003, Consumer Reports published an article on some sport-utility vehicles they had tested recently. They had reported some basic.
The Chi-square Statistic
1 Thinking Critically Sets and Venn Diagrams.
Chi-Square (Association between categorical variables)
CHAPTER 26 Comparing Counts.
Chi-Square hypothesis testing
Chi-square test or c2 test
How hypothesis testing works
Chi-squared test or c2 test
WARM – UP Plant scientists have developed a new variety of corn rich in amino acid lysine used for bulking up chickens. Twenty-five Chickens were randomly.
One-Sample Inference for Proportions
Chi-square test or c2 test
Chi-square test or c2 test
X2 = X2 Test of Independence P-Value =
X2 = M T W F P-Value = CONDITIONS
Chi-square test or c2 test
Chi-square test or c2 test
Chapter 3: Displaying and Describing Categorical Data
Chapter 11 Goodness-of-Fit and Contingency Tables
Inference on Categorical Data
Inference for Relationships
WARM – UP A company is criticized because only 9 of 43 randomly choosen people in executive-level positions are women. The company explains that although.
X2 = Based on the following results, is the die in
Warm-UP: A Centers for Disease Control report of randomly selected Americans, found that 411 of 1012 men and 535 of 1062 women suffered from some form.
Chapter 10 Associations between Categorical Variables.
Overview and Chi-Square
Chi-square test or c2 test
Inference on Categorical Data
Location and Party affiliation
Lesson 11 - R Chapter 11 Review:
WELCOME BACK! days From: Tuesday, January 3, 2017
Day 63 Agenda:.
A plumbing contractor puts in bids on two large jobs
Section 11-1 Review and Preview
Chi-square test or c2 test
Presentation transcript:

Does ones regional location have an affect on their Political affiliation? To begin to investigate this situation data from 177 random voters was analyzed. Political Affiliation Democrat Republican West 39 27 Northeast 35 15 Southeast 17 44 a.) Find the Proportion of Democrats among each regional location. b.) Make a Bar Chart for these Prop. c.) Find the Expected Values for each cell. d.) Find evidence of an affect. 33.93 0.591 32.07 Location 25.71 0.700 24.29 31.36 0.279 29.64 0 50 100 % of Dem. W NE SE Regional Location

Does ones regional location have an affect on their Political affiliation? To begin to investigate this situation data from 177 random voters was analyzed. Political Affiliation Democrat Republican West 39 27 Northeast 35 15 Southeast 17 44 d.) Find evidence of an affect. 33.93 32.07 Location 25.71 24.29 31.36 29.64 X2 Test of Independence H0: Political Affiliation is INDEPENDENT of Location Ha: Political Affiliation is NOT INDEPENDENT of Location P-Value = X2cdf (22.01, E99, 2) = 0 X2 = 22.01 Since the P-Value is less than α = 0.05 we will REJECT H0 . There is evidence that Political Affiliation is NOT INDEPENDENT of Location. SRS – stated All Expected Counts are 5 or greater.

d.) How does the X2 in (c) relate to the z in (b)? What is the relationship between a 2-Proportion Z-Test and a X2-Test? To investigate, answer the following about the Titanic: Female Male Alive 343 367 Dead 127 1364 TOTAL 470 1731 0.730 0.212 a.) Find the Proportion of Females and Males that Survived the Titanic. b.) Determine whether or not there was a significant difference between the survival of a Female and a Male by conducting a 2-Prop Z-Test. c.) Determine whether or not gender is independent of survival by conducting a X2-Test. d.) How does the X2 in (c) relate to the z in (b)?

z = 21.295 X2 = 453.476 H0: pm = pw Ha: pm ≠ pw P-Value = 0 b.) pi = The true proportion of each gender that survived the titanic. pm = Men and pw = Women z = 21.295 H0: pm = pw Ha: pm ≠ pw TWO Proportion z – Test P-Value = 0 Since the P-Value is less than α = 0.05 the data IS significant . There is STRONG evidence to REJECT H0 . The proportion of men who survived does differs from that of women. c.) H0: Gender is independent to survival. Ha: There is an association between gender and survival. X2 = 453.476 P-Value = 0 Since the P-Value is less than α = 0.05 the data IS significant . There is strong evidence to REJECT H0 . There is strong evidence that suggests that gender is associated to survival. d.) (z = 21.295)2 = (X2 = 453.476)

#18 Medical researchers followed an SRS of 6272 Swedish men for 30 years to see if there was an association between the amount of fish in their diet and Prostate Cancer. Is there any evidence of such an association? Fish Consumption Total Subjects Prostate Cancer Never 124 14 Small part of diet 2621 201 Moderate part 2978 209 Large part 549 42 9.21 114.79 194.74 2426.26 221.26 2756.74 40.79 508.21 NO Prostate Cancer 14 110 201 2420 209 2769 42 507 H0: There is NO relationship between fish consumption and the development of Prostate Cancer. Ha: There is relationship between fish consumption and the development of Prostate Cancer. X2 Test of Independence P-Value = X2cdf (3.677, E99, 3) = 0.2985 X2 = 3.677

WARM – UP Medical researchers followed 6272 Swedish men for 30 years to see if there was an association between the amount of fish in their diet and Prostate Cancer. Is there any evidence of such an association? Fish Consumption Total Subjects Prostate Cancer Never 124 14 Small part of diet 2621 201 Moderate part 2978 209 Large part 549 42 9.21 114.79 194.74 2426.26 221.26 2756.74 40.79 508.21 NO Prostate Cancer 14 110 201 2420 209 2769 42 507 H0: There is NO relationship between fish consumption and the development of Prostate Cancer. Ha: There is relationship between fish consumption and the development of Prostate Cancer. X2 Test of Independence P-Value = X2cdf (3.677, E99, 3) = 0.2985 X2 = 3.677 CONDITIONS SRS - Stated √ All Expected Counts are 1 or greater. √ No more than 20% of the Expected Counts are less than 5. √ Since the P-Value is NOT less than α = 0.05 there is NO evidence to reject H0. There is NO evidence of a relationship between fish consumption and Prostate Cancer.

Warm-Up: The maker of Trick Dice sells you a weighted die in which “5” is supposed to show up 35% of the time with the other outcomes equally divided among the rest of the time. You roll the die 200 times. Based on the following results, is the die in question really a weighted die favoring ‘5’? 1 2 3 4 5 6 OBS. DATA 26 35 20 55 29 X2 Goodness of Fit Test EXP. DATA 26 70 H0: The die is weighted so that ‘5’ appears 35% of the time! Ha: The die is NOT weighted so that ‘5’ appears 35% of the time! X2 = 11.176 P-Value = 0.0480

All Expected Counts are 1 or greater. Since the P-Value is less than α = 0.05 there is evidence to REJECT H0 . There is evidence that the die is NOT weighted as indicated by the Trick Dice maker. CONDITIONS SRS – randomly tossed All Expected Counts are 1 or greater. No more than 20% of the Expected Counts are less than 5. EXP. DATA 26 70