chisq use gamma methods