Chi Square Fr Chris - St Francis High School March 2006.

Slides:



Advertisements
Similar presentations
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)
Advertisements

Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
The Analysis of Categorical Data and Goodness of Fit Tests
CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Please turn in your signed syllabus. We will be going to get textbooks shortly after class starts. Homework: Reading Guide – Chapter 2: The Chemical Context.
© 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.
12.The Chi-square Test and the Analysis of the Contingency Tables 12.1Contingency Table 12.2A Words of Caution about Chi-Square Test.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Crosstabs and Chi Squares Computer Applications in Psychology.
Chi-Square Test.
Diversity and Distribution of Species
Chi-square Goodness of Fit Test
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Analysis of Count Data Chapter 26
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
13.1 Goodness of Fit Test AP Statistics. Chi-Square Distributions The chi-square distributions are a family of distributions that take on only positive.
Two Variable Statistics
Chi-square test Chi-square test or  2 test. crazy What if we are interested in seeing if my “crazy” dice are considered “fair”? What can I do?
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Chapter 12: The Analysis of Categorical Data and Goodness- of-Fit Test.
Chi-Square Test.
FPP 28 Chi-square test. More types of inference for nominal variables Nominal data is categorical with more than two categories Compare observed frequencies.
Statistical Significance for a two-way table Inference for a two-way table We often gather data and arrange them in a two-way table to see if two categorical.
Chi-Square Test James A. Pershing, Ph.D. Indiana University.
Non-parametric tests (chi-square test) Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Copyright © 2010 Pearson Education, Inc. Slide
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Reasoning in Psychology Using Statistics Psychology
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
ContentFurther guidance  Hypothesis testing involves making a conjecture (assumption) about some facet of our world, collecting data from a sample,
Chapter 12 The Analysis of Categorical Data and Goodness of Fit Tests.
Inference for Tables Catapult Discovery Question: –How does a cat land (feet, side, nose/face)? –Write your predictions in percent. Collect data for.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 3 methods.
By.  Are the proportions of colors of each M&M stated by the M&M company true proportions?
Science Practice 2: The student can use mathematics appropriately. Science Practice 5: The student can perform data analysis and evaluation of evidence.
Chi-Square Test (χ 2 ) χ – greek symbol “chi”. Chi-Square Test (χ 2 ) When is the Chi-Square Test used? The chi-square test is used to determine whether.
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.
Chi-Square Tests.  Two way classification table – presents information on more than one variable for each element  Example: college students broken.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Chapter 11 Chi Square Distribution and Its applications.
CHAPTER 11: INFERENCE FOR DISTRIBUTIONS OF CATEGORICAL DATA 11.1 CHI-SQUARE TESTS FOR GOODNESS OF FIT OUTCOME: I WILL STATE APPROPRIATE HYPOTHESES AND.
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.
CHI SQUARE DISTRIBUTION. The Chi-Square (  2 ) Distribution The chi-square distribution is the probability distribution of the sum of several independent,
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Ch 26 – Comparing Counts Day 1 - The Chi-Square Distribution
Test of independence: Contingency Table
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Section 10-1 – Goodness of Fit
Chi-Square Test.
The Analysis of Categorical Data and Chi-Square Procedures
Econ 3790: Business and Economics Statistics
Chi-Square Test.
Contingency Tables: Independence and Homogeneity
Inference for Tables Chi-Square Tests Ch. 11.
Inference on Categorical Data
The Analysis of Categorical Data and Goodness of Fit Tests
Chi-Square Test.
The 2 (chi-squared) test for independence
CHI SQUARE TEST OF INDEPENDENCE
The Analysis of Categorical Data and Goodness of Fit Tests
The Analysis of Categorical Data and Goodness of Fit Tests
Inference for Tables Chi-Square Tests Ch. 11.
The Analysis of Categorical Data and Goodness of Fit Tests
Presentation transcript:

Chi Square Fr Chris - St Francis High School March 2006

Two Applications Goodness of Fit (one way) Two-Way (Contingency) Table

1-Way (Univariate) Data Observed frequencies are from a RANDOM SAMPLE Large Sample size (expect at least 5 in each category)

Stolen Cars by Color Null Hypothesis: Color makes no difference San Luis Obispo Telegram-Tribune 9/2/96 Alternative Hypothesis: Color makes a difference 15% white, 15% blue, 35% red, 30% black, 5% other whiteblueredblackother Observed Expected

whiteblueredblackother Observed Expected SRS, and All EXPECTED cells >5 so large enough sample Since P(Chi-sq, df=4 > 18.46) <.001 so we reject the null hypothesis, and conclude certain colors are more likely to be stolen

Now you try: According to SLO Trib, 12/15/99, SRS of 200 purchases of California Lotto tix: Age played California in 1999 had 35% 18-34, 51% 35-64, 14% over 65 Try a Chi-Sq Goodness of Fit Test

2 way Chi-Square is even more Fun! According to Research Quarterly for Exercise and Sport, (1990) p , SRS of 1200 looked at hours of TV and a cardiovascular test Hrs of TVFitUnfit

But we compute df=(r-1)(c-1) and the expected frequencies are computed with by the marginal totals Hrs of TV FitUnfitTotals

Hrs of TV FitUnfitTotals Expected Frequency = (Row)(Col)/total df=(4-1)(2-1)=3, So we reject the Null Hypothesis at the.05 level for any Chi Square over 12.83

less than 12.83, so there is not enough evidence to reject the null hypothesis at the.05 level, so there is little evidence here that would suggest that the hours watching TV is associated with one’s cardiovascular fittness.

sexdiedlived men women classdiedlived high middle low Would you rather be rich or a woman if you were on the Titanic? Actually the Chi-Square statistic tests against the null hypothesis (no difference according to category)... you need to look at the numbers to see what’s going on...