Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re:


From   Joseph McDonnell <[email protected]>
To   [email protected]
Subject   st: Re:
Date   Mon, 28 Sep 2009 13:25:52 +0930

Emmanuel

I don't know if anyone has replied (I can't see any replies, but I can
be pretty brutal with the delete button).

Can you show some more of your problem? Do you get an error message?
The following works for me

. clear
. matrix C=(1 0.9\0.9 1)
. drawnorm x y, n(1000) corr(C)
. corr x y

. corr x y
(obs=1000)

             |        x        y
-------------+------------------
           x |   1.0000
           y |   0.9062   1.0000

Cheers

Joseph

On Sat, Sep 26, 2009 at 12:51 AM,  <[email protected]> wrote:
> Hi all,
> Can anyone please tell me reason(s)why I could no longer generate sample
> data sets using drawnorm command simply because the specified covariate-
> outcome correlation is more than 0.5.
> I did not have any problem with correlation of less than or equal to 0.5.
> Please I await your responses.
> Thanks.
> Emmanuel
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index