What is a χ2 (Chi-square) test used for?

Slides:



Advertisements
Similar presentations
Inferential Statistics and t - tests
Advertisements

AP Biology.  Segregation of the alleles into gametes is like a coin toss (heads or tails = equal probability)  Rule of Multiplication  Probability.
Chi-Square Test Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis.
Chi-Squared Tutorial This is significantly important. Get your AP Equations and Formulas sheet.
What is a χ2 (Chi-square) test used for?
Data Handling & Analysis BD Andrew Jackson Zoology, School of Natural Sciences
Quantitative Skills 4: The Chi-Square Test
Hypothesis Testing IV Chi Square.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
What is a χ2 (Chi-square) test used for?
Chi-square notes. What is a Chi-test used for? Pronounced like kite, not like cheese! This test is used to check if the difference between expected and.
Chi Square Analysis  Use to see if the observed value varies from the expected value.  Null Hypothesis – There is no difference between the observed.
Genetics and Statistics A Tale of Two Hypotheses.
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?
Chi square analysis Just when you thought statistics was over!!
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.
Chi-Square Test. Chi-Square (χ 2 ) Test Used to determine if there is a significant difference between the expected and observed data Null hypothesis:
Did Mendel fake is data? Do a quick internet search and can you find opinions that support or reject this point of view. Does it matter? Should it matter?
The Chi Square Equation Statistics in Biology. Background The chi square (χ 2 ) test is a statistical test to compare observed results with theoretical.
Statistics 300: Elementary Statistics Section 11-3.
DRAWING INFERENCES FROM DATA THE CHI SQUARE TEST.
Chi Square Pg 302. Why Chi - Squared ▪Biologists and other scientists use relationships they have discovered in the lab to predict events that might happen.
Chi-Square (χ 2 ) Analysis Statistical Analysis of Genetic Data.
Genetics and Statistics A Tale of Two Hypotheses.
Chi Square Chi square is employed to test the difference between an actual sample and another hypothetical or previously established distribution such.
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Statistical Analysis: Chi Square
I. CHI SQUARE ANALYSIS Statistical tool used to evaluate variation in categorical data Used to determine if variation is significant or instead, due to.
Chi-Square Test.
The Chi-square Statistic
Chi-Squared Χ2 Analysis
M & M Statistics: A Chi Square Analysis
Chi Square Review.
Chi Squared Test.
Genetics and Probability
Is this quarter fair?. Is this quarter fair? Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of.
The Chi Squared Test.
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.
Statistical Analysis Chi Square (X2).
Chi-Square X2.
Patterns of inheritance
Warm-Up: Chi Square Practice!!!
Chi2 : a visual explanation
Chi-Square Test.
Chi Square.
MENDELIAN GENETICS CHI SQUARE ANALYSIS
Chi square.
Chi Square Review.
Chi Squared Test.
Chi-Square Test.
Hypothesis Testing and Comparing Two Proportions
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data is “good” or not. In our fruit fly labs we are using.
Statistical Analysis Chi-Square.
Chi Square (2) Dr. Richard Jackson
Chi Square Analysis The chi square analysis allows you to use statistics to determine if your data is “good”. In our fruit fly labs we are using laws of.
P-VALUE.
Chi-Square Test.
Chi2 (A.K.A X2).
Chi-Squared AP Biology.
What is a χ2 (Chi-square) test used for?
Copyright © Cengage Learning. All rights reserved.
How do you know if the variation in data is the result of random chance or environmental factors? O is the observed value E is the expected value.
Genetic Statistics.
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.
Graphs and Chi Square.
Is this quarter fair?. Is this quarter fair? Is this quarter fair? How could you determine this? You assume that flipping the coin a large number of.
Chi square.
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
MATH 2311 Section 8.5.
Presentation transcript:

What is a χ2 (Chi-square) test used for? Statistical test used to compare observed data with expected data according to a hypothesis. Let’s look at the next slide to find out…

50 heads and 50 tails Χ2 (Chi-square) Test Ex. Say you have a coin and you want to determine if it is fair (50/50 chance of gets heads/tails). You decide to flip the coin 100 times. If the coin is fair what do you expect/predict to observe? 50 heads and 50 tails Now come up with a hypothesis (two possibilities)

Hypotheses Χ2 (Chi-square) Test 1. The coin is fair and there will be no real difference between what we will observe and what we expect. 2. The coin is not fair and the observed results will be significantly different from the expected results. The first hypothesis that states no difference between the observed and expected has a special name… NULL HYPOTHESIS

NULL HYPOTHESIS Χ2 (Chi-square) Test This is the hypothesis that states there will be no difference between the observed and the expected data or that there is no difference between the two groups you are observing. Ex. You wonder if world class musicians have quicker reaction times than world class athletes. What would the null hypothesis be? That there is no difference between these two groups. Let’s get back to flipping coins…

Heads Tails Observed 41 59 Expected 50 50 Χ2 (Chi-square) Test You flip the coin 100 times and you getting the following results: Heads Tails Observed 41 59 Expected 50 50 Is the coin fair or not? It’s not easy to say. It looks like it might, but maybe not… This is where statistics, in particular the χ2 test, comes in.

Χ2 (Chi-square) Test The formula for calculating χ2 is: Where O is the observed value and E is the expected. What happens to the value of χ2 as your observed data gets closer to the expected? Χ2 approaches 0 Let’s determine χ2 for the coin flipping study…

Heads Tails Observed 41 59 Expected 50 50 Χ2 (Chi-square) Test Χ2 = (41-50)2/50 + (59-50)2/50 Χ2 = (-9)2/50 + (9)2/50 Χ2 = 81/50 + 81/50 Χ2 = 3.24 So what does this number mean…?

Χ2 (Chi-square) Test Converting Χ2 to a P(probability)-value Statisticians have devised a table to do this: Great, but how do you use this?

Χ2 (Chi-square) Test Converting Χ2 to a P(probability)-value First we need to determine Degrees of Freedom (DoF): DoF = # of groups minus 1 We have two groups, heads group and tails group. Therefore our DoF = 1.

Χ2 (Chi-square) Test Converting Χ2 to a P(probability)-value Then scan across and find your X2 value (3.24) Lastly go up and estimate the p-value… P-value = ~0.07 What does this value tell us?

The P-value Χ2 (Chi-square) Test P-value = ~0.07 The p-value tells us the probability that the NULL hypothesis (observed and expected not different) is correct.

Heads Tails Observed 41 59 Expected 50 50 Χ2 (Chi-square) Test P-value = ~0.07 Therefore, there is a 93% chance that the null hypothesis (there is no real difference between observed and expected) is correct.

50 50 Χ2 (Chi-square) Test P-value = ~0.07 However, statisticians have a p-value = 0.05 cutoff. In order for the hypothesis to be supported, p must be less than 0.05 (95% chance that null is correct). Therefore the null hypothesis cannot be rejected.