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.
Related Posts with RE: Creating simulated data
multilevel/ cross classified model questionHi all, I am working on a study of grant applications and selections. I have about 8 years worth of …
How to add title to xlineCan you help me how I can specify the vertical line while I am using "twoway connected" command to s…
Problem with legend in plot with combined subgraphsHello to all, I am trying to plot the means of a dichotomous variable "dredisatt", by country over 4…
Markov switching for panel dataI want to estimate a Markov switching model for an unsustainable fiscal regime and a sustainable fis…
When to use Tobit regression?Hallo, I have been recommended to use a Tobit regression because my independent variable is very ri…
Subscribe to:
Post Comments (Atom)
0 Response to RE: Creating simulated data
Post a Comment