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

Slides:



Advertisements
Similar presentations
Probability and Punnett Squares
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.
What is a χ2 (Chi-square) test used for?
Laws of Probability and Chi Square
Quantitative Skills 4: The Chi-Square Test
Chapter 11 Inference for Distributions of Categorical Data
Probability and Punnett Squares
1 Review What is probability Use Models How are Punnett squares used to predict the outcomes of genetic crosses 2 Review What is independent assortment.
PROBABILITY & PUNNETT SQUARES It can be written as a: Fraction ____ Percent ____ ____________________ is the __________ that a particular _________________.
Chapter 11: Introduction to Genetics
Genetics Chromosome Number Fruit fly example: 8 chromosomes total
Chapter 11 Section 2 Applying Mendel’s Principles
Applying Mendel’s Principles Probability, Punnett Squares, & Independent Assortment (Dihybrid Cross) Section 11.2.
Probability and Genetics
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-Squared Test.
 Weird True & Freaky: Animal Planet Weird True & Freaky: Animal Planet  Today’s Schedule  1. Video of the Day  2. Probability & Genetics  3. Assignment.
11.2 Applying Mendel’s Principles
Chi square analysis Just when you thought statistics was over!!
APW If you flip a coin, what are the chances that it will land on heads? Tails? Suppose you flip the coin once, get heads, and then flip it again. What.
Chapter 6 Mendelian Genetics. Genetics – the scientific study of heredity Gregor Mendel is said to be the father of genetics. Mendel used pea plants to.
Probability and Punnett Squares Genetics and Probability The likelihood that a particular event will occur is called probability.probability As.
Punnett Squares Predicting the Probability of Inherited Traits.
Probability and Punnett Squares. Tossing Coins If you toss a coin, what is the probability of getting heads? Tails? If you toss a coin 10 times, how many.
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.
III. Statistics and chi-square How do you know if your data fits your hypothesis? (3:1, 9:3:3:1, etc.) For example, suppose you get the following data.
Chi-square test Hypothesis testing. Null hypothesis- The status quo– AKA no change/difference. Alternative hypothesis- What you want to prove/show with.
PROBABILITY AND STATISTICS The laws of inheritance can be used to predict the outcomes of genetic crosses For example –Animal and plant breeders are concerned.
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.
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.
11-2 Probability and Punnett Squares
II. Probability and Punnett Squares
11.2 Applying Mendel’s Principles
What is a χ2 (Chi-square) test used for?
Objective: to be able to create punnett squares and predict probabilities of the outcome 11.2.
11.2 Applying Mendel’s Principles
Segregation (p. 311 and 312) Segregation = separation
11-2 Probability and Punnett Squares
Patterns of inheritance
O T T F F S S E __ What comes next?.
O T T F F S S E __ What comes next?.
11-1 The Work of Gregor Mendel
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.
PROBABILITY & PUNNETT SQUARES 11-2
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.
Introduction to Genetics
Chapter 11: Intro to Genetics
Chapter 5 Section 2 Traits and Inheritance Bellringer
PROBABILITY & PUNNETT SQUARES 11-2
Introduction to Genetics
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.
Segregation of gametes
Mendel and Genetics.
Probability and Punnett Squares
11-2 Probability and Punnett Squares
Objective SWBAT complete Punnett squares for monohybrid crosses.
Unit 8: Mendelian Genetics 8.2 Probability and Punnett Squares
Do now activity #3 In pea plants, yellow seed color (Y) is dominant over green seed color ( y ). Complete the cross between a plant that is heterozygous.
What is a χ2 (Chi-square) test used for?
Applying Mendel’s Principles
20 May 2019 Chi2 Test For Genetics Help sheet.
11-1 Gregor Mendel What he did.
O T T F F S S E __ What comes next?.
Do now activity #3 In pea plants, yellow seed color (Y) is dominant over green seed color ( y ). Complete the cross between a plant that is heterozygous.
Presentation transcript:

What is a χ2 (Chi-square) test used for? Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test What is a χ2 (Chi-square) test used for? Statistical test used to compare observed data with expected data according to a hypothesis. What does that mean? Let’s look at the next slide to find out…

50 heads and 50 tails Chapter 13 – How Populations Evolve Χ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 Chapter 13 – How Populations Evolve Χ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 Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test NULL HYPOTHESIS 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 Chapter 13 – How Populations Evolve Χ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.

Chapter 13 – How Populations Evolve Χ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 Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test Heads Tails Observed 41 59 Expected 50 50 Χ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…?

Chapter 13 – How Populations Evolve Χ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?

Chapter 13 – How Populations Evolve Χ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.

Chapter 13 – How Populations Evolve Χ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 Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test 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 Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test Heads Tails Observed 41 59 Expected 50 50 P-value = ~0.07 Therefore, there is a 7% chance that the null hypothesis (there is no real difference between observed and expected) is correct.

Heads Tails Observed 41 59 Expected 50 50 Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test Heads Tails Observed 41 59 Expected 50 50 P-value = ~0.07 You might say then that the other hypothesis must be correct as there is a 93% likelihood that there is a different between observed and expected…

50 50 Chapter 13 – How Populations Evolve Χ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 (5% chance that null is correct). Therefore the null hypothesis cannot be rejected.

Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test For example, suppose that a cross between two pea plants yields a population of 880 plants, 639 with green seeds and 241 with yellow seeds. You are asked to propose the genotypes of the parents. Your hypothesis is that the allele for green is dominant to the allele for yellow and that the parent plants were both heterozygous for this trait. If your hypothesis is true, then the predicted ratio of offspring from this cross would be 3:1 (based on Mendel's laws) as predicted from the results of the Punnett square. Is it?

Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test

Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test

Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test

Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test

Chapter 13 – How Populations Evolve Χ2 (Chi-square) Test