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
Lasso inference - forcing lasso to accept groups of variables togetherI am interested in running lasso inference models (starting with dsregress), but I have non-trivial …
Why these clusterings are different?Hello. I have a question: why the below results are different? what is the meaning of each of the c…
Coefplot interaction term - loop multiple sample, label x axisDear all, I am estimating the coefficient of an interaction term for multiple samples. These sample…
Sample size calculations for a non-inferiority trialHi Listers, I need to calculate the sample necessary for a non-inferiority trial where we are compa…
Graph Combine: One big graph with multiple small graphs on one sideHi, I struggle to build a graph that looks like this (I used my advanced MS Paint skills here): Arra…
Subscribe to:
Post Comments (Atom)
0 Response to RE: Creating simulated data
Post a Comment