The Chi Squared Test.

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 Chi-square is a statistical test commonly used to compare observed data with data we would expect to obtain according to a specific hypothesis.
The Chi-Square Test for Association
Chi-Squared Tutorial This is significantly important. Get your AP Equations and Formulas sheet.
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.
Chi-Square Test A fundamental problem in genetics is determining whether the experimentally determined data fits the results expected from theory. How.
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.
Hypotheses and Hypothesis Testing. Hypothesis An educated prediction about the outcome of an investigation A statement explaining that a causal relationship.
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.
Statistical Analysis: Chi Square AP Biology Ms. Haut.
© Copyright McGraw-Hill 2004
How do you know when your data aren’t “close enough”? …and hand grenades!
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 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.
Hypothesis Testing Hypothesis vs Theory  Hypothesis  An educated guess about outcome of an experiment  Theory  An explanation of observed facts that.
Quadrat Sampling Chi-squared Test
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
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
Lecture Nine - Twelve Tests of Significance.
Chi-Square Test A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory (i.e.
Genetics and Probability
Statistical Analysis Chi Square (X2).
Hypothesis Testing Review
Patterns of inheritance
Chi-Squared (2) Analysis
Chi-Square Analysis AP Biology.
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
UNIT 6: 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.
Chi Square Review.
Analyzing Data c2 Test….”Chi” Square.
Chi-Square Analysis.
Chi-Square Test.
What I learned in statistics
Chi-Squared (2) Analysis
Chi-Squared Test The chi-squared ( ) test, or Pearson’s chi-squared test, evaluates the likelihood that variation in your results was due to chance.
Statistical Analysis Chi-Square.
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.
Chi2 (A.K.A X2).
Chi-Squared AP Biology.
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.
Graphs and Chi Square.
THE CHI-SQUARE TEST JANUARY 28, 2013.
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.
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Presentation transcript:

The Chi Squared Test

Chi-Squared Test Used to compare data in the field with data in an experiment Is the difference between what you observed and what you expected due to random chance or some other factor? Ex. If you toss a coin 10 times, you expect 5 heads and 5 tails, but that might not be what you observe to happen. There is variability in the real world Chi-squared enables us to distinguish the natural variability between what is observed and what is expected the possibility of something else significantly playing a role

Hypothesis Testing Hypothesis- a causal relationship exists between an underlying factor (variable) and an observable phenomenon. Ex. Do English ivy leaves grow bigger in the shade? Relationship- sunlight amount is the variable causing bigger leaves. Hypothesis testing- Are the effects real? Is there something in this data? trying to reject a null hypothesis A statement explaining that there is no causal relationship Ex. Leaf widths are the same in sunny and shady environments Alternative to the null hypothesis- the causal relationship exists Ex. Leaves grow larger in the shade to capture more sunlight In most cases, experiments do not prove the alternate to the null hypothesis but reject the null hypothesis

Critical Value How much variation should be tolerated before rejecting the null hypothesis? If the observed deviate from the predictions, how much do we allow to chance? In biology we usually have a 5% critical value Known as a probability value, or p-value Ex. Data is collected on leaf width in shade and sun A statistical analysis is used A p-value is generated- if it is less than 5%, we should reject the null The leaves of shady plants are significantly larger than leaves in the sun

Chi-Squared Test Used in introductory biology to Test observed outcomes of genetic test compare with Mendel’s predicted outcomes See how gene frequencies match up to Hardy-Weinberg equilibrium Usually trying to prove that any variation away from Mendel or Hardy-Weinberg was due to chance You want to fail to reject the null, p-value is greater than .05 Proving Mendel and Hardy-Weinberg correct Can also be used to reject the null (p ≤.05) Pill bugs choosing one environment over another Want to show that one environment is desired significantly In medicine- comparing a drug to a placebo Null- effects are the same Chi-squared p-value greater than .05- drug and placebo are equally effective Chi-squared p-value less than or equal to .05- there is a significant different Null is rejected

Calculating Chi-Squared O: observed E: expected Example- Mendel’s monohybrid cross Round is dominant over wrinkled F2 generation should show a 3:1 ratio Data- 5,474 round, 1,850 wrinkled This is the observed Expected data- 5,493 round, 1,831 wrinkled 5474 +1850= 7324 7324 x .75= 5493 7324 x .25= 1831 Is the difference between the observed and the expected significant?

Calculating Chi-Squared Degrees of Freedom- one less than the number of results Two results here, round or wrinkled, so the degrees of freedom is one

Calculating Chi-Squared Once you have determined the value of chi-squared, use a Chi-squared table to calculate the p-value:

Calculating Chi-Squared Results: Our p-value is well above .05 do not reject the null hypothesis The observed vs. the expected values are not significantly different The differences are due to chance Summary of Steps: Calculate the observed and the expected. Plug into the Chi-squared formula Get a number answer for χ2 by adding up the last column Calculate degrees of freedom Use a chi-squared table to calculate the p-value If p≤.05, then reject the null hypothesis

Your Turn Stream snails were marked and recaptured Question asked: Do snails tend to move upstream or downstream after initial capture? If no preference, half would go upstream, half would go down stream Completed in two stream beds: Sandy stream: 43 of 50 snails were recovered upstream Rocky stream: 22 of 38 snails were recovered upstream Do a Chi-squared analysis for each bed type.

Answer

Answer Sandy bed- definitely reject the null hypothesis Rocky bed- do not reject the null hypothesis