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
Related Posts with Bootstrapping for logistic regression on imbalanced data
Analyzing length of stay in clustered data (back transform)Hello, I'm a relatively new Stata user and am working on a project. I'm looking at length of stay (…
Calculation of directly standardized rates "distrate" or "dstdize" commandsHello, First of all I dont know if this is the proper site to publish this, correct me if its not. …
Help with scheme entries affecting rarea plots using marginsplotI am trying to create a scheme that changes the intensity, opacity, or color of a marginsplot when t…
Hep with spmap option polygonHi, Im working in a map of the metro area of Medellín, Colombia. So far good, but when I try to impo…
Predicted probabilities with mimrgns after xtgeeHello, This question refers to Daniel Klein's excellent mimrgns program. I am attempting to obtain …
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping for logistic regression on imbalanced data
Post a Comment