Statalist


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

Re: st: RE:


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE:
Date   Sun, 27 Sep 2009 15:24:59 -0400

Maybe specifying a non-PSD covariance/corr matrix? e.g.
drawnorm x1-x3, clear seed(1) n(100) corr(1,.9,.8 \ .9,1,-.8 \ .8,-.8, 1)

On Sun, Sep 27, 2009 at 9:50 AM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> What is the error message? This works w/o a hitch:
>
> **************
> clear*
> drawnorm x y, n(10000) corr(1, 0.9 \ 0.9, 1) cstorage(full)
> corr
> **************
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
> b.e.egbewale@ipchs.keele.ac.uk
> Sent: Freitag, 25. September 2009 17:22
> To: statalist@hsphsun2.harvard.edu
> Subject:
>
> 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/



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