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