Analysis of Two-Way Tables Moore IPS Chapter 9 © 2012 W.H. Freeman and Company.

Slides:



Advertisements
Similar presentations
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
Advertisements

Chapter 13: Inference for Distributions of Categorical Data
Copyright ©2011 Brooks/Cole, Cengage Learning More about Inference for Categorical Variables Chapter 15 1.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Categorical Variables Chapter 15.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Homogeneity.
CHAPTER 11 Inference for Distributions of Categorical Data
CJ 526 Statistical Analysis in Criminal Justice
Chi-square Test of Independence
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
Quiz 10  Goodness-of-fit test  Test of independence.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
1 Chapter 20 Two Categorical Variables: The Chi-Square Test.
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.
How Can We Test whether Categorical Variables are Independent?
GOODNESS OF FIT TEST & CONTINGENCY TABLE
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.
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.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 10 Inferring Population Means.
CJ 526 Statistical Analysis in Criminal Justice
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Analysis of two-way tables - Formulas and models for two-way tables - Goodness of fit IPS chapters 9.3 and 9.4 © 2006 W.H. Freeman and Company.
Inference for Proportions
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.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chi-square (χ 2 ) Fenster Chi-Square Chi-Square χ 2 Chi-Square χ 2 Tests of Statistical Significance for Nominal Level Data (Note: can also be used for.
Chi-square test or c2 test
Multinomial Experiments Goodness of Fit Tests We have just seen an example of comparing two proportions. For that analysis, we used the normal distribution.
Chapter 12 The Analysis of Categorical Data and Goodness-of-Fit Tests.
1 © 2008 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 12 The Analysis of Categorical Data and Goodness-of-Fit Tests.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Introduction Many experiments result in measurements that are qualitative or categorical rather than quantitative. Humans classified by ethnic origin Hair.
Other Chi-Square Tests
CHAPTER 11 SECTION 2 Inference for Relationships.
+ Chi Square Test Homogeneity or Independence( Association)
BPS - 5th Ed. Chapter 221 Two Categorical Variables: The Chi-Square Test.
Analysis of two-way tables - Inference for two-way tables IPS chapter 9.2 © 2006 W.H. Freeman and Company.
Chapter 11 Chi- Square Test for Homogeneity Target Goal: I can use a chi-square test to compare 3 or more proportions. I can use a chi-square test for.
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.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 2 methods.
1 Chapter 11: Analyzing the Association Between Categorical Variables Section 11.1: What is Independence and What is Association?
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
4 normal probability plots at once par(mfrow=c(2,2)) for(i in 1:4) { qqnorm(dataframe[,1] [dataframe[,2]==i],ylab=“Data quantiles”) title(paste(“yourchoice”,i,sep=“”))}
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 © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
Dan Piett STAT West Virginia University Lecture 12.
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.
Chapter 13- Inference For Tables: Chi-square Procedures Section Test for goodness of fit Section Inference for Two-Way tables Presented By:
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 3 methods.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
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.
Chi Square Procedures Chapter 14. Chi-Square Goodness-of-Fit Tests Section 14.1.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8… Where we are going… Significance Tests!! –Ch 9 Tests about a population proportion –Ch 9Tests.
Chi-square test or c2 test
5.1 INTRODUCTORY CHI-SQUARE TEST
Elementary Statistics
Are you planning on doing a project in Math 124
Chapter 10 Analyzing the Association Between Categorical Variables
Inference for Relationships
Lesson 11 - R Chapter 11 Review:
Analyzing the Association Between Categorical Variables
Presentation transcript:

Analysis of Two-Way Tables Moore IPS Chapter 9 © 2012 W.H. Freeman and Company

A table has 4 rows and 5 columns. The degrees of freedom for a test are a. 10 b. 12 c Inference for Two-Way Tables (r - 1)(c - 1) = 3 * 4 = 12

In the table below we examine the relationship between final grade and the reported hours per week each student said they studied for the course. The size of this table is: a. 4 x 6 b. 5 x 3 c. 3 x Inference for Two-Way Tables

We are interested in comparing the proportions of males and females who feel earning a large salary is very important to them. I surveyed 200 of each gender and recorded their answers to the question as “yes” or “no.” If I analyze the data with both a z test for two proportions and a test of no association, the P-value for the z test: a. will be less than for the test. b. will be the same as for the test. c. will be more than for the test The data can be considered as either two proportions or a 2 by 2 table. The two are equivalent. 9.1 Inference for Two-Way Tables

A study to compare two types of infant formula was run at two sites, Atlanta and Denver. Subjects at both sites were classified as dropouts if they left the study before the conclusion, or completers if they finished the study. The following table gives the number of dropouts and completers at each site. A chi-square test was performed and the result was  22 = with P-value = The correct conclusion is: a. Atlanta had a greater dropout rate. b. Denver had a greater dropout rate. c. any differences can be explained by sampling variability Inference for Two-Way Tables Responder DropoutCompleter Atlanta16134 Denver21379

In a clinical trial of Nasonex, 200 randomly selected pediatric patients (ages 3 to 11 years old) were randomly divided into two groups. The patients in Group 1 (experimental group) received 100 mcg of Nasonex, while the patients in Group 2 (control group) received a placebo. Of the 100 patients in the experimental group, 30 reported headaches as a side effect. Of the 100 patients in the control group, 80 reported headaches as a side effect. Which of the following could be used to test the hypothesis Ho: p 1 = p 2 versus Ha: p 1 ≠ p 2 ? a. t 2 = F b. z 2 = F c. χ 2 = F d. t 2 = χ 2 e. z 2 = χ Inference for Two-Way Tables

In the table below we examine the relationship between final grade and the reported hours per week each student said they studied for the course. The expected count of those who studied between 5 and 10 hours per week and earned a B for the course is: a b c Inference for Two-Way Tables

When examining the independence of two-way tables using the chi- square test, the null hypothesis is: a. that the row and column variables are dependent. b. that the row and column variables are independent. c. that the row and column variables are equal Formulas and Models for Two-Way Tables

The Ecology department head is examining the course evaluations for four different sections of an introductory course taught by different instructors. He would like to know if the opinions of students are homogeneous with respect to the quality of instruction they received from their respective professors. Below are the results: (part 1) 9.2 Formulas and Models for Two-Way Tables

What is the null hypothesis being tested in this case? a. Opinions of students are homogenous with respect to the quality of teaching they received. b. Opinions of students are independent with respect to the quality of teaching they received. c. Opinions of students are not associated with respect to the quality of teaching they received. 9.2 Formulas and Models for Two-Way Tables (part 2)

The Ecology department head is examining the course evaluations for four different sections of an introductory course taught by different instructors. He would like to know if the opinions of students are homogeneous with respect to the quality of instruction they received from their respective professors. Below are the results: (part 1) 9.2 Formulas and Models for Two-Way Tables

What is the expected count of positive ratings for the instructor from section A01? a b c Formulas and Models for Two-Way Tables (part 2)

The Ecology department head is examining the course evaluations for four different sections of an introductory course taught by different instructors. He would like to know if the opinions of students are homogeneous with respect to the quality of instruction they received from their respective professors. Below are the results: (part 1) 9.2 Formulas and Models for Two-Way Tables

What is the degree of freedom for the appropriate test statistic for the above problem? a. 6 b. 8 c Formulas and Models for Two-Way Tables (part 2) df = (r-1)(c-1)= 2(3) = 6

In the table below we examine the relationship between final grade and the reported hours per week each student said they studied for the course. In a test of no association between these variables, we are really studying a model of: a. independence. b. comparing several populations. c. neither a nor b Formulas and Models for Two-Way Tables

The table below is referred to as a a. 3 x 6 table. b. 3 x 5 table. c. 2 x 5 table. d. 5 x 2 table. e. 5 x 3 table Goodness of Fit Gender MaleFemale Like Very Much1614 Like Somewhat1318 Neutral1716 Dislike Somewhat32 Dislike Very Much10 Two-way tables are classified as r x c.

A die is tossed 60 times and the number of dots appearing on the top face are recorded in the table below. An investigator wants to know if there is enough evidence to indicate that the die is not fair. What is the most appropriate test? a. Chi-square: Independence test b. Chi-square: Comparing several proportions test c. Chi-square: Goodness of fit test Goodness of Fit Top Face # of occurrences

A die is tossed 60 times and the number of dots appearing on the top face are recorded in the table below. An investigator wants to know if there is enough evidence to indicate that the die is not fair. What is the expected number of 3s if the die is fair? a. 6 b. 7 c.10 d Goodness of Fit Top Face # of occurrences /6 * 60

A die is tossed 60 times and the number of dots appearing on the top face are recorded in the table below. An investigator wants to know if there is enough evidence to indicate that the die is not fair. What are the appropriate degrees of freedom for the chi-square test? a. 5 b. 6 c.10 d Goodness of Fit Top Face # of occurrences

A die is tossed 60 times and the number of dots appearing on the top face are recorded in the table below. An investigator wants to know if there is enough evidence to indicate that the die is not fair. The value of the chi-square statistic is 2.8. Is there sufficient evidence to conclude that the die is not fair? Use  = a. Yes b. No. 9.3 Goodness of Fit Top Face # of occurrences

A die is tossed 60 times and the number of dots appearing on the top face are recorded in the table below. An investigator wants to know if there is enough evidence to indicate that the die is not fair. Using the output provided, is there sufficient evidence to conclude that the die is not fair? Use  = a. Yes b. No. 9.3 Goodness of Fit Top Face # of occurrences c C

It is desired to test whether the number of gamma rays emitted per second by a certain radioactive substance is a Poisson random variable. The following data give the results obtained from 150 one- second intervals. The mean was estimated from the data as 2.8 gamma rays per second. Some expected frequencies are given. # of Ga Rays: Obs Count: Exp freq: The degrees of freedom for the appropriate test statistic is: a. 4 b. 5 c. 6 d Goodness of Fit k-1-# of parameters estimated = = 5