goodness of fit testing using chi square 2927723