Hi there, I'm not an expert STATA user, so I hope to get some help in this forum.
Here is my set up: I'm planning to partition my data into two sets - a smaller set and a bigger one. Now, I want to sample the larger partition with the sample size equal to the smaller partition and use bootstrapping for my negative binomial regression. So, the bootstrapped samples should select from observations from the larger partition only while leaving the smaller partition as is. I'm familiar with STATA's bootstrap command for regressions but I don't know how to integrate/specify the two different samples I just mentioned. Also, how do I plot the distribution of regression coefficients after I ran my regressions say 1000 times?
Any help is appreciated!
Thank you!
Related Posts with Bootstrapping with 2 samples
Moran test and ivreg2Hi, I am running a Moran’s test of residual correlation with nearby residuals. I know that Moran ru…
format date variableHello, i have a date variable in my dataset which is type "long" and formated in the following way:…
Recognizing Texts ObservationsDear All, I have an issue with making STATA to recognize txt observations. I have a table that loo…
graph of coefficients of 2SLS*Hi How I can create the graphs like attached in the image. graph of coefficients of 2SLS …
Dummy variablesDear all, I have a panel data (long data), shown below. Firm name Year Firm value Dummy A 1 …
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping with 2 samples
Post a Comment