Hello,
I generated a dummy variable using the following code: gen employed = 1 + int(2*runiform())
I generated a integer variable using the following code: gen age = floor((55-18+1)*runiform() + 18))
I just want to know whether I specify means and standard deviation when creating the above random variables.
Any help would be appreciated. Thank you.
0 Response to RE: Creating simulated data
Post a Comment