Categorical Data  2 -test Pray for a quick and painless death.

Slides:



Advertisements
Similar presentations
What is Chi-Square? Used to examine differences in the distributions of nominal data A mathematical comparison between expected frequencies and observed.
Advertisements

Basic Statistics The Chi Square Test of Independence.
The Chi-Square Test for Association
Hypothesis Testing IV Chi Square.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
Chapter 13: The Chi-Square Test
Datasets with counts 150 people were surveyed about their softdrink preferences. They were asked, “Do you prefer coke, pepsi, or sprite?”. 50 people said.
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
 What is chi-square  CHIDIST  Non-parameteric statistics 2.
1 Chi-Squared Distributions Inference for Categorical Data and Multiple Groups.
S519: Evaluation of Information Systems
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
CHI-SQUARE TEST OF INDEPENDENCE
Chi Square: A Nonparametric Test PSYC 230 June 3rd, 2004 Shaun Cook, ABD University of Arizona.
Chi Square Test Dealing with categorical dependant variable.
CHI-SQUARE GOODNESS OF FIT TEST u A nonparametric statistic u Nonparametric: u does not test a hypothesis about a population value (parameter) u requires.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Crosstabs and Chi Squares Computer Applications in Psychology.
CHI-SQUARE GOODNESS OF FIT TEST What Are Nonparametric Statistics? What is the Purpose of the Chi-Square GOF? What Are the Assumptions? How Does it Work?
Business 205. Review Correlation MS5 Preview Chi-Square.
CHI-SQUARE statistic and tests
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Chapter 11(1e), Ch. 10 (2/3e) Hypothesis Testing Using the Chi Square ( χ 2 ) Distribution.
Hypothesis Testing IV (Chi Square)
Week 10 Chapter 10 - Hypothesis Testing III : The Analysis of Variance
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Copyright © 2012 by Nelson Education Limited. Chapter 10 Hypothesis Testing IV: Chi Square 10-1.
1 Chi-Square Heibatollah Baghi, and Mastee Badii.
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Chapter 13: Categorical Data Analysis Statistics.
Chapter 11 Hypothesis Testing IV (Chi Square). Chapter Outline  Introduction  Bivariate Tables  The Logic of Chi Square  The Computation of Chi Square.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Education 793 Class Notes Presentation 10 Chi-Square Tests and One-Way ANOVA.
Testing Hypothesis That Data Fit a Given Probability Distribution Problem: We have a sample of size n. Determine if the data fits a probability distribution.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
Non-Parametric Statistics Part I: Chi-Square .
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
CHI SQUARE TESTS.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Copyright © 2010 Pearson Education, Inc. Slide
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests and Nonparametric Tests Statistics for.
Reasoning in Psychology Using Statistics Psychology
Nonparametric Tests of Significance Statistics for Political Science Levin and Fox Chapter Nine Part One.
Chapter Outline Goodness of Fit test Test of Independence.
Non-parametric Tests e.g., Chi-Square. When to use various statistics n Parametric n Interval or ratio data n Name parametric tests we covered Tuesday.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
Chi Square & Correlation
Chi-Square Analyses.
Chapter 13. The Chi Square Test ( ) : is a nonparametric test of significance - used with nominal data -it makes no assumptions about the shape of the.
Outline of Today’s Discussion 1.The Chi-Square Test of Independence 2.The Chi-Square Test of Goodness of Fit.
Chapter Fifteen Chi-Square and Other Nonparametric Procedures.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
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.
1 Testing Statistical Hypothesis The One Sample t-Test Heibatollah Baghi, and Mastee Badii.
S519: Evaluation of Information Systems Social Statistics Inferential Statistics Chapter 15: Chi-square.
Chapter 22 Inferences From Nominal Data: the Χ 2 Statistic.
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.
Inference for Tables Chi-Square Tests Chi-Square Test Basics Formula for test statistic: Conditions: Data is from a random sample/event. All individual.
 Confidence Intervals  Around a proportion  Significance Tests  Not Every Difference Counts  Difference in Proportions  Difference in Means.
Basic Statistics The Chi Square Test of Independence.
Chi-Square hypothesis testing
Qualitative data – tests of association
Part IV Significantly Different Using Inferential Statistics
Reasoning in Psychology Using Statistics
Non-Parametric Statistics Part I: Chi-Square
Presentation transcript:

Categorical Data  2 -test Pray for a quick and painless death.

Para-what? Statistical test are divided into two types 1. Parametric: a test that compares sample data to a larger population (e.g., z, t, F). Parametric tests have stringent assumptions (e.g., sample is normally, and independently distributed). 2. Non-parametric: do not depend on a specific distribution. For that reason, they are called distribution-free, and are not

Are you nuts? Non-parametric tests do not depend on a distribution, and are easier to perform. So why not use them exclusively? 1. Parametric tests are generally robust to violations of their assumptions. 2. Parametric tests are more powerful and versatile (e.g., you can’t test for multiple variable interactions. Note: As a general rule, researchers will use parametric tests whenever possible, due to their higher power. However, when there have been gross violations of the assumptions, researchers will use non-parametric tests.

 2 Test for Single Variable Experiments Often, experiments are conducted with nominal data (e.g., product preference tests). The   (Chi-square) test is the most frequently used with nominal data.

 2 Test for Single Variable Experiments Bud’s Suds makes microbrewed beer for blue-collar drinkers. Bud’s Suds have 3 new products, but recent cut-backs mean there is only enough funding to introduce one product. So they decide to conduct an experiment. You randomly sample 150 beer drinkers, let them taste the three different products, and pick the ones they like the best Trailer TeaNASCAR NectarMountain MeadTotal 150 Frequency of drinkers picking a particular brand H 0 : No difference in preference

Computing  2 obtained 1. Determine the frequency you would expect (expected frequencies) in each cell if sampling is random from the null hypothesis population. F e = expected frequency under the null hypothesis F o = observed frequency in the sample fofo fefe 50 Trailer TeaNASCAR NectarMountain Mead Total 150

Computing  2 obtained fofo fefe 50 Trailer TeaNASCAR NectarMountain Mead Total 150

Computing  2 obtained Conclusion: Reject the null hypothesis

 2 Test for Two Variable (Two-way) Experiments Suppose the senate is trying to pass a bill to legalize medical marijuana. You are volunteering for your local senator, who asks you to take a poll. You pick a random sample of 400 voters (200 Democrats and 200 Republicans) in your district and ask them about legalization of medical marijuana. Here are the results Republican Democrat Column Margin ForAgainstRow MarginsUndecided

Computing Expected Values Republicans FOR the bill Republicans Undecided Republicans Against

Computing Expected Values Democrats FOR the bill Democrats Undecided Democrats Against

 2 Test for Two Variable (Two-way) Experiments Republican68 (80) 22 (20) 110 (100) 200 Democrat92 (80) 18 (20) 90 (100) 200 Column Margin ForAgainstRow MarginsUndecided df = (r-1)(c-1) = (2-1)(3-1) = (1)(2) = 2

Computing   Values Republicans FOR the bill Republicans Undecided Republicans Against

Computing   Values Democrats FOR the bill Democrats Undecided Democrats Against

Computing   Values Reject the Null Hypothesis. Political affiliation and attitude toward the bill are related.