Hi, I have generate a variable which I have called X, it has a uniform distribution like this: gen x=runiform(0,2). I want to create another variable, called it Y, that has a fixed correlation with X. For instance 0.5. I have already tried commands such as corr2data but they do not work the way I want to. I will sincerely appreciate a little help with my problem, thank you very much.