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

st: How to regenerate data


From   "P.Chakkrit" <[email protected]>
To   <[email protected]>
Subject   st: How to regenerate data
Date   Sat, 29 Jan 2005 15:30:27 +0900

Hi all,

I try to do some basic stata programming but still quite lost and would
appreciate any guidance. I have a dataset like N1 N2 N3 X1 X2 X3 for each
period of time T. N is the number who answer each choice and  X are
macroeconomics data. What I try to do is generate new observation according
to each N (e.g. if N1=100 generate new 100 observation) that have the same X
value for each period of time T. I have looked at foreach, forval, if
command and the archive for previous questions but still could not move on
and would appreciate any guidance.
Thanks,

P.Chakkrit


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