Introductory Statistics. Test of Independence Review Hypothesis Testing Checking Requirements & Descriptive Statistics.

Slides:



Advertisements
Similar presentations
 2 Test of Independence. Hypothesis Tests Categorical Data.
Advertisements

Hypothesis Testing and Comparing Two Proportions Hypothesis Testing: Deciding whether your data shows a “real” effect, or could have happened by chance.
Contingency Tables Chapters Seven, Sixteen, and Eighteen Chapter Seven –Definition of Contingency Tables –Basic Statistics –SPSS program (Crosstabulation)
CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Statistical Inference for Frequency Data Chapter 16.
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 Independence.
Chapter 26: Comparing Counts
CHAPTER 11 Inference for Distributions of Categorical Data
CJ 526 Statistical Analysis in Criminal Justice
Chi-square Test of Independence
Statistics 303 Chapter 9 Two-Way Tables. Relationships Between Two Categorical Variables Relationships between two categorical variables –Depending on.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
11-3 Contingency Tables In this section we consider contingency tables (or two-way frequency tables), which include frequency counts for categorical data.
Cross-Tabulations.
Comparing Population Parameters (Z-test, t-tests and Chi-Square test) Dr. M. H. Rahbar Professor of Biostatistics Department of Epidemiology Director,
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.
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 © 2012 Pearson Education. All rights reserved Copyright © 2012 Pearson Education. All rights reserved. Chapter 15 Inference for Counts:
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.
Goodness-of-Fit Tests and Categorical Data Analysis
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
CJ 526 Statistical Analysis in Criminal Justice
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
Chi-Square Test of Independence Practice Problem – 1
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Basic Data Analysis Chapter 14. Overview  Descriptive Analysis.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
13.2 Chi-Square Test for Homogeneity & Independence AP Statistics.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
+ Chi Square Test Homogeneity or Independence( Association)
11/16/2015Slide 1 We will use a two-sample test of proportions to test whether or not there are group differences in the proportions of cases that have.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Reasoning in Psychology Using Statistics Psychology
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=“”))}
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.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Paired Samples and Blocks
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 11 Inference for Distributions of Categorical.
Statistics 300: Elementary Statistics Section 11-3.
Chapter 13 Section 2. Chi-Square Test 1.Null hypothesis – written in words 2.Alternative hypothesis – written in words – always “different” 3.Alpha level.
Chi-square Test of Independence. The chi-square test of independence is probably the most frequently used hypothesis test in the social sciences. In this.
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.
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.
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
Introduction to Marketing Research
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 11 Goodness-of-Fit and Contingency Tables
Reasoning in Psychology Using Statistics
Hypothesis Testing and Comparing Two Proportions
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 10 Analyzing the Association Between Categorical Variables
Contingency Tables: Independence and Homogeneity
Inference on Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
CHAPTER 11 Inference for Distributions of Categorical Data
Inference for Two Way Tables
CHAPTER 11 Inference for Distributions of Categorical Data
Presentation transcript:

Introductory Statistics

Test of Independence Review Hypothesis Testing Checking Requirements & Descriptive Statistics

Test of Independence The two proportion Z procedure is limited to two rows and two columns. However, the Test of Independence is less limiting. The row variables can have as many rows as needed and the column variable can have as many columns Row Variable Column Variable

Test of Independence Review Hypothesis Testing Checking Requirements & Descriptive Statistics

Six Steps for Doing Test of Independence 1. State the Null and Alternative Hypotheses H o : Row Variable and Column variable are independent H a : Row Variable and Column variable are not independent 2. Calculate the χ 2 (the Test Statistic) 3. Determine the Degrees of Freedom for the Test df = (r-1)(c-1) 4. Calculate the P-value 5. Reject the Null Hypothesis is the P-value is less than the level of significance (α), if not, then don’t reject. 6. State the conclusion (in layman’s terms) a. If Reject H o – We have sufficient evidence to say that “state H a in English” b. If Don’t Reject H o - We have insufficient evidence to say that “state H a in English”

Six Steps for Doing Test of Independence There was a recent survey taken on whether consumers are “label users” who pay attention to label details when buying clothes. Are men and women equally likely to be label users? Determine if gender is independent of label usage. Use a level of significance of α = The data from the study are summarized in the following contingency table : 1. H o : Gender and label usage are independent H a : Gender and label usage are not independent 2. χ 2 = df = (r-1)(c-1) = (2-1)(2-1) = 1 4. P-value = P-value is less the level of significance, we would reject the null hypothesis 6. We have sufficient evidence to say that Gender and label usage are not independent.

Expected Counts Expected Cell Counts Expect in Each Cell Assuming Independence between the Row and Column Variable (the null hypothesis is true) Expected Count for each cell = Row Total * Column Total / Table Total

Six Steps for Doing Test of Independence A study was conducted to determine why patients seek chiropractic care. Patients were classified based on their motivation for seeking treatment. Using descriptions developed by Green and Krueter, patients were asked which of the five reasons led them to seek chiropractic care : Wellness: defined as optimizing health among the self-identified healthy Preventive health: defined as preventing illness among the self-identified healthy At risk: defined as preventing illness among the currently healthy who are at heightened risk to develop a specific condition Sick role: defined as getting well among those self-perceived as ill with an emphasis on therapist- directed treatment Self care: defined as getting well among those self-perceived as ill favoring the use of self vs. therapist directed strategies The data from the study are summarized in the following contingency table : The research question was whether people's motivation for seeking chiropractic care was independent of their location: Europe, Australia, or the United States. Use a level of significance of α = 0.05.

Six Steps for Doing Test of Independence 1. H o : Location and Motivation for Chiropractic Care are independent H a : Location and Motivation for Chiropractic Care are not independent 2. χ 2 = df = (r-1)(c-1) = (3-1)(5-1) = 8 4. P-value = close to zero 5. P-value is less alpha, we would reject the null hypothesis 6. We have sufficient evidence to say that Location and Motivation for Chiropractic Care are not independent.

Test of Independence Review Hypothesis Testing Checking Requirements & Descriptive Statistics

Requirements to Check and Descriptive Statistics Before Doing Hypothesis Test Requirements to Check for Test of Independence procedure All of the Expected Counts are ≥ 5 Descriptive Statistics to Use Graphical – Use a pie charts or a bar graphs (similar to the two proportion pie charts or bar graphs)

Using SPSS for Test of Independence I. Data Entry II. Use “Data -> Weight Cases” by Freq or Count variable ONLY when you have Summarized Data III. Use “Analyze -> Descriptive Statistics -> Crosstabs” to create a two way table IV. Options 1. Click Cells, then choose the following: Observed Counts, Expected Counts, 2. Click Statistics, then choose Chi-Square 3. Click Display clustered bar charts