Goodness Of Fit Logistic Regression Stata. Nowadays most logistic regression models have one more continuous predictors and cannot be aggregated. For binary logistic regression models the HosmerLemeshow goodness-of-fit test is often used.
Normaly there should be the LR test but in case of svy there is an F test Number of strata 1 Number of obs 2622 Number of PSUs 2622 Population size 18831046. Goodness of Fit in Logistic Regression As in linear regression goodness of t in logistic regression attempts to get at how well a model ts the data. After a logistic regression model has been fitted a global test of goodness of fit of the resulting model should be performed.
For a binary logistic regression model the HosmerLemeshow HL goodness-of-fit test Hosmer and Lemeshow 1980 can be calculated in Stata by the postestimation command estat gof.
A generalization of the HL test to multinomial logistic regres-sionmodelswassuggestedbyFagerlandHosmerandBofin2008andmadeavailable. For a binary logistic regression model the HosmerLemeshow HL goodness-of-fit test Hosmer and Lemeshow 1980 can be calculated in Stata by the postestimation command estat gof. View the list of logistic regression features. We present the mlogitgof command which implements a goodness-of-fit test for multinomial logistic regression models.
