Used to test goodness of fit between observed and expected values
Formula used:
χ² = Σ (O − E)² / E
O = Observed frequency E = Expected frequency
Chi-square (χ²) is a statistical test used in genetics and plant breeding to check whether the observed data fits the expected ratio (e.g., Mendelian ratios).