Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Simulate and corr2data


From   Richard Williams <[email protected]>
To   [email protected], Stata distribution list <[email protected]>
Subject   Re: st: Simulate and corr2data
Date   Tue, 20 Jan 2004 20:26:36 -0500

At 09:48 PM 1/20/2004 +0000, Allan Reese wrote:
Followed example for simulate except to use corr2data rather than gen to
create the dataset.  Imagine my chagrin when each repetition gave the same
answer!  So tried corr2data from the command prompt and found it gives the
One last comment: the -drawnorm- command appears very similar to the -corr2data- command, except that -drawnorm- is drawing a sample, i.e. sampling variability will cause the sample estimates to differ a bit from the population parameters you have specified. And, each time you run it, you do get a different sample. So, maybe -drawnorm- is what you want.

*
* 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