I have a list of 120 variables (and tens of thousands of observations), and I would like to draw twelve random samples (without replacement) of the VARIABLE values. For each distinct set of ten I'll generate a new variable (so twelve in all) using a function operating on the ten variables for all observations. I can perform most of these tasks without assistance, but I can't seem to determine in Stata how to draw a random sample of variables without replacement that I may then reference in a functional expression. Thanks in advance for your help.
-
Login or Register
- Log in with
Comment