I introduce the chi-square test for one-way tables (sometimes called a goodness-offit test), and work through an example. The data used here is from a classic 1905 genetics experiment by William Bateson and Reginald Punnet.
I work through an example of testing the null hypothesis that the data comes from a binomial distribution. I do this for two tests, one in which the probability of success is specified in the null hypothesis, and one where … Watch the Video
I introduce the chi-square test of independence and work through an example.
I work through an example of finding the p-value for a chi-square test, using both the table and R.