Wednesday, April 22, Chi Squared Test

Similar documents
AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

LAB : THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

Introduction to Hypothesis Testing

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Having a coin come up heads or tails is a variable on a nominal scale. Heads is a different category from tails.

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Stat 20: Intro to Probability and Statistics

Testing Research and Statistical Hypotheses

Using Excel for inferential statistics

Hypothesis testing - Steps

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

6th Grade Lesson Plan: Probably Probability

p-values and significance levels (false positive or false alarm rates)

Recommend Continued CPS Monitoring. 63 (a) 17 (b) 10 (c) (d) 20 (e) 25 (f) 80. Totals/Marginal

MATH 140 Lab 4: Probability and the Standard Normal Distribution

2 GENETIC DATA ANALYSIS

Expected Value and the Game of Craps

Independent samples t-test. Dr. Tom Pierce Radford University

Study Guide for the Final Exam

TABLE OF CONTENTS. About Chi Squares What is a CHI SQUARE? Chi Squares Hypothesis Testing with Chi Squares... 2

Math 58. Rumbos Fall Solutions to Review Problems for Exam 2

Likelihood: Frequentist vs Bayesian Reasoning

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

Projects Involving Statistics (& SPSS)

That s Not Fair! ASSESSMENT #HSMA20. Benchmark Grades: 9-12

6.3 Conditional Probability and Independence

HYPOTHESIS TESTING: POWER OF THE TEST

hp calculators HP 17bII+ Net Present Value and Internal Rate of Return Cash Flow Zero A Series of Cash Flows What Net Present Value Is

Contingency Tables and the Chi Square Statistic. Interpreting Computer Printouts and Constructing Tables

Crosstabulation & Chi Square

Chapter 26: Tests of Significance

PEARSON R CORRELATION COEFFICIENT

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Fairfield Public Schools

People have thought about, and defined, probability in different ways. important to note the consequences of the definition:

Hypothesis Testing for Beginners

SIMPLE LINEAR CORRELATION. r can range from -1 to 1, and is independent of units of measurement. Correlation can be done on two dependent variables.

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

Week 4: Standard Error and Confidence Intervals

First-year Statistics for Psychology Students Through Worked Examples

Distribution is a χ 2 value on the χ 2 axis that is the vertical boundary separating the area in one tail of the graph from the remaining area.

Mathematical goals. Starting points. Materials required. Time needed

Simple Regression Theory II 2010 Samuel L. Baker

Coin Flip Questions. Suppose you flip a coin five times and write down the sequence of results, like HHHHH or HTTHT.

MONT 107N Understanding Randomness Solutions For Final Examination May 11, 2010

1.6 The Order of Operations

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

PROBABILITY SECOND EDITION

Decision Making under Uncertainty

Probability and Expected Value

University of Chicago Graduate School of Business. Business 41000: Business Statistics

SCHOOL OF HEALTH AND HUMAN SCIENCES DON T FORGET TO RECODE YOUR MISSING VALUES

Tom wants to find two real numbers, a and b, that have a sum of 10 and have a product of 10. He makes this table.

Goal Setting. Your role as the coach is to develop and maintain an effective coaching plan with the client. You are there to

This chapter discusses some of the basic concepts in inferential statistics.

Elementary Statistics

Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

A Few Basics of Probability

Solutions: Problems for Chapter 3. Solutions: Problems for Chapter 3

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Chapter 23. Two Categorical Variables: The Chi-Square Test

AMS 5 CHANCE VARIABILITY

Ready, Set, Go! Math Games for Serious Minds

Chapter 16: law of averages

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Aim To help students prepare for the Academic Reading component of the IELTS exam.

1.5 Oneway Analysis of Variance

ATM 552 Notes: Review of Statistics Page 1

2 Sample t-test (unequal sample sizes and unequal variances)

SAMPLE SIZE CONSIDERATIONS

Your logbook. Choosing a topic

A Primer on Mathematical Statistics and Univariate Distributions; The Normal Distribution; The GLM with the Normal Distribution

Mental Questions. Day What number is five cubed? 2. A circle has radius r. What is the formula for the area of the circle?

Association Between Variables

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Playing with Numbers

Content Sheet 7-1: Overview of Quality Control for Quantitative Tests

Stats Review Chapters 9-10

Radiometric Dating Lab By Vicky Jordan

The mathematical branch of probability has its

DESCRIPTIVE STATISTICS & DATA PRESENTATION*

Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),

Mgmt 469. Regression Basics. You have all had some training in statistics and regression analysis. Still, it is useful to review

Solving Rational Equations

Concepts of Probability

Vieta s Formulas and the Identity Theorem

Permutation & Non-Parametric Tests

Bayesian Tutorial (Sheet Updated 20 March)

Objective. Materials. TI-73 Calculator

Appendix 2 Statistical Hypothesis Testing 1

IMPLEMENTING BUSINESS CONTINUITY MANAGEMENT IN A DISTRIBUTED ORGANISATION: A CASE STUDY

November 08, S8.6_3 Testing a Claim About a Standard Deviation or Variance

Rockefeller College University at Albany

The overall size of these chance errors is measured by their RMS HALF THE NUMBER OF TOSSES NUMBER OF HEADS MINUS NUMBER OF TOSSES

Lab 11. Simulations. The Concept

Binomial Probability Distribution

Statistiek I. Proportions aka Sign Tests. John Nerbonne. CLCG, Rijksuniversiteit Groningen.

2.5 Zeros of a Polynomial Functions

Transcription:

Chi Squared Test

Why Chi Squared? To test to see if, when we collect data, is the variation we see due to chance or due to something else?

This is the Chi Squared Test Formula Greek letter X is Chi Don t get confused- X 2 is the name of the whole variable- you don t have to ever take the square root of it or solve for X.

Coin Flipping Example If you flip a coin 100 times and get this data: 62 Heads 38 Tails The question we wonder about this data: Is this due to chance? Or... Is this not due to chance? For example: Perhaps there is something wrong with the coin? Perhaps there is something wrong with the way I am flipping the coin, etc.? Chi Squared test lets us answer this!!

Null Hypothesis The Chi Squared Test begins with the Null Hypothesis The Null Hypothesis says: There is no significant statistical difference between the observed and expected frequencies (i.e. the differences we see are simply due to chance). For a coin flipping experiment: The expected values are 50 heads, 50 tails. The observed values are 62 heads, 38 tails. Question we are trying to answer: are the observed values due to chance or... not due to chance?

Degrees of Freedom and Critical Values We need to define and understand these terms before we can use the Chi Squared test. The whole point of a Chi Squared test is to either reject or fail to reject the Null Hypothesis. Key is to exceed or not exceed your critical value. But first we have to figure out which number it is in this chart.

Degrees of Freedom Because we are comparing outcomes, we need at least two outcomes in our experiment. We are flipping coins so we have two outcomes- heads or tails. To get degrees of freedom we simply subtract one from the two possible outcomes. 2-1= 1 Therefore, in this experiment we have 1 degree of freedom

Critical Values Next thing you are looking for is a critical value. We will always use p = 0.05 value. This means we are 95% sure we are either failing to reject the Null Hypothesis or rejecting our Null Hypothesis. Critical Values can vary. If we want a higher degree of certainty that our results are true, we can use p= 0.01 value and then we would have 99% certainty, but 95% certainty is used by most scientists. For 1 degree of freedom at p=.05 the critical value = 3.84.

Null Hypothesis says: Null Hypothesis There is no significant statistical difference between the observed and expected frequencies (i.e. the differences we see are simply due to chance). We either reject or fail to reject the null hypothesis. Reject the Null Hypothesis: This means there is a statistical difference between the observed and expected frequencies Fail to Reject the Null Hypothesis: This means there is no statistical difference between the observed and expected frequencies In this case the critical value is 3.841 If your Chi Squared is greater than 3.841 you reject the Null Hypothesis Therefore, there is something aside from chance that is causing us to get more heads than tails. If your Chi Squared is less than 3.841 you fail to reject the Null Hypothesis. This is usually what happens unless you have something that is impacting your results

50 tosses Practice- Coin Toss Expected: Heads: 25 Tails: 25 Observed: Heads: 28 Tails: 22 Do it for heads Do it for tails What is our Critical Value? 2-1 = 1 3.84 If our Chi Squared is greater than the critical value we reject our Null Hypothesis If our Chi Squared is less than the critical value we fail to reject our Null Hypothesis This means there is no statistical significance between what we observed & what we expected. What we got is due to chance- nothing s weird about the coins or the way we tossed them.

Practice- Dice If you have throw 36 dice at once what would you expect? Expected: 6 of each dice (6 ones, 6 tw0s, 6 threes, 6 fours, etc. ) What did we get? Observed: See photo and count! Do a Chi Square analysis.

Chi Squared Degrees of Freedom 6-1=5 Critical Value: 11.07 Fail to reject the Null Hypothesis No difference between obs and exp What we see is due to chance! Practice- Dice