I am trying to run a logistic regression with one class (class 0, n = 513) over-represented compared to the other one (class 1, n = 173).
So far, in order to correct for the biased intercept, I just resampled the class 0 in order to get n = 173, then ran a logistic regression, then stocked the estimates. Finally I calculated the median of all these coefficient.
The issue I have is that I am not so sure my method is correct, and I am not so sure how I could report z values and other stats usually obtained in summary of glm.