Chi Square.

Slides:



Advertisements
Similar presentations
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
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 A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Laws of Probability and Chi Square
Quantitative Skills 4: The Chi-Square Test
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.
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.
Chi Square.
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory. How.
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.
Fruit Fly Basics Drosophila melanogaster. Wild Type Phenotype Red eyes Tan Body Black Rings on abdomen Normal Wings.
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.
Statistical Analysis: Chi Square AP Biology Ms. Haut.
Chi-Square Analysis AP Biology.
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.
Chi-square test Hypothesis testing. Null hypothesis- The status quo– AKA no change/difference. Alternative hypothesis- What you want to prove/show with.
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.
Chi-Square Analysis AP Biology.
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
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-Squared Χ2 Analysis
11.2 Applying Mendel’s Principles
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Cell Cycle and Chi Square
What is a χ2 (Chi-square) test used 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.
Statistical Analysis Chi Square (X2).
Analyzing Data c2 Test….”Chi” Square.
Patterns of inheritance
Chi-Squared (2) Analysis
Chi-Square Analysis AP Biology.
Chi Square SBI3UP.
MENDELIAN GENETICS CHI SQUARE ANALYSIS
PROBABILITY & PUNNETT SQUARES 11-2
Analyzing Data c2 Test….”Chi” Square.
Probability & Genetics
Chi square.
Chi-Square Analysis.
Probability.
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.
Chi-Squared (2) Analysis
Probability & Genetics
Chi-Square Analysis AP Biology.
Statistical Analysis Chi-Square.
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.
Chapter 6: Introduction to Genetics
Chi-Square Analysis AP Biology.
Chi2 (A.K.A X2).
What is a χ2 (Chi-square) test used for?
Chi-Square Analysis AP Biology.
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.
20 May 2019 Chi2 Test For Genetics Help sheet.
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.
THE CHI-SQUARE TEST JANUARY 28, 2013.
11-2 Probability and Punnett Squares
Chi square.
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.
Students Get handout - Chi-square statistical
Chi-Square Analysis AP Biology.
Will use Fruit Flies for our example
Presentation transcript:

Chi Square

What is it? A statistical test to determine if the actual results are different enough from the predicted results to suggest that the hypothesis is not correct Use the null hypothesis: Any difference between the observed and expected data is due to CHANCE The goal of the Chi Square analysis is to confirm or refute this null hypothesis

Calculating Chi Square Χ2= (O-E)2 E O- observed E- expected

If we use pennies… We expect heads ½ the time and tails ½ the time, so The expected value for heads is 0.5 and the expected value for tails is 0.5 In genetics problems, we use a Punnett square to get our expected values…convert the fractions to decimals

Hypothesis If I flip a coin 300 times, I expect 150 heads, 150 tails for a total of 300

Test the Hypothesis I actually flip the penny 300 times… I observe 162 heads, 138 tails, 300 total

Calculate Chi Square Value For each possible outcome, (O-E)2 E Heads: (O-E)2 (162-150)2 = 144/150 = 0.96 Tails: (O-E)2 (138-150)2 = 144/150 = 0.96

Find Total Chi Square Add Chi Square values together 0.96 + 0.96 = 1.92 All the information is placed on a Chi Square Table Class (of data) Expected Observed (O – E) (O – E)2 (O – E)2/E Heads 150 162 12 144 .96 Tails 138 -12 Total 300   Sum of X2 = 1.92

Degrees of Freedom The number of possible outcomes, minus one. With coins, you have two possible outcomes: heads or tails. There is one degree of freedom

Compare total to a table of critical values Use Chi-Square Distribution table Read across appropriate degrees of freedom row Find the range of the p value- it is unlikely you will be exactly on a p value, but somewhere between two

Critical Values of the X2 Distribution (1.92 with 1 degree of freedom)

What does this mean? So what does that mean? A probability of 0.10 corresponds to a “chance” of 10%; a probability of 0.50 to a “chance” of 50%. This chi-square result means that, if our hypothesis is correct, and we performed exactly this experiment over and over again, 10% or 50% of the time, our results would be at least this far from what we predicted. Or, the probability that we would get results at least as bad as these, even though our hypothesis is correct is between 0.10 and 0.50.

So is the hypothesis supported or not? The usual “level of discrimination” used by investigators is P(X2) = 0.05. Thus, if your chi-square value has a probability of 0.05 or lower, it is very likely (but not certain) that your hypothesis is not supported. If the calculated Chi Square is larger than the critical value, we REJECT the null hypothesis because our data is too different from the expected to be due to chance alone…there must be some other explanation

Practice #1

Hypothesis: White fruit is dominant over yellow fruit P = Ww x ww ½ White; ½ yellow 1:1 .5 white; .5 yellow W w Ww ww

Calculate Expected There are 200 total seeds produced (observed) 200 * .5 = 100 (expect 1 out of 2) 200 * .5 = 100 (expect 1 out of 2) _____ 200

Observed: 110 white 90 yellow

Chi Square (Observed – Expected)2 Expected White: (110-100)2 = 1 Add χ2 together 100 to get total. Yellow: (90-100)2 = 1 Total = 2 100

Degrees of freedom = # of possibilities - 1

What does that mean? 1◦ Freedom X2 value of 2 p value is 0.2-0.1 NOT a significant difference between observed and expected Hypothesis is supported by observed results Due to random chance

Practice #2

Hypothesis: White fruit is dominant over yellow fruit P = Ww x ww ½ White; ½ yellow 1:1 .5 white; .5 yellow W w Ww ww

Calculate Expected There are 2000 total seeds produced (observed) 2000 * .5 = 1000 (expect 1 out of 2) 2000* .5 = 1000 (expect 1 out of 2) _____ 2000

Observed: 1100 white 900 yellow

Chi Square (Observed – Expected)2 Expected White: (1100-1000)2 = 10 1000 Yellow: (900-1000)2 = 10 Total = 20

What does that mean? 1◦ Freedom X2 value of 20 p value is ˂0.01 THERE IS a significant difference between observed and expected Hypothesis is NOT supported by observed results Due to some other factor than random chance

Practice #3 ttWw x TtWw (T= tall t= short; W= wide w= narrow) 3/8 tall, wide 1/8 tall, narrow 3/8 short, wide 1/8 short, narrow tW tw TW TtWW TtWw Tw Ttww ttWW ttWw ttww

There are 462 offspring produced Calculate expected: 462 * 0.375 = 173.25 173 (can’t have ¼ of organism) 462 * 0.375 = 173.25 173 462 * 0.125 = 57.75 58 ____ 462

Observed Of the 462 offspring observed, 158 are tall, wide 64 are tall, narrow 143 are short, wide 97 are short, narrow Calculate the Chi Square!

Calculate Chi Square Tall, wide: (158-173)2 = 1.30 173 Tall, narrow: (64-58)2 = 0.62 58 Short, wide: (143-173)2 = 5.20 Short, narrow: (97-58)2 = 26.22 Total = 33.34

Degrees of freedom = # of possibilities - 1

Analyze 3 degrees of freedom (4 possible phenotypes, less one) Chi- Square value of 33.34 p value is ˂ 0.01 Hypothesis is NOT supported by data Likely due to some factor other than chance