Frequency Tables Statistics 2126.

Slides:



Advertisements
Similar presentations
Finish Anova And then Chi- Square. Fcrit Table A-5: 4 pages of values Left-hand column: df denominator df for MSW = n-k where k is the number of groups.
Advertisements

Hypothesis Testing IV Chi Square.
Ch. 28 Chi-square test Used when the data are frequencies (counts) or proportions for 2 or more groups. Example 1.
Goodness-of-Fit Tests and Categorical Data Analysis
+ Chi Square Test Homogeneity or Independence( Association)
Chi-Square Analysis Test of Homogeneity. Sometimes we compare samples of different populations for certain characteristics. This data is often presented.
Analysis of two-way tables - Inference for two-way tables IPS chapter 9.1 © 2006 W.H. Freeman and Company.
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.
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data “good” or not. In our fruit fly labs we are using laws.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Answers the Question: Are the populations in question significantly different with regard to a particular distribution? This means you’re considering more.
11/12 9. Inference for Two-Way Tables. Cocaine addiction Cocaine produces short-term feelings of physical and mental well being. To maintain the effect,
11.1 Chi-Square Tests for Goodness of Fit
Statistical Analysis: Chi Square
The Chi-square Statistic
Inference concerning two population variances
CHAPTER 26 Comparing Counts.
Chapter 9: Non-parametric Tests
Presentation 12 Chi-Square test.
Independent-Samples t-test
Objectives (BPS chapter 23)
Introduction The two-sample z procedures of Chapter 10 allow us to compare the proportions of successes in two populations or for two treatments. What.
Extra Brownie Points! Lottery To Win: choose the 5 winnings numbers from 1 to 49 AND Choose the "Powerball" number from 1 to 42 What is the probability.
Slides to accompany Weathington, Cunningham & Pittenger (2010), Chapter 16: Research with Categorical Data.
Hypothesis Testing Review
Chapter 12 Tests with Qualitative Data
X2 = M T W F P-Value = CONDITIONS
Data Analysis for Two-Way Tables
Chapter 11 Goodness-of-Fit and Contingency Tables
Chi-Square Test Dr Kishor Bhanushali.
Is a persons’ size related to if they were bullied
Section 13.2 Chi-square Test of Association / Independence
Consider this table: The Χ2 Test of Independence
Chi Square Two-way Tables
Chi Squared Test.
Is a persons’ size related to if they were bullied
Reasoning in Psychology Using Statistics
Chapter 11: Inference for Distributions of Categorical Data
Statistical Analysis Chi-Square.
Chapter 14 Chi Square - 2 1/10/2019 Chi square.
Overview and Chi-Square
Contingency tables and goodness of fit
Chapter 13 Group Differences
Lecture 42 Section 14.4 Wed, Apr 17, 2007
Lecture 37 Section 14.4 Wed, Nov 29, 2006
CHAPTER 11 Inference for Distributions of Categorical Data
Chi – square Dr. Anshul Singh Thapa.
Analyzing the Association Between Categorical Variables
12.2 The Chi-Square Distribution
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
CHAPTER 11 Inference for Distributions of Categorical Data
Copyright © Cengage Learning. All rights reserved.
Chapter 26 Comparing Counts Copyright © 2009 Pearson Education, Inc.
Inference for Two Way Tables
UNIT V CHISQUARE DISTRIBUTION
CHAPTER 11 Inference for Distributions of Categorical Data
S.M.JOSHI COLLEGE, HADAPSAR
Comparing Proportions for Multiple Populations
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 26 Comparing Counts.
Chapter 6 Confidence Intervals.
CHAPTER 11 Inference for Distributions of Categorical Data
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Chapter 13: Chi-Square Procedures
Chi Square Test of Homogeneity
CHI SQUARE (χ2) Dangerous Curves Ahead!.
MATH 2311 Section 8.6.
Presentation transcript:

Frequency Tables Statistics 2126

Introduction Say we have a question like “Where are you from?” or “What is your favourite hockey team?” How would we find out if we have some sort of effect How would the population be distributed? We have to somehow come up with a ‘chance’ distribution

Say oh rolling a die 60 times 1 2 3 4 5 6 Outcome 15 9 10 12 7 expected

How shall we attack this Observed – expected 5 -1 0 2 -3 -3 We can’t just add these up because we would end up with a sum of 0 Sound familiar? Square ‘em! 25 1 0 4 9 9

We’re always squaring stuff… What if the expected values differed? Well we should weight the squared deviations somehow Divide by the expected 25/10+1/10+4/10+9/10+9/10 = 4.8 Add ‘em all up to get some estimate of the total deviation from the expected

Chi squared

How to read the χ2 table df = number of values we can arbitrarily assign 5 in our case (there must be 60 rolls in total, so the last number is fixed)

Easiest statistic ever… H0 all the frequencies are the same Ha they are not χ2cr = 11.07 χ2obt < χ2cr So we do not reject H0

For a 2 way table… Drug No relapse Yes relapse Desipramine 14 10 Lithium 6 18 Placebo 4 20

So… This is a 3 x 2 table 3 rows and 2 columns In general r x c table We want to test if all of the proportions are equal H0 p1 = p2 = p3 Ha all ps are not equal

So how do we get the expected values? We have to compare the observed value to the expected value But it is hard to get what we would expect by chance We let the data tell us what to do (Row total) x (column total) / (table total)

Row and Column totals No Yes Total 14 10 24 6 18 4 20 48 total

Working out the expecteds (24 x 24) / 72 for the Yes column (24 x 48) / 72 for the No column So we get a table of expected frequencies with 8 in the yes column and 16 in the no column We expect some relapses but if all the drugs are the same the proportion should be the same

Now Do the Test

Degrees of Freedom No Yes D 24 L P 48 At most we can assign two values arbitrarily

So… In general the degrees of freedom for such a table are (r-1)(c-1) In our case (3-1)(2-1) 2cr = 5.99 We reject H0 The relapses are distributed differently than chance