Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Question II about -drawnorm- for two normally distributed variables


From   [email protected]
To   [email protected]
Subject   st: Question II about -drawnorm- for two normally distributed variables
Date   Tue, 18 Mar 2008 19:04:23 -0300 (BRT)

Dear all,

Would it be possible to you to explain why I am getting this:

mean1 = 0.4+-0.05 (+-variance)
mean2 = 0.2+-0.02 (+-variance)

covariance = 0.11

corr2data cholesterol1 cholesterol2, means(0.4  0.2) cov(0.05, 0.11\ 0.11,
0.02) cstorage(full) n(100)

. 0.05, 0.11\ 0.11, 0.02 not positive (semi)definite
. r(506);



Any idea?

thank you!

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/



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