Statalist The Stata Listserver


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

st: How to generate a variable out of an empty dataset?


From   [email protected]
To   [email protected]
Subject   st: How to generate a variable out of an empty dataset?
Date   Wed, 19 Jul 2006 17:32:10 +0100

Hi, 

I'm trying to run simulation exercises where I have to generate variables. 
The only way I know of doing it is by doing -drawnorm- and then replacing 
the values one by one - very inefficient. 

I also tried -svmat- but if I want to have more than 800 observations I 
have problems cos I can't generate a matrix with more than 800 rows. 

THere must be some simpler ways... 

Thanks, 

Tim 

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