Astrostatistics tools
Chi-squared statistic