6
I have a data set to make the logistic regression of the dependent variable childbirth which is binary qualitative.
With the following command I obtain the multivariate logistic model in the program R:
GLM.1 <- glm(parto ~ trabalho + financiamento + consulta, family=binomial(logit), data=Dataset)
The independent variables in this model are also binary qualitative.
I would like to know which R command should I use to get the Hosmer-Lemeshow test to check if this model is adjusted.
If you need to use a specific R package for this, I would like to know what this package would be and what function to use.
You could post your dataset to perform the tests?
– Flavio Silva