Consider 2 models A and B. A (5 free parameters) is nested within B (6 free parameters). Imagine that we do an experiment and acquire data from N = 21 participants. We fit models A and B to each individual dataset by minimizing Pearson's chi-square statistic. Chi-square values are generally lower for model B than model A, indicating a better goodness-of-fit for model B. I would like to test whether the improvement in goodness-of-fit for Model B is significant by doing a chi-square test for nested models.
I am not sure about how to perform this test. I think I have to compute the difference chi-sq (modelA) - chi-sq (modelB). Remember that the sample size N = 21, so I get 21 chi-square difference values. These values should be generally positive, because the goodness-of-fit is generally worse for model A. The difference should follow a chi-square distribution with a number of degrees of freedom df(diff) = df(model B) - df(model A) = 6-5 = 1. What can I do next?
I am not sure about how to perform this test. I think I have to compute the difference chi-sq (modelA) - chi-sq (modelB). Remember that the sample size N = 21, so I get 21 chi-square difference values. These values should be generally positive, because the goodness-of-fit is generally worse for model A. The difference should follow a chi-square distribution with a number of degrees of freedom df(diff) = df(model B) - df(model A) = 6-5 = 1. What can I do next?