![]() |
From | Paulo Guimaraes <guimaraes@moore.sc.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Draw new variable with fixed correlation to an existing variable |
Date | Wed, 15 Aug 2007 16:07:18 -0400 |
Suppose I have an existing variable x1, which is distributed as a standard normal. I wish to create a new variable x2 (also standard normal) such that corr(x1,x2)=0.5. ?Is there a way to do this in Stata? Thanks, Rachel * * 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/
* * 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/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |