Hello, thank you for the great reference. So, to recap, the minimal numbers should be N=20 for either group (i.e. N=40 for the total sample size?) in order for the HL test to be valid for the logistic regression model?
Also, do you have any advice regarding the Pearson Residual test (whether I can use it for my logistic regression model)?