Ganesh, Saravana
> I am not quite clear as what that extra space does as the
> results seem to be the same?
>
> > If you want to keep track of which are used,
> >
> > gen therapies = ""
> > foreach v of var cya aza pred2 okt_p mmf tli {
> > replace therapies = therapies + "`v'" if `v' == 2
> > }
> >
> > tab therapies
>
> An extra space would help, i.e. "`v' "
It should mean that you get (e.g.) "cya aza pred2 "
rather than "cyaazapred2". The frequencies should
be the same.
Nick
[email protected]
*
* 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/