The chi-squared test for goodness of fit and an independence test. In addition, the chi-squared test for the population variance, the function for computing a confidence interval for the population variance, and the function for calculating the population standard deviation are provided.