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/