Dear all,
There are hundreds of variables from var4 to v389. Now I have to -gen-
total=var4*var8+var15*var19+var26*var30...............
The step of one multiplied pair is 4. The step between the first
variable of one pair and the variable in front of it is 7. Can someone
give me a hint? Or which command or commands can be used here.
--
Xiangping JIA
*
* 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/