Chi-Square Test for Known Distributions

This test checks whether an observed distribution differs from an expected distribution. It computes the chi-square statistic, degrees of freedom (DoF), and p-value. Users input a table with row and column labels, observed frequencies on the first row, and expected frequencies on the second row. The null hypothesis is that the observed values have the expected frequency distribution.