def chisquare(f_obs, f_exp=None, ddof=0, axis=0):
 return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis, lambda_='pearson')

def chisquare ( f_obs , f_exp = None , ddof = 0 , axis = 0 ) : return power_divergence ( f_obs , f_exp = f_exp , ddof = ddof , axis = axis , lambda_ = 'pearson' )
chisquare goodness-of-fit test the null hypothesis is that the distance between the expected distribution and the observed frequencies is value .