The deviance goodness-of-fit test assesses the discrepancy between the current model and the full model.
If the deviation is statistically significant, you can try a different link function or change the terms in the model.
The Pearson goodness-of-fit test assesses the discrepancy between the current model and the full model.
If the deviation is statistically significant, you can try a different link function or change the terms in the model.