Calculate the chi-square value for hypothesis of segregation

What is the role of smoking in the aetiology of stroke
April 26, 2020
Aallele frequencies in the conglomerate population
April 26, 2020

Calculate the chi-square value for hypothesis of segregation

Dr. Ara B. Dopsis and Dr. C. Ellie Gans are performing genetic crosses on daisy plants. They self-fertilize a blueflowered daisy and grow 100 progeny plants that consist of 55 blue-flowered plants, 22 purple-flowered plants, and 23 white-flowered plants. Dr. Dopsis believes this is the result of segregation of two alleles at one locus and that the progeny ratio is 1:2:1. Dr. Gans thinks the progeny phenotypes are the result of two epistatic genes and that the ratio is 9:3:4.
The two scientists ask you to resolve their conflict by performing chi-square analysis on the data for both proposed genetic mechanisms:

1) Calculate the chi-square value for hypothesis of segregation of two alleles at one locus.

2) Calculate the chi-square value for hypothesis of interaction of two epistatic genes.