Chi-Square Test. Chi-Square (χ 2 ) Test Used to determine if there is a significant difference between the expected and observed data Null hypothesis:

Slides:



Advertisements
Similar presentations
AP Biology.  Segregation of the alleles into gametes is like a coin toss (heads or tails = equal probability)  Rule of Multiplication  Probability.
Advertisements

Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
The Chi-Square Test for Association
Chi-Squared Tutorial This is significantly important. Get your AP Equations and Formulas sheet.
Laws of Probability and Chi Square
CHAPTER 23: Two Categorical Variables: The Chi-Square Test
Chapter 11 Inference for Distributions of Categorical Data
Genetics and Statistics
What is a χ2 (Chi-square) test used for?
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.
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 Test.
Lecture 14 Goodness of Fit and Chi Square
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Chapter 13: Inference for Tables – Chi-Square Procedures
11.4 Hardy-Wineberg Equilibrium. Equation - used to predict genotype frequencies in a population Predicted genotype frequencies are compared with Actual.
Chi Square AP Biology.
Chapter 11: Inference for Distributions of Categorical Data.
Chi Square Analysis  Use to see if the observed value varies from the expected value.  Null Hypothesis – There is no difference between the observed.
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory. How.
Chapter 11: Inference for Distributions of Categorical Data Section 11.1 Chi-Square Goodness-of-Fit Tests.
Chi-Square Test.
Chi-Squared (  2 ) Analysis AP Biology Unit 4 What is Chi-Squared? In genetics, you can predict genotypes based on probability (expected results) Chi-squared.
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-Squared Genetics and Statistics A Tale of Two Hypotheses.
Chi-Square Analysis AP Biology.
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.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
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.
DRAWING INFERENCES FROM DATA THE CHI SQUARE TEST.
11.1 Chi-Square Tests for Goodness of Fit Objectives SWBAT: STATE appropriate hypotheses and COMPUTE expected counts for a chi- square test for goodness.
AP Biology Heredity PowerPoint presentation text copied directly from NJCTL with corrections made as needed. Graphics may have been substituted with a.
Chi-Square (χ 2 ) Analysis Statistical Analysis of Genetic Data.
Chi Square Analysis. What is the chi-square statistic? The chi-square (chi, the Greek letter pronounced "kye”) statistic is a nonparametric statistical.
Genetics and Statistics A Tale of Two Hypotheses.
Check your understanding: p. 684
The Chi Square Test A statistical method used to determine goodness of fit Chi-square requires no assumptions about the shape of the population distribution.
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Chi-Squared (2) Analysis
Statistical Analysis: Chi Square
Chi-Square Test.
Chi-Squared Χ2 Analysis
M & M Statistics: A Chi Square Analysis
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Chi-Square X2.
Chi-Squared (2) Analysis
Genetics and Statistics
Chi-Square Test.
The Chi Square Test A statistical method used to determine goodness of fit Goodness of fit refers to how close the observed data are to those predicted.
Chi Square SBI3UP.
MENDELIAN GENETICS CHI SQUARE ANALYSIS
The Chi Square Test A statistical method used to determine goodness of fit Goodness of fit refers to how close the observed data are to those predicted.
Chi-Square Test.
Is a persons’ size related to if they were bullied
Chapter 11: Inference for Distributions of Categorical Data
Chi-Squared (2) Analysis
The Chi Square Test A statistical method used to determine goodness of fit Goodness of fit refers to how close the observed data are to those predicted.
Chi-Square Test.
Genetics and Statistics
What is a χ2 (Chi-square) test used for?
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.
Graphs and Chi Square.
THE CHI-SQUARE TEST JANUARY 28, 2013.
Chi-Square Test A fundamental problem in Science is determining whether the experiment data fits the results expected. How can you tell if an observed.
Inference for Distributions of Categorical Data
Presentation transcript:

Chi-Square Test

Chi-Square (χ 2 ) Test Used to determine if there is a significant difference between the expected and observed data Null hypothesis: There is NO statistically significant difference between expected & observed data Any differences are due to CHANCE alone

Chi-Square (χ 2 ) Formula

How to use the Chi-Square Test 1.Determine null hypothesis All frequencies are equal –OR– Specific frequencies given already 2.Use formula to calculate χ 2 value: n = # of categories, e = expected, o = observed 3.Find critical value using table (Use p=0.05). degrees of freedom (df) = n – 1 4.If χ 2 < Critical Value, then ACCEPT null hypothesis. Differences in data are due to chance alone. If χ 2 > Critical Value, REJECT the null hypothesis: Differences in data are NOT due to chance alone!

Sample Problem yellow You buy a package of M&Ms from the factory store and find the following: 20 brown, 20 blue, 20 orange, 20 green, and 20 yellow M&Ms. yellow According to the M&M website, each package of candy should have 13% brown, 24% blue, 20% orange, 16% green, 13% red, and 14% yellow M&Ms. You realize you are missing Red M&M’s in your package! Is this acceptable, or did something happen in the factory during the packaging process? Use the Chi-Square Test to answer this question.

Consider this story.... Two tigers at a zoo are bred together and they have four cubs.

Two of the four cubs are albino tigers. Based on that, Kristin hypothesizes that both of the parents must be carrying a recessive gene for albinism. The cross would look like: A a x A a Who fell into the bleach? At least they have a future in the circus..... Don't hate me because I'm beautiful

If Kristin's hypothesis is accurate the punnett square would look like..

This AP Bio student is unconvinced. If your hypothesis is correct, then only ONE of the four kittens should be an albino. You are so dumb...you are really really dumb....

But isn't 1/4 pretty close to 2/4...maybe the difference is just due to chance.... Once I flipped a coin four times I got heads 3 times. Sometimes it just happens that way. Maybe you just got lucky and got an extra white kitten..

The only way to solve this problem and the argument is to do a statistical analysis. We call this type of analysis a CHI SQUARE The purpose is to determine whether the results are statistically significant. What are the odds that your tigers are Aa x Aa? Or could other factors be at work here? I am so going to win this argument!

Here's how to do a chi square. Summed for all classes means that you are looking at all the traits you observed - in this case, orange and white.

To apply the formula, plug in your "observed" and "expected" numbers....this will give you I do not like math!

1.33? Is that good or bad? Who is right? Who is wrong? What time is it? = 1.33 To determine if this number is good or not, you must look at a chi square chart. "Degrees of freedom" is one less than the original number of classes you looked at, which was 2 (orange & white) So we will look at the first row (DoF = 1)

1.33 is between the 20% and 30% columns Basically this means that the difference you observed between orange and white cubs can be expected to occur more than 20% of the time, just due to chance. Scientists use 5% as the cut-off percent to reject a hypothesis. Results are always better with a large sample size.

If you find that you have a "poor fit", that means that you probably need to reject the hypothesis. In the tiger cub case, we did not have a poor fit. Well obviously, I was right. You can run and tell that..

Poor fit. Emily thinks she gets it now. So she looks at another case. She breeds two black mice together and finds that over the course of 3 years, the parents produce 330 brown mice, and 810 black mice. She hypothesizes that the parents are Bb (heterozygous). How can she prove this with a chi square?

Online Chi Square Calculator at -- just plug in the observed and expected values