Professional Documents
Culture Documents
5-Chi Square Analysis Tutorial
5-Chi Square Analysis Tutorial
5-Chi Square Analysis Tutorial
The c2 test is a statistical method that tests whether a given set of data fit a hypothesis.
Can the test accept the hypothesis and it’s wrong? Can we
reject a correct hypothesis? You bet! That’s why we call it
probability and not absolutility!
But in the following pages you will see how statistics can gauge
the confidence of our answer.
Chi Square Test
Chi Square c2 for goodness of fit
PS – these are the steps I look for and score on any exam…
Chi Square Test
Chi Square c2 for goodness of fit
Example: If we observed 99 purple and 45 white flowers, is this a 3:1 ratio? Use c2 to
test this hypothesis.
In the next slides we will outline the c2 analysis for this process
Chi Square Test
Example: If we observed 99 purple and 45 white flowers, is this a 3:1 ratio? Use c2 to test this hypothesis.
• This is one of the most important steps that students often overlook
• Remember that if you don’t know your hypothesis you don’t know what
you are accepting or rejecting in the end
Chi Square Test
Example: If we observed 99 purple and 45 white flowers, is this a 3:1 ratio? Use c2 to test this hypothesis.
- The given data are the observed values (ie, in this case 99 purple and 45 white)
Chi Square Test
Example: If we observed 99 purple and 45 white flowers, is this a 3:1 ratio? Use c2 to test this hypothesis.
We will take a little detour to demonstrate that probability depends on sample size:
Let’s look at it
in pictures
Step 5. Determine the probability that your null hypothesis is correct
If we go from the graph to the c2 table below we see columns with probabilities as headings.
Within the body of the table are the c2 values that correspond to the probability at the top.
< 5% chance of being the correct hypothesis
Rarely will you find a (bell curve shoulders)
c2 that is exact –
usually it falls between
2 columns.
For example:
0.05<p<0.1
To return to our example, to determine the probability that our data fit the null hypothesis,
we will use both the degrees of freedom that you determined (1) and the c 2 value (3.0)
in a c2 table shown below.
• Locate the 2
columns that
span the c2 value
from your
analysis
• Go to the top of
the column for
the probability (p)
Chi Square Test
Example: If we observed 99 purple and 45 white flowers, is this a 3:1 ratio? Use c2 to test this hypothesis.
These data for purple and white are indicative of a 3:1 ratio
The c2 test can be used to test any type of genetic hypothesis using these 7 steps:
Monohybrids, dihybrids, testcrosses, and as we’ll see linkage of 2 genes.
Here are 2 of Mendel’s
experiments to practice with.
You can use the answers to
check yourself.