Hello to all, I try to learn stata by myself as a economist,
So I want to make a boucle to make a random sample
I want to draw 500 samples of 1000 obs, from 10000 obs
Also in this boucle, if possible, i want to create variable like
x1 -> x1_mean , x2-> x2_mean etc...
Thank to help me, I did'nt put the code because is not working
Related Posts with Random sample
Removing NA Across varI have data in string as shown below data1 data2 NA NA NA NA NA NA NA 8415739 NA 10024002 N 1205788…
about synth instruction questionhello great master I have a question My stata version is 14 when I perform the instruction, it alway…
Split string variableDear Experts, I want to split the string variable. Please advice. The issue is: I have the respons…
Generate var using sequential variables namesHi everyone, p1_1 p1_2 p1_3 p2_1 p2_2 p2_3 p3_1 p3_2 p3_3 1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3 1 1 …
Generate sum of variables with sequential variables namesHi everyone, I have a data with these sequential variable names. p1_1_1_1 p1_1_1_2 p1_1_1_3 p1_1…
Subscribe to:
Post Comments (Atom)
0 Response to Random sample
Post a Comment