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
Position in ranking as dependent variableWhat model and Stata code could help see if a categorical independente variable could help me predic…
How to plot only interaction terms in coefplotI have four regressions and I am trying to plot only the coefficients of the interaction terms, usin…
What does xtset do exactly?Hi Statalisters If I set a dataset to a panel dataset using xtset, what exactly is STATA doing? For…
Comparing xtpedroni and xtcointtest pedroniEach of these implementations of the Pedroni testing procedure produce vastly different results. The…
Running multinomial probit regressions with multiple dependent variable optionsHi, This might be more of an advanced econometrics question rather than a Stata question. I have 13…
Subscribe to:
Post Comments (Atom)
0 Response to RE: Creating simulated data
Post a Comment