Dear Statalisters,
After checking in detail a number of sourcers (help files, manuals,
-corre2data- and -drawnorm-, among others) I could not find a solution to
my current problem.
I have an existent variable with n observations ~N(mu_1,sigma_1^2). Note
that I have all observations. In this respect, the objective is to
generate a second (artificial) variable also ~N(mu_2, sigma_2^2), but with
a specific correlation structure with the existent, non-artificial
variable.
The main difference from the procedures obtained with both -corre2data-
and -drawnorm- is that I have already an existing variable and want to
generate a second one based on the former.
Is that task either too easy (that I cannot see how do accomplish it) or
to complicated to perform using Stata?
Thank you for your time.
All the best,
Tiago
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/