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
Date formatHello, In the dataset, the date is in format : Code: 2015 - 07 - 01 00:00:00 2016 - 01 - 01 00:00…
Number format which does not add zeros to natural numbersI want Stata to show decimals only for numbers which are not natural. For instance - I want the numb…
Stata 16: Is it not possible to have BOTH the 'Variables' and 'History' windows be visible?It's a minor inconvenience--and perhaps I'll get used to it--but I still like how earlier versions o…
Handling duplicatesHello, This is my first post here and I am generally new to Stata, but I'll try to formulate my con…
Interpretation of long and short run coefficients in ARDL modelHi, I needed some help understanding how to interpret the short and long run coefficients of ARDL m…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping for logistic regression on imbalanced data
Post a Comment