Lecture 3: Chi-Square Tests (Continued)
Lecture on Oct 9th, 2020 Chi-Square Tests (Continued) 4. General Goodness-of-Fit Test for One Categorical Variable. In the first lecture, we learned the general form of Pearson Chi-Square Statistic, and we did some numerical experiment to learn the sampling distribution of the test statistics for HWE test. The HWE test is a special case of what we call Goodness-of-Fit test, in which we want to see if the data fit the expected frequencies in a $K$ categories. If no parameter to be estimated in computing the Pearson $X^2$, the degrees of freedom is $K-1$. If $l$ parameters need to be estimated using the same data, the degrees of freedom reduces to $K-l-1$. A useful fact to remember is that the mean of a $X^2$ distribution with $d$ degree of freedoms is $d$. 5. Genetic Association Test Genetic Association studies have been very popular in last decade. Billions of dollars have been spent and hundreds of thousands individuals have their genome genotyped. They ...