In: Statistics and Probability
Compare the Goodness of Fit Test and the Test for
Independence in terms of the number of variables and levels of
those that can be compared. In what ways are they similar or
different? (3 points)
In Goodness of fit actually we study about the distribution of the data which fits more accurately than others distribution.
We have some value of the variable and corresponding observed frequency and using suitable distribution we are trying to provide the distribution which fits the best.
In test of independence actually we have some categorical data or some mixed data and we try to check whether these variables are dependent or not. Is there any relationship among the variable or not.
In Goodness of fit we use one variable at a time but in test of significane we use minimum two or more variables.
Beside the differences , there are some common things in both type of testing are same kind of test statistic . Both statistic follows chi square distribution under null hypothesis. There is also a similarity exists that is both test use a comparison between expected and observed frequency. In both cases the range of variation into groups whose expected values are atleast five . So there are some differences and some similarities exists in the testing procedure.