How do you find the expected frequency in a chi square goodness of fit? Pearson's chi-square goodness of fit test statistic is: - where Oj are observed counts, Ej are corresponding expected count and c is the number of classes for which counts/frequencies are being analysed. ... Chi-square Goodness of Fit Test. Value Observed frequency Expected frequency 3 29 14.96 4 8 5.61