Statalist The Stata Listserver


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

Re: st: simulating datasets with certain characteristics


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: simulating datasets with certain characteristics
Date   Tue, 25 Apr 2006 11:07:44 -0500

At 09:27 AM 4/25/2006, Jason Thompson wrote:
Can anyone provide pointers on how to use Stata to simulate a dataset with predetermined correlational structure? For instance, say I wanted MEASURE1 to correlate with MEASURE2 at around r = .4?
pp. 8-10 of this handout ("Analyzing means, correlations and standard deviations in Stata") discuss this:

http://www.nd.edu/~rwilliam/stats1/OLS-Stata.pdf

This is often handy when you are trying to reproduce the results from a published paper. But, you also have to understand the limitations of what you can and cannot do.

-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index