My contingency table:
heterozygous homozygous.minor homozygous.major
observed 2 0 3
expected 0 0 5
The expected population is composed of only AA genotype, but in the observed population we observe 2 AB genotypes. To calculate the Chi-sq for this would I just ignore the two cases where the expected = 0? So I would do:
$(3-5)^2/5=0.8$