for example, I have a sample of 2000 students from 50 schools.
I want to randomly drop 2 schools and run a regression. Repeat this process 500 times. (I can do this)
What I don't know is that how to save 500 outputs (or coefficient) of regression? And draw the kdensity of 500 coefficients?
Thank you very much!
Related Posts with How to randomly sampling and regression, and save the output 500 times, and draw kdensity of 500 coeffients?
Create new dummy variableHi everyone, I am trying to create a new dummy variable named DIS2 which defines a participant as h…
expand data and more calculation.Dear All, I found this question here (in Chinese). The raw data set is: Code: * Example generated b…
-cluster2- varlist not allowed r(101)Dear all, I have ssc installed cluster2, but cannot run the code, it shows "varlist not allowed" s…
kfoldclassHi Trying to do this . kfoldclass cfvr age i.hypertens i.rygning puls_base bt_dia_base, model(logit…
How to perform row arithmetic operation within variableshttps://drive.google.com/file/d/1I6A...w?usp=drivesdk I want to perform a row operation ( a proporti…
Subscribe to:
Post Comments (Atom)
0 Response to How to randomly sampling and regression, and save the output 500 times, and draw kdensity of 500 coeffients?
Post a Comment