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
Carryforward Code: * Example generated by -dataex-. To install: ssc install dataex clear input float…
RD Graph issueHi all, My Code: scatter aux1hm aux1dm, leg(off) || line lochd0m locd0m, leg(off) lpattern(solid d…
Counting concurrent use of three or more types of medication within an administrative claims databaseDear Statalist, I am working to count a range of medication-related problems using an administrativ…
loop file with two dependent variablesHey there, I have problems with creating a loop on two dependent variables for my bond prices. For …
Table with quartilesI want to create a table showing basic characteristics with the quartiles of a dependent variable, I…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping for logistic regression on imbalanced data
Post a Comment