Dear all,
Despite looking, I cannot find an answer to what seems a simple problem and wonder if someone here can help.
I'm trying to assess the goodness of fit of a complimentary log-log binomial regression, parameterized using the -glm- command. I would like to use the Hosmer-Lemeshow test to explore a hypothesis that my model is statistically similar to a saturated model.
Following logistic, etc., the respective command in STATA is:
-estat gof -
I would like to perform the equivalent, following -glm-. The full command is:
glm var1, family (binomial) link(cloglog) offset (var2) cluster (var3)
A side note considering the objective - I have read Paul Allison's and others' caution to the use of the HL test. If others have experience and could direct me to code/literature relating to alternative tests within STATA to explore the "acceptability" of this model fit (again, I have sought but not found them), any guidance would be highly appreciated.
I am using STATAv 15.0, with many thanks in advance.
Josh.
Despite looking, I cannot find an answer to what seems a simple problem and wonder if someone here can help.
I'm trying to assess the goodness of fit of a complimentary log-log binomial regression, parameterized using the -glm- command. I would like to use the Hosmer-Lemeshow test to explore a hypothesis that my model is statistically similar to a saturated model.
Following logistic, etc., the respective command in STATA is:
-estat gof -
I would like to perform the equivalent, following -glm-. The full command is:
glm var1, family (binomial) link(cloglog) offset (var2) cluster (var3)
A side note considering the objective - I have read Paul Allison's and others' caution to the use of the HL test. If others have experience and could direct me to code/literature relating to alternative tests within STATA to explore the "acceptability" of this model fit (again, I have sought but not found them), any guidance would be highly appreciated.
I am using STATAv 15.0, with many thanks in advance.
Josh.
Comment