simulation chisq

sim chisq