Chi Square AP Biology.

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

CHI-SQUARE(X2) DISTRIBUTION
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-Square Analysis Goodness of Fit "Linkage Studies of the Tomato" (Trans. Royal Canad. Inst. (1931))
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
Laws of Probability and Chi Square
Chi-Square Analysis Mendel’s Peas and the Goodness of Fit Test.
Random variable Distribution. 200 trials where I flipped the coin 50 times and counted heads no_of_heads in a trial.
Gregor Johann Mendel “Father of Genetics”. Mendel’s success Came up with an elegant model of experimental design –chose a good “model” organism: Pisum.
Chi Square Analyses: Comparing Frequency Distributions.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 25, Slide 1 Chapter 25 Comparing Counts.
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.
11.4 Hardy-Wineberg Equilibrium. Equation - used to predict genotype frequencies in a population Predicted genotype frequencies are compared with Actual.
Chi-Squared Test.
1 Psych 5500/6500 Chi-Square (Part Two) Test for Association Fall, 2008.
Chi Square.
Copyright © 2010 Pearson Education, Inc. Warm Up- Good Morning! If all the values of a data set are the same, all of the following must equal zero except.
Chi-square Test of Independence Hypotheses Neha Jain Lecturer School of Biotechnology Devi Ahilya University, Indore.
Chi-Square as a Statistical Test Chi-square test: an inferential statistics technique designed to test for significant relationships between two variables.
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory. How.
Chapter 12 A Primer for Inferential Statistics What Does Statistically Significant Mean? It’s the probability that an observed difference or association.
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
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!!
The Chi Square Test “The Goodness Fit” Test. Purpose Used in genetics to determine how close to the expected ratio your data is Determines if the experiment.
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.
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
Copyright © 2010 Pearson Education, Inc. Warm Up- Good Morning! If all the values of a data set are the same, all of the following must equal zero except.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Leftover Slides from Week Five. Steps in Hypothesis Testing Specify the research hypothesis and corresponding null hypothesis Compute the value of a test.
Chi-Square Analysis AP Biology.
Chi-Square Test. Chi-Square (χ 2 ) Test Used to determine if there is a significant difference between the expected and observed data Null hypothesis:
1. Determine number of each phenotype observed and how many would be expected given basic genetic theory 2. Calculate chi-square statistic using this.
Lecture 11. The chi-square test for goodness of fit.
Comparing Counts Chapter 26. Goodness-of-Fit A test of whether the distribution of counts in one categorical variable matches the distribution predicted.
Analyzing Data  2 Test….”Chi” Square. Forked-Line Method, F2 UuDd x UuDd 1/4 UU 1/2 Uu 1/4 uu 1/4 DD 1/2 Dd 1/4 dd 1/4 DD 1/2 Dd 1/4 dd 1/4 DD 1/2 Dd.
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 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.
Genetics and Statistics A Tale of Two Hypotheses.
Hypothesis Testing Hypothesis vs Theory  Hypothesis  An educated guess about outcome of an experiment  Theory  An explanation of observed facts that.
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.
Statistical Analysis: Chi Square
Chi-Squared Χ2 Analysis
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Analyzing Data c2 Test….”Chi” Square.
Patterns of inheritance
Genetics and Statistics
Chi Square SBI3UP.
Chi Square.
Analyzing Data c2 Test….”Chi” Square.
Analyzing Data c2 Test….”Chi” Square.
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
P-VALUE.
Genetics and Statistics
Chi-Squared AP Biology.
UNIT V CHISQUARE DISTRIBUTION
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.
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
CHI SQUARE (χ2) Dangerous Curves Ahead!.
Will use Fruit Flies for our example
Presentation transcript:

Chi Square AP Biology

What is Chi Square Test Used For? intended to test how likely it is that an observed distribution is due to chance used with discrete values analyzes categorical data (will not work with continuous data) Example: comparing class attendance with grade score (0 – 100) not appropriate for Chi square comparing class attendance with pass/fail is appropriate

Chi Square tells you information based on how you divide up date BUT it cannot tell you whether the categories you constructed are meaningful

http://course1.winona.edu/sberg/Equation/chi-squ2.gif

Interpreting a chi square Calculate degrees of freedom # of events, trials, phenotypes -1 Example 2 phenotypes-1 =1 Generally use the column labeled 0.05 (which means there is a 95% chance that any difference between what you expected and what you observed is within accepted random chance. Any value calculated that is larger means you reject your null hypothesis and there is a difference between observed and expect values.

How to use a chi square chart http://faculty.southwest.tn.edu/jiwilliams/probab2.gif

The Use of the Null Hypothesis Is the difference in two sample populations due to chance or a real statistical difference? The null hypothesis assumes that there will be no “difference” or no “change” or no “effect” of the experimental treatment. If treatment A is no better than treatment B then the null hypothesis is supported. If there is a significant difference between A and B then the null hypothesis is rejected...

Null Hypothesis Example Hypothesis: Aliens ran off with my missing sock. Null Hypothesis: There is no association between aliens and my missing sock.

If my data show that my hypothesis is supported then my results do not fit the null hypothesis so the null hypothesis is rejected in favor of my hypothesis. If my data do not support my hypothesis the null hypothesis is supported

Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e. Mendel’s laws as expressed in the Punnett square). How can you tell if an observed set of offspring counts is legitimately the result of a given underlying simple ratio? For example, you do a cross and see 290 purple flowers and 110 white flowers in the offspring. This is pretty close to a 3/4 : 1/4 ratio, but how do you formally define "pretty close"? What about 250:150?

Goodness of Fit Mendel has no way of solving this problem. Shortly after the rediscovery of his work in 1900, Karl Pearson and R.A. Fisher developed the “chi-square” test for this purpose. The chi-square test is a “goodness of fit” test: it answers the question of how well do experimental data fit expectations. We start with a theory for how the offspring will be distributed: the “null hypothesis”. We will discuss the offspring of a self-pollination of a heterozygote. The null hypothesis is that the offspring will appear in a ratio of 3/4 dominant to 1/4 recessive.

Formula First determine the number of each phenotype that have been observed and how many would be expected given basic genetic theory. Then calculate the chi-square statistic using this formula. You need to memorize the formula! The “Χ” is the Greek letter chi; the “∑” is a sigma; it means to sum the following terms for all phenotypes. “obs” is the number of individuals of the given phenotype observed; “exp” is the number of that phenotype expected from the null hypothesis. Note that you must use the number of individuals, the counts, and NOT proportions, ratios, or frequencies.

Example As an example, you count F2 offspring, and get 290 purple and 110 white flowers. This is a total of 400 (290 + 110) offspring. We expect a 3/4 : 1/4 ratio. We need to calculate the expected numbers (you MUST use the numbers of offspring, NOT the proportion!!!); this is done by multiplying the total offspring by the expected proportions. This we expect 400 * 3/4 = 300 purple, and 400 * 1/4 = 100 white. Thus, for purple, obs = 290 and exp = 300. For white, obs = 110 and exp = 100. Now it's just a matter of plugging into the formula: 2 = (290 - 300)2 / 300 + (110 - 100)2 / 100 = (-10)2 / 300 + (10)2 / 100 = 100 / 300 + 100 / 100 = 0.333 + 1.000 = 1.333. This is our chi-square value: now we need to see what it means and how to use it.

Chi-Square Distribution Although the chi-square distribution can be derived through math theory, we can also get it experimentally: Let's say we do the same experiment 1000 times, do the same self-pollination of a Pp heterozygote, which should give the 3/4 : 1/4 ratio. For each experiment we calculate the chi-square value, them plot them all on a graph. The x-axis is the chi-square value calculated from the formula. The y-axis is the number of individual experiments that got that chi-square value.

The Critical Question how do you tell a really odd but correct result from a WRONG result? The graph is what happens with real experiments: most of the time the results fit expectations pretty well, but occasionally very skewed distributions of data occur even though you performed the experiment correctly, based on the correct theory, The simple answer is: you can never tell for certain that a given result is “wrong”, that the result you got was completely impossible based on the theory you used. All we can do is determine whether a given result is likely or unlikely. Key point: There are 2 ways of getting a high chi-square value: an unusual result from the correct theory, or a result from the wrong theory. These are indistinguishable; because of this fact, statistics is never able to discriminate between true and false with 100% certainty. Using the example here, how can you tell if your 290: 110 offspring ratio really fits a 3/4 : 1/4 ratio (as expected from selfing a heterozygote) or whether it was the result of a mistake or accident-- a 1/2 : 1/2 ratio from a backcross for example? You can’t be certain, but you can at least determine whether your result is reasonable.