It should work fine as originally written.
Your graph command cannot be translated
completely into Stata 7, as macros you don't
give here could fire up graph types not
supported in Stata 7. Rather than try a translation
you'd probably be better off deciding what kind of graph
you want and programming that using native Stata 7.
Nick
[email protected]
Puja Vasudeva
> Thanks very much for this tip, Nick. It worked fine, provided
> the locals
> were defined first:
> local x1: word count `rhs'
> local x2: word count `varlist'
> if `x1' <= `x2' {
> local graphvars "`rhs'"
> }
>
> .. and then I run into problems with the graph command. This
> is the Stata 8
> version:
>
> graph twoway `cicmd' `olscmd' `olscicmd' (scatter `name' qtile,c(l)
> legend(off) msize(tiny) clwidth(medthick) title(`tname')
> ytitle(`varlab')
> xtitle(Quantile) nodraw name(`graphname', replace))
>
> Stata 7 doesn't support this syntax but I can't seem to
> figure out how to
> translate this. Any ideas would be much appreciated.
*
* 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/