9.04 Probability and Chi-Square Analysis
9.04 Probability and Chi-Square Analysis
A single die has a 1 in 6 chance of being a specific value. In this case, there is a 16 probability of rolling a 3. It is understood that
rolling a second die simultaneously is not influenced by the first and is therefore independent. This second die also has a 16 chance
of being a 3.
We can understand these rules of probability by applying them to the dihybrid cross and realizing we come to the same outcome as
the 2 monohybrid Punnett Squares as with the single dihybrid Punnett Square.
9.4.1 https://bio.libretexts.org/@go/page/2480
9
This forked line method of calculating probability of offspring with various genotypes and phenotypes can be scaled and applied to
more characteristics.
In order to use the table, one must determine the stringency of the test. The lower the p-value, the more stringent the statistics.
Degrees of Freedom (DF) are also calculated to determine which value on the table to use. Degrees of Freedom is the number of
9.4.2 https://bio.libretexts.org/@go/page/2480
9
classes or categories there are in the observations minus 1. DF=n-1
In the example of corn kernel color and texture, there are 4 classes: Purple & Smooth, Purple & Wrinkled, Yellow & Smooth,
Yellow & Wrinkled. Therefore, DF = 4 – 1 = 3 and choosing p < 0.05 to be the threshold for significance (rejection of the null
hypothesis), the X2 must be greater than 7.82 in order to be significantly deviating from what is expected. With this dihybrid cross
example, we expect a ratio of 9:3:3:1 in phenotypes where 1/16th of the population are recessive for both texture and color while
9 3
16 of the population display both color and texture as the dominant. will be dominant for one phenotype while recessive for the
16
other 3
and the remaining 16 will be the opposite combination.
With this in mind, we can predict or have expected outcomes using these ratios. Taking a total count of 200 events in a population,
9/16(200)=112.5 and so forth. Formally, the χ2 value is generated by summing all combinations of:
(Observed − Expected)2
(9.4.1
Expected
)
Chi-Square Test: Is This Coin Fair or Weighted? (Activity)
1. Everyone in the class should flip a coin 2x and record the result (assumes class is 24).
2. Fair coins are expected to land 50% heads and 50% tails.
50% of 48 results should be 24.
24 heads and 24 tails are already written in the “Expected” column.
3. As a class, compile the results in the “Observed” column (total of 48 coin flips).
4. In the last column, subtract the expected heads from the observed heads and square it, then divide by the number of expected
heads.
5. In the last column, subtract the expected tails from the observed tails and square it, then divide by the number of expected
tails.
6. Add the values together from the last column to generate the X2 value.
7. Compare the value with the value at 0.05 with DF=1.
There are 2 classes or categories (head or tail), so DF = 2 – 1 = 1.
Were the coin flips fair (not significantly deviating from 50:50)?
Let’s say that the coin tosses yielded 26 Heads and 22 Tails. Can we assume that the coin was unfair? If we toss a coin an odd
number of times (eg. 51), then we would expect that the results would yield 25.5 (50%) Heads and 25.5 (50%) Tails. But this isn’t a
possibility. This is when the X2 test is important as it delineates whether 26:25 or 30:21 etc. are within the probability for a fair
coin.
9.4.3 https://bio.libretexts.org/@go/page/2480
9
What would it mean if the Null Hypothesis was rejected? Can you explain a case in which we have observed values that are
significantly altered from what is expected?
This page titled 9.4: Probability and Chi-Square Analysis is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated
by Bio-OER.
9.4.4 https://bio.libretexts.org/@go/page/2480
9