STAT E100 Section Week 11 – Hypothesis testing, Paired t-test, Chi-square test for independence.

Slides:



Advertisements
Similar presentations
Section 9.3 Inferences About Two Means (Independent)
Advertisements

The Analysis of Categorical Data and Goodness of Fit Tests
Significance Testing Chapter 13 Victor Katch Kinesiology.
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Homogeneity.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter Goals After completing this chapter, you should be able to:
Chi-square Test of Independence
Statistics 303 Chapter 9 Two-Way Tables. Relationships Between Two Categorical Variables Relationships between two categorical variables –Depending on.
11-2 Goodness-of-Fit In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way.
11-3 Contingency Tables In this section we consider contingency tables (or two-way frequency tables), which include frequency counts for categorical data.
Chapter 7 Introduction to the t Test Part 2: Dependent Samples March 4, 2008.
Comparing Population Parameters (Z-test, t-tests and Chi-Square test) Dr. M. H. Rahbar Professor of Biostatistics Department of Epidemiology Director,
Chi-square Goodness of Fit Test
Presentation 12 Chi-Square test.
The Chi-Square Test Used when both outcome and exposure variables are binary (dichotomous) or even multichotomous Allows the researcher to calculate a.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
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.
CHP400: Community Health Program - lI Research Methodology. Data analysis Hypothesis testing Statistical Inference test t-test and 22 Test of Significance.
STAT E100 Section Week 10 – Hypothesis testing, 1- Proportion, 2- Proportion – Z tests, 2- Sample T tests.
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.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
June 25, 2008Stat Lecture 14 - Two Means1 Comparing Means from Two Samples Statistics 111 – Lecture 14 One-Sample Inference for Proportions and.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
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.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Chapter 12 Analysis of Variance 12.2 One-Way ANOVA.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
+ Chi Square Test Homogeneity or Independence( Association)
Reasoning in Psychology Using Statistics
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.
Chap 11-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 11 Chi-Square Tests Business Statistics: A First Course 6 th Edition.
1 Objective Compare of two population variances using two samples from each population. Hypothesis Tests and Confidence Intervals of two variances use.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
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.
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,
Warm-up Wednesday, You are a scientist and you finished your experiment. What do you do with your data? Discuss with your group members and we.
Chapter 12 The Analysis of Categorical Data and Goodness of Fit Tests.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
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.
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
Introductory Statistics. Test of Independence Review Hypothesis Testing Checking Requirements & Descriptive Statistics.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Chapter 12 Lesson 12.2b Comparing Two Populations or Treatments 12.2: Test for Homogeneity and Independence in a Two-way Table.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
Chi-Square hypothesis testing
Chapter 11 Chi-Square Tests.
Lecture #27 Tuesday, November 29, 2016 Textbook: 15.1
The Analysis of Categorical Data and Chi-Square Procedures
Contingency Tables: Independence and Homogeneity
Chapter 11 Chi-Square Tests.
The Analysis of Categorical Data and Goodness of Fit Tests
The Analysis of Categorical Data and Goodness of Fit Tests
The Analysis of Categorical Data and Goodness of Fit Tests
The Analysis of Categorical Data and Goodness of Fit Tests
Chapter 11 Chi-Square Tests.
Presentation transcript:

STAT E100 Section Week 11 – Hypothesis testing, Paired t-test, Chi-square test for independence

Course Review - Project Proposals due Nov. 19 th, your TA. - Exam 2 is Nov 26 th, practice tests have already been posted. - Exams are cumulative, about 20% future exams will be old stuff. - your TA to join the study group!

Key Equations: For 2-proportion z- significance: with pooling: For 2-proportion Z - interval:

Key Equations: For Paired t-tests: In SPSS: Analyze → Compare Means → Paired -Samples T Test

Key Equations: For Chi-square test of Independence: To calculate the contingency table: To calculate the test statistic: In order for this χ 2 test to be valid, we need all the expected cell counts to be ≥ 5. df = (#rows – 1) x (#cols – 1).

Sample Question #1 C1B2BSS3BLFCFRFDHmeanSt. Dev. NYY Boston Difference ) In 2008, the Red Sox and Yankees starters’ batting averages were: a)Perform a 2-sample t-test for these data. What is your conclusion? b) Perform a paired t-test for these data. Do you results in parts a) and b) agree? Why or why not?

Sample Question #1 C1B2BSS3BLFCFRFDHmeanSt. Dev. NYY Boston Difference ) In 2008, the Red Sox and Yankees starters’ batting averages were: a)Perform a 2-sample t-test for these data. What is your conclusion? 2- sample t- significance test H o : μ BOS - μ NYY = 0 H a : μ BOS - μ NYY ≠ 0 Since p > 0.05, we cannot reject the null hypothesis that there is no relationship Red Sox and Yankees starters’ batting averages. We do not have evidence to support the claim that the batting averages are statistically significantly different.

Sample Question #1 C1B2BSS3BLFCFRFDHmeanSt. Dev. NYY Boston Difference ) In 2008, the Red Sox and Yankees starters’ batting averages were: b) Perform a paired t-test for these data. Do you results in parts a) and b) agree? Why or why not? Paired t- test H o : μ Diff = 0 H a : μ Diff ≠ 0 Since p > 0.05, we cannot reject the null hypothesis. We do not have evidence to support the claim that the batting averages are statistically significantly different. The two tests agree here; but that is not always the case. For example, if n is different for the 2 groups, then a paired t-test cannot be performed in this manner.

A study was conducted to determine if football helmets with newer anti-concussion technology (Riddell's Revolution helmet), actually led to a lower rate of concussions in high school football players compared to standard helmets. In an observational study in western Pennsylvania, 62 of 1173 Revolution helmet wearers suffered a concussion, while 74 of 968 standard helmet wearers suffered a concussion. Does this study provide evidence of a difference in the risk of suffering a concussion between wearing the two types of helmets? Sample Question #2

A study was conducted to determine if football helmets with newer anti-concussion technology (Riddell's Revolution helmet), actually led to a lower rate of concussions in high school football players compared to standard helmets. In an observational study in western Pennsylvania, 62 of 1173 Revolution helmet wearers suffered a concussion, while 74 of 968 standard helmet wearers suffered a concussion. Does this study provide evidence of a difference in the risk of suffering a concussion between wearing the two types of helmets? There are 2 mathematically equivalent ways of doing this problem. This is a situation where the answers should agree. Here is the first way: 2-proportion z- significance test H o : p 1 - p 2 = 0 The proportion of individuals suffering a concussion between wearing the two types of helmets is the same. H a : p 1 - p 2 ≠ 0 The proportion of individuals suffering a concussion between wearing the two types of helmets is not the same. Since p < 0.05, we can reject the null hypothesis. We have sufficient evidence to suggest that there is a difference in the risk of suffering a concussion between wearing the two types of helmets. Sample Question #2

A study was conducted to determine if football helmets with newer anti-concussion technology (Riddell's Revolution helmet), actually led to a lower rate of concussions in high school football players compared to standard helmets. In an observational study in western Pennsylvania, 62 of 1173 Revolution helmet wearers suffered a concussion, while 74 of 968 standard helmet wearers suffered a concussion. Does this study provide evidence of a difference in the risk of suffering a concussion between wearing the two types of helmets? There are 2 mathematically equivalent ways of doing this problem. This is a situation where the answers should agree. Here is the second way: Chi-square test for Independence H 0 : The risk of suffering a concussion is independent of the helmet type H A : The risk of suffering a concussion is not independent of the helmet type. This χ 2 statistic has df = (2 – 1)*(2 – 1) = 1. Since the p-value < 0.05, reject the null hypothesis. We have enough evidence to suggest that the risk of suffering a concussion is associated with the helmet type. Sample Question #2

Below you will find a contingency table for the breakdown of gender within each class year in this semester’s Stat 104 class along with the χ 2 test output. Gender year | F M | Total Freshman | | 188 Junior | | 30 Senior | | 21 Sophomore | | Total | | 348 a) What are the hypotheses for this χ 2 test in this situation? b) What is the expected number of female Seniors? Sample Question #3

Below you will find a contingency table for the breakdown of gender within each class year in this semester’s Stat 104 class along with the χ 2 test output. Gender year | F M | Total Freshman | | 188 Junior | | 30 Senior | | 21 Sophomore | | Total | | 348 a) What are the hypotheses for this χ 2 test in this situation? H 0 : The gender breakdown is independent of class year in this semester’s Stat 104 class. H A : The gender breakdown is not independent of class year in this semester’s Stat 104 class. b) What is the expected number of female Seniors? (Row total *Column total)/n = Sample Question #3

Below you will find a contingency table for the breakdown of gender within each class year in this semester’s Stat 104 class along with the χ 2 test output. Gender year | F M | Total Freshman | | 188 Junior | | 30 Senior | | 21 Sophomore | | Total | | 348 c) How many degrees of freedom are in this test? d) SPSS report the chi-squared test statistic to be for this table. What is the approximate p- value for this test? e) What is your conclusion? Sample Question #3

Below you will find a contingency table for the breakdown of gender within each class year in this semester’s Stat 104 class along with the χ 2 test output. Gender year | F M | Total Freshman | | 188 Junior | | 30 Senior | | 21 Sophomore | | Total | | 348 c) How many degrees of freedom are in this test? Df = (4-1)(2-1) = 3 d) SPSS report the chi-squared test statistic to be for this table. What is the approximate p- value for this test? 0.02 > p > 0.01 e) What is your conclusion? Since p < 0.05, we reject the null hypothesis. There is evidence to suggest that the gender breakdown is not independent of class year in this semester’s Stat 104 class. Sample Question #3