Hi there, I've googled quite a bit but haven't quite figured out how to implement this in STATA.

I want to use bootstrapping in logistic regression modeling. The data set is imbalanced (75% = 1, 25% = 0). I want run the regression 1000 times (rep=1000) with samples that are equal in size for 1 and 0. I'd like to take samples of 200 on each side. Next, I want to store the parameter estimates and compute the 95% confidence intervals from the sample distributions (histograms of stored estimated parameters). I also want to store the Chi-square value to see the distribution of significance of the overall models.

Any advice and help is appreciated!

Isabel