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
How double data for each variable?Hello! Help me please. I have a table, in the first column the hospital department is indicated, in …
Model selection with age-standardization of survey dataDear Statalisters, Please forgive my ignorance, but is there a way to determine the best model e.g.…
Lagged dependent variable and panel dataDear Statalisters, I would like to run a regression of panel data set investigating impacts of part…
Plot logistic regression with moderator and two lines for one binary variableHi everyone, I hope you can help me with that. I have the following variables: gender, binary count…
Help merging two datasetsDear all, I am using Stata 16, on mac. Here are snapshots of my two datasets. I have collected data …
Subscribe to:
Post Comments (Atom)
0 Response to Random sample
Post a Comment