STA 2023 Lecture Notes - Lecture 46: Null Hypothesis, Contingency Table, Analysis Of Variance
Document Summary
When data can be calculated in table form in terms of frequencies, several types of hypotheses can be tested by using the chi-square test. The test of independence of variables is used to determine whether two variables are independent of or related to each other when a single sample is selected. The test of homogeneity of proportions is used to determine whether the proportions for a variable are equal when several samples are selected from different populations. The chi-square goodness-of-fit test can be used to test the independence of two variables. The hypothesis are: ho: there is no relationship between two variables, h1: there is a relationship between two variables. If the null hypothesis is rejected, there is some relationship between the variables. In order to test the null hypothesis, one must compute the expected frequencies, assuming the null hypothesis is true. When data are arranged in table form for the independence test, the table is called a contingency table.