SlideShare a Scribd company logo
1 of 19
“The Goodness Fit” model
Chi-Square Test
                
 A fundamental problem in 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: 1 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
 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”.
    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
                             
1. Determine the number of each
   phenotype that have been
   observed and how many would
   be expected given basic genetic
                                                   (obs − exp) 2
   theory.                                  Χ2 = ∑
                                                       exp
2. Then calculate the chi-square
   statistic using this formula. You   •   “Χ” - Greek letter chi
   need to memorize the formula!       •    “∑” - sigma - to sum the following
                                           terms for all phenotypes.
                                       •   “obs” - number of individuals of the
3. Note that you must use the
   number of individuals, the              given phenotype observed;
   counts, and NOT proportions,        •   “exp” - number of that phenotype
   ratios, or frequencies.                 expected from the null hypothesis.
Example
                                    
   you count F2 offspring: 290 purple and 110 white flowers.
       This is a total of 400 (290 + 110) offspring.

   We expect a 3: 1 ratio. We need to calculate the expected NUMBERS.
       multiply the total offspring by the expected proportions.
       This we expect 400 * 3/4 = 300 purple, and 400 * 1/4 = 100 white.
   Purple: obs = 290 and exp = 300.
   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
   do the same experiment 1000
    times, do the same self-
    pollination of a Pp
    heterozygote, which should
    give the 3 : 1 ratio.
   For each experiment we
    calculate the chi-square value,
    them plot them all on a graph.

   x-axis is the chi-square value
    calculated from the formula
   y-axis is the number of
    individual experiments that
    got that chi-square value.
Chi-Square Distribution
   You see that there is a range here:
       if the results were perfect you get
        a chi-square value of 0 (because
        obs = exp).
       This rarely happens: most
        experiments give a small chi-
        square value (the hump in the
        graph).

   Sometimes you get really wild
    results, with obs very different
    from exp
       the long tail on the graph. Really
        odd things occasionally do
        happen by chance alone
The Critical Question

    result?
    
                  
    How do you tell a really odd but correct result from a WRONG

        occasionally very skewed distributions of data occur even though you
        performed the experiment correctly (correct theory)
   Never for certain that a given result is “wrong”,
       determine whether a given result is likely or unlikely.

       2 ways of getting a high chi-square value: ( statistics is never able
        to discriminate between true and false with 100% certainty)
       an unusual result from the correct theory,
       or a result from the wrong theory.

   Does your 290: 110 offspring ratio really fit a 3/4 : 1/4 ratio or was
    it the result of a mistake or accident?
       You can’t be certain, but you can at least determine whether your result
        is REASONABLE
Reasonable
                          
   subjective and arbitrary.
   A result is said to not differ significantly from expectations, if the
    difference between the observed results and the expected results is
    small enough that it would be seen at least 1 time in 20 over
    thousands of experiments


   For technical reasons, we use “fail to reject” instead of “accept”.

   Probability value p = 0.05, because 1/20 = 0.05.
Degrees of Freedom
              
 the number of independent random variables
  involved.
 Degrees of freedom is simply the number of classes
  of offspring minus 1.

 For our example, there are 2 classes of offspring:
  purple and white. Thus, degrees of freedom (d.f.) =
  2 -1 = 1.
Critical Chi-Square

                         
    Sorted by degrees of freedom
    and probability levels. Be sure
    to use p = 0.05.

   If chi-square value is greater
    than the critical value from the
    table, you “reject the null
    hypothesis”.

   If chi-square value is less than
    the critical value, you “fail to
    reject” the null hypothesis
Using the Table
                             
   290 purple to 110 white,
       chi-square value of 1.333
       1 degree of freedom.

   1 d.f. is the first row
    p = 0.05 is the sixth column
   critical chi-square value, 3.841.


   chi-square, 1.333, is less than
    the critical value, 3.841, we “fail
    to reject” the null hypothesis.

    Thus, an observed ratio of 290
    purple to 110 white is a good fit
    to a 3/4 to 1/4 ratio.
Another Example: from Mendel
              (Dihybrid Cross)
phenotype    observed   expected     expected
                        proportion   number
round        315
yellow
round        101
green
wrinkled     108
yellow
wrinkled     32
green
total        556
Another Example: from Mendel
              (Dihybrid Cross)
phenotype    observed   expected     expected
                        proportion   number
round        315        9/16
yellow
round        101        3/16
green
wrinkled     108        3/16
yellow
wrinkled     32         1/16
green
total        556        1
Another Example: from Mendel
              (Dihybrid Cross)
phenotype    observed   expected     expected
                        proportion   number
round        315        9/16         312.75
yellow
round        101        3/16         104.25
green
wrinkled     108        3/16         104.25
yellow
wrinkled     32         1/16         34.75
green
total        556        1            556
Finding the Expected
          Numbers
              
1. You are given the observed numbers, and you determine
   the expected proportions from a Punnett square.
2. To get the expected numbers of offspring, first add up
   the observed offspring to get the total number of
   offspring. In this case, 315 + 101 + 108 + 32 = 556.
3. Then multiply total offspring by the expected proportion:

    --expected round yellow = 9/16 * 556 = 312.75
    --expected round green = 3/16 * 556 = 104.25
    --expected wrinkled yellow = 3/16 * 556 = 104.25
    --expected wrinkled green = 1/16 * 556 = 34.75
4. Note that these add up to 556, the observed total offspring.
Calculating the Chi-Square Value
 Use the formula.
 X2 = (315 - 312.75)2 / 312.75
   + (101 - 104.25)2 / 104.25
   + (108 - 104.25)2 / 104.25
   + (32 - 34.75)2 / 34.75

  = 0.016 + 0.101 + 0.135 + 0.218
  = 0.470.

               (obs − exp)        2
          Χ =∑
            2

                   exp
D.F. and Critical Value
            
 Degrees of freedom is 1 less than the number of
  classes of offspring. Here, 4 - 1 = 3 d.f.

 For 3 d.f. and p = 0.05, the critical chi-square value is
  7.815.

 Since the observed chi-square (0.470) is less than the
  critical value, we fail to reject the null hypothesis.
  We accept Mendel’s conclusion that the observed
  results for a 9/16 : 3/16 : 3/16 : 1/16 ratio.
Chi-Square Table
       

More Related Content

What's hot

What's hot (20)

Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)Ch7 Analysis of Variance (ANOVA)
Ch7 Analysis of Variance (ANOVA)
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Chi square test ( x2 )
Chi square test ( x2  )Chi square test ( x2  )
Chi square test ( x2 )
 
What is a paired samples t test
What is a paired samples t testWhat is a paired samples t test
What is a paired samples t test
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
F test mamtesh ppt.pptx
F test mamtesh ppt.pptxF test mamtesh ppt.pptx
F test mamtesh ppt.pptx
 
Variance & standard deviation
Variance & standard deviationVariance & standard deviation
Variance & standard deviation
 
T test
T testT test
T test
 
Chi square
Chi squareChi square
Chi square
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
Chi square test
Chi square testChi square test
Chi square test
 
The two sample t-test
The two sample t-testThe two sample t-test
The two sample t-test
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Central limit theorem
Central limit theoremCentral limit theorem
Central limit theorem
 
One way ANOVA
One way ANOVAOne way ANOVA
One way ANOVA
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Test of significance
Test of significanceTest of significance
Test of significance
 

Viewers also liked

Viewers also liked (15)

Chi square test
Chi square testChi square test
Chi square test
 
Chi sequare
Chi sequareChi sequare
Chi sequare
 
Presentation week 8
Presentation week 8Presentation week 8
Presentation week 8
 
Statistics lecture 10(ch10)
Statistics lecture 10(ch10)Statistics lecture 10(ch10)
Statistics lecture 10(ch10)
 
Chi Square
Chi SquareChi Square
Chi Square
 
F Distribution
F DistributionF Distribution
F Distribution
 
F-Distribution
F-DistributionF-Distribution
F-Distribution
 
Genetic linkage
Genetic linkageGenetic linkage
Genetic linkage
 
Chi Square Worked Example
Chi Square Worked ExampleChi Square Worked Example
Chi Square Worked Example
 
Chi square test
Chi square test Chi square test
Chi square test
 
The Chi-Squared Test
The Chi-Squared TestThe Chi-Squared Test
The Chi-Squared Test
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
T test
T testT test
T test
 
Student t-test
Student t-testStudent t-test
Student t-test
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 

Similar to Chi-Square Goodness of Fit Test

4 1 probability and discrete probability distributions
4 1 probability and discrete    probability distributions4 1 probability and discrete    probability distributions
4 1 probability and discrete probability distributionsLama K Banna
 
chi-Square. test-
chi-Square. test-chi-Square. test-
chi-Square. test-shifanaz9
 
chi-squaretest-170826142554.ppt
chi-squaretest-170826142554.pptchi-squaretest-170826142554.ppt
chi-squaretest-170826142554.pptSoujanyaLk1
 
Statistik Chapter 5 (1)
Statistik Chapter 5 (1)Statistik Chapter 5 (1)
Statistik Chapter 5 (1)WanBK Leo
 
Lab23 chisquare2007
Lab23 chisquare2007Lab23 chisquare2007
Lab23 chisquare2007sbarkanic
 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testRione Drevale
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theoryKaimrc_Rss_Jd
 
Normal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionNormal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionQ Dauh Q Alam
 
How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...Umair Raza
 
Drosophila - Laboratory Report 2
Drosophila  - Laboratory Report 2Drosophila  - Laboratory Report 2
Drosophila - Laboratory Report 2Necla YÜCEL
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributionsNadeem Uddin
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributionsmandalina landy
 

Similar to Chi-Square Goodness of Fit Test (20)

Chi Square
Chi SquareChi Square
Chi Square
 
Chi square
Chi squareChi square
Chi square
 
4 1 probability and discrete probability distributions
4 1 probability and discrete    probability distributions4 1 probability and discrete    probability distributions
4 1 probability and discrete probability distributions
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
chi-Square. test-
chi-Square. test-chi-Square. test-
chi-Square. test-
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 
chi-squaretest-170826142554.ppt
chi-squaretest-170826142554.pptchi-squaretest-170826142554.ppt
chi-squaretest-170826142554.ppt
 
Statistik Chapter 5 (1)
Statistik Chapter 5 (1)Statistik Chapter 5 (1)
Statistik Chapter 5 (1)
 
Lab23 chisquare2007
Lab23 chisquare2007Lab23 chisquare2007
Lab23 chisquare2007
 
Lect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_testLect w7 t_test_amp_chi_test
Lect w7 t_test_amp_chi_test
 
RSS probability theory
RSS probability theoryRSS probability theory
RSS probability theory
 
Normal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionNormal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson Distribution
 
How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...How normal distribution is used in heights, blood pressure, measurement error...
How normal distribution is used in heights, blood pressure, measurement error...
 
U unit7 ssb
U unit7 ssbU unit7 ssb
U unit7 ssb
 
Drosophila - Laboratory Report 2
Drosophila  - Laboratory Report 2Drosophila  - Laboratory Report 2
Drosophila - Laboratory Report 2
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Binomial probability distributions
Binomial probability distributions  Binomial probability distributions
Binomial probability distributions
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Zea mays
Zea maysZea mays
Zea mays
 

More from sbarkanic

Physical science final exam review
Physical science final exam reviewPhysical science final exam review
Physical science final exam reviewsbarkanic
 
Electric power
Electric powerElectric power
Electric powersbarkanic
 
Ac dc and circuits
Ac dc and circuitsAc dc and circuits
Ac dc and circuitssbarkanic
 
Ohm's law worksheet ccp
Ohm's law worksheet  ccpOhm's law worksheet  ccp
Ohm's law worksheet ccpsbarkanic
 
Ohm's law's calculations
Ohm's law's calculationsOhm's law's calculations
Ohm's law's calculationssbarkanic
 
Ohm's law worksheet ccp
Ohm's law worksheet  ccpOhm's law worksheet  ccp
Ohm's law worksheet ccpsbarkanic
 
Static electricity and electrical currants
Static electricity and electrical currantsStatic electricity and electrical currants
Static electricity and electrical currantssbarkanic
 
Acid bases and nuclear review sheet
Acid bases and nuclear review sheetAcid bases and nuclear review sheet
Acid bases and nuclear review sheetsbarkanic
 
Balancing equations worksheet
Balancing equations worksheetBalancing equations worksheet
Balancing equations worksheetsbarkanic
 
Chemical reactions
Chemical reactionsChemical reactions
Chemical reactionssbarkanic
 
Naming and writing compounds and molecules
Naming and writing compounds and moleculesNaming and writing compounds and molecules
Naming and writing compounds and moleculessbarkanic
 
Bonding practice
Bonding practiceBonding practice
Bonding practicesbarkanic
 
Atomic spectrum
Atomic spectrumAtomic spectrum
Atomic spectrumsbarkanic
 

More from sbarkanic (20)

Physical science final exam review
Physical science final exam reviewPhysical science final exam review
Physical science final exam review
 
Newton
NewtonNewton
Newton
 
Waves
WavesWaves
Waves
 
Electric power
Electric powerElectric power
Electric power
 
Ac dc and circuits
Ac dc and circuitsAc dc and circuits
Ac dc and circuits
 
Ohm's law worksheet ccp
Ohm's law worksheet  ccpOhm's law worksheet  ccp
Ohm's law worksheet ccp
 
Ohm's law's calculations
Ohm's law's calculationsOhm's law's calculations
Ohm's law's calculations
 
Ohm's law worksheet ccp
Ohm's law worksheet  ccpOhm's law worksheet  ccp
Ohm's law worksheet ccp
 
Ohm's law
Ohm's lawOhm's law
Ohm's law
 
Static electricity and electrical currants
Static electricity and electrical currantsStatic electricity and electrical currants
Static electricity and electrical currants
 
Acid bases and nuclear review sheet
Acid bases and nuclear review sheetAcid bases and nuclear review sheet
Acid bases and nuclear review sheet
 
Balancing equations worksheet
Balancing equations worksheetBalancing equations worksheet
Balancing equations worksheet
 
Chemical reactions
Chemical reactionsChemical reactions
Chemical reactions
 
Naming and writing compounds and molecules
Naming and writing compounds and moleculesNaming and writing compounds and molecules
Naming and writing compounds and molecules
 
Bonding practice
Bonding practiceBonding practice
Bonding practice
 
Atomic spectrum
Atomic spectrumAtomic spectrum
Atomic spectrum
 
Rutherford
RutherfordRutherford
Rutherford
 
Meinter
MeinterMeinter
Meinter
 
Gell mann
Gell mannGell mann
Gell mann
 
Democritus
DemocritusDemocritus
Democritus
 

Chi-Square Goodness of Fit Test

  • 2. Chi-Square Test   A fundamental problem in 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: 1 ratio, but how do you formally define "pretty close"?  What about 250:150?
  • 3. 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  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”.  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.
  • 4. Formula  1. Determine the number of each phenotype that have been observed and how many would be expected given basic genetic (obs − exp) 2 theory. Χ2 = ∑ exp 2. Then calculate the chi-square statistic using this formula. You • “Χ” - Greek letter chi need to memorize the formula! • “∑” - sigma - to sum the following terms for all phenotypes. • “obs” - number of individuals of the 3. Note that you must use the number of individuals, the given phenotype observed; counts, and NOT proportions, • “exp” - number of that phenotype ratios, or frequencies. expected from the null hypothesis.
  • 5. Example   you count F2 offspring: 290 purple and 110 white flowers.  This is a total of 400 (290 + 110) offspring.  We expect a 3: 1 ratio. We need to calculate the expected NUMBERS.  multiply the total offspring by the expected proportions.  This we expect 400 * 3/4 = 300 purple, and 400 * 1/4 = 100 white.  Purple: obs = 290 and exp = 300.  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.
  • 6. Chi-Square Distribution  do the same experiment 1000 times, do the same self- pollination of a Pp heterozygote, which should give the 3 : 1 ratio.  For each experiment we calculate the chi-square value, them plot them all on a graph.  x-axis is the chi-square value calculated from the formula  y-axis is the number of individual experiments that got that chi-square value.
  • 7. Chi-Square Distribution  You see that there is a range here:  if the results were perfect you get a chi-square value of 0 (because obs = exp).  This rarely happens: most experiments give a small chi- square value (the hump in the graph).  Sometimes you get really wild results, with obs very different from exp  the long tail on the graph. Really odd things occasionally do happen by chance alone
  • 8. The Critical Question  result?   How do you tell a really odd but correct result from a WRONG occasionally very skewed distributions of data occur even though you performed the experiment correctly (correct theory)  Never for certain that a given result is “wrong”,  determine whether a given result is likely or unlikely.  2 ways of getting a high chi-square value: ( statistics is never able to discriminate between true and false with 100% certainty)  an unusual result from the correct theory,  or a result from the wrong theory.  Does your 290: 110 offspring ratio really fit a 3/4 : 1/4 ratio or was it the result of a mistake or accident?  You can’t be certain, but you can at least determine whether your result is REASONABLE
  • 9. Reasonable   subjective and arbitrary.  A result is said to not differ significantly from expectations, if the difference between the observed results and the expected results is small enough that it would be seen at least 1 time in 20 over thousands of experiments  For technical reasons, we use “fail to reject” instead of “accept”.  Probability value p = 0.05, because 1/20 = 0.05.
  • 10. Degrees of Freedom   the number of independent random variables involved.  Degrees of freedom is simply the number of classes of offspring minus 1.  For our example, there are 2 classes of offspring: purple and white. Thus, degrees of freedom (d.f.) = 2 -1 = 1.
  • 11. Critical Chi-Square   Sorted by degrees of freedom and probability levels. Be sure to use p = 0.05.  If chi-square value is greater than the critical value from the table, you “reject the null hypothesis”.  If chi-square value is less than the critical value, you “fail to reject” the null hypothesis
  • 12. Using the Table   290 purple to 110 white,  chi-square value of 1.333  1 degree of freedom.  1 d.f. is the first row  p = 0.05 is the sixth column  critical chi-square value, 3.841.  chi-square, 1.333, is less than the critical value, 3.841, we “fail to reject” the null hypothesis.  Thus, an observed ratio of 290 purple to 110 white is a good fit to a 3/4 to 1/4 ratio.
  • 13. Another Example: from Mendel (Dihybrid Cross) phenotype observed expected expected proportion number round 315 yellow round 101 green wrinkled 108 yellow wrinkled 32 green total 556
  • 14. Another Example: from Mendel (Dihybrid Cross) phenotype observed expected expected proportion number round 315 9/16 yellow round 101 3/16 green wrinkled 108 3/16 yellow wrinkled 32 1/16 green total 556 1
  • 15. Another Example: from Mendel (Dihybrid Cross) phenotype observed expected expected proportion number round 315 9/16 312.75 yellow round 101 3/16 104.25 green wrinkled 108 3/16 104.25 yellow wrinkled 32 1/16 34.75 green total 556 1 556
  • 16. Finding the Expected Numbers  1. You are given the observed numbers, and you determine the expected proportions from a Punnett square. 2. To get the expected numbers of offspring, first add up the observed offspring to get the total number of offspring. In this case, 315 + 101 + 108 + 32 = 556. 3. Then multiply total offspring by the expected proportion: --expected round yellow = 9/16 * 556 = 312.75 --expected round green = 3/16 * 556 = 104.25 --expected wrinkled yellow = 3/16 * 556 = 104.25 --expected wrinkled green = 1/16 * 556 = 34.75 4. Note that these add up to 556, the observed total offspring.
  • 17. Calculating the Chi-Square Value  Use the formula.  X2 = (315 - 312.75)2 / 312.75 + (101 - 104.25)2 / 104.25 + (108 - 104.25)2 / 104.25 + (32 - 34.75)2 / 34.75 = 0.016 + 0.101 + 0.135 + 0.218 = 0.470. (obs − exp) 2 Χ =∑ 2 exp
  • 18. D.F. and Critical Value   Degrees of freedom is 1 less than the number of classes of offspring. Here, 4 - 1 = 3 d.f.  For 3 d.f. and p = 0.05, the critical chi-square value is 7.815.  Since the observed chi-square (0.470) is less than the critical value, we fail to reject the null hypothesis. We accept Mendel’s conclusion that the observed results for a 9/16 : 3/16 : 3/16 : 1/16 ratio.