Dear users,
I have issues with the local command. The command doesn't work when I type it in my dofile just when I write it directly in the command window. Do you knwo why and how I can change that?
One example Code:
regress Y X if abs(X)<=10 & Z
local a1 = _b[_cons]
When I run it from my dofile and type
display `a1' - nothing shows. But when I run it from the command window in stata I get the right result..??
Thanks and regards
Franziska
I have issues with the local command. The command doesn't work when I type it in my dofile just when I write it directly in the command window. Do you knwo why and how I can change that?
One example Code:
regress Y X if abs(X)<=10 & Z
local a1 = _b[_cons]
When I run it from my dofile and type
display `a1' - nothing shows. But when I run it from the command window in stata I get the right result..??
Thanks and regards
Franziska
Comment