Chi-squared test for population variance