Dear Statalist members,
I would like to perform a goodness-of-fit test for logistic regression models that were run on survey data. I got the suggestion to use AIC or BIC, but as far as I know these tests cannot be run on survey data. In several papers, I found the F-adjusted mean residual goodness-of-fit test to be the appropriate test and applied the estat gof command in Stata after running my svyset regressions. Unfortunately, I have problems interpreting the results.
More in detail, I would like to choose the better fitting model out of two with the following results:
First model:
. estat gof
Logistic model for status_r, goodness-of-fit test
F(9,71) = 1.04
Prob > F = 0.4192
Second model:
. estat gof
Logistic model for status_r, goodness-of-fit test
F(9,71) = 1.27
Prob > F = 0.2679
What does the test tell me about the goodness of fit of each model and which is the better fit?
Thank you very much for your help!
Susanne
I would like to perform a goodness-of-fit test for logistic regression models that were run on survey data. I got the suggestion to use AIC or BIC, but as far as I know these tests cannot be run on survey data. In several papers, I found the F-adjusted mean residual goodness-of-fit test to be the appropriate test and applied the estat gof command in Stata after running my svyset regressions. Unfortunately, I have problems interpreting the results.
More in detail, I would like to choose the better fitting model out of two with the following results:
First model:
. estat gof
Logistic model for status_r, goodness-of-fit test
F(9,71) = 1.04
Prob > F = 0.4192
Second model:
. estat gof
Logistic model for status_r, goodness-of-fit test
F(9,71) = 1.27
Prob > F = 0.2679
What does the test tell me about the goodness of fit of each model and which is the better fit?
Thank you very much for your help!
Susanne
Comment