For example, within a .do file, I'd like Stata to execute the command
Is there any way to make part of that command a string, for example:
The code used above doesn't work, of course. I've looked through Stata's [P] manual but found nothing, perhaps because I don't know the technical name for this.
Thanks in advance for your help.
Code:
syntax [, estimate1(real 2) estimate2(real 2)]
Code:
local mystring "estimate1(real 2) estimate2(real 2)]" syntax [, `mystring'
Thanks in advance for your help.
Comment