Dear All,
I am running biprobit command in stata. Since I have so many explanatory variables and also having to run many models using same explanatory variables, I define my dependent and independent variables as follow:
macro define w x1 x2 x3 etc.
macro define z z1 x1 x2 x3 etc.
Then i ran following command:
biprobit (y1=$w1) (y2=$z)
BUT i get following error:
"invalid something: unmatched close parenthesis or bracket"
I defined using "global" command as follow:
glolbal w x1 x2 x3 etc.
global z z1 x1 x2 x3 etc.
global d1 y1
global d2 y2
Then I ran following command:
biprobit ($d1=$w1) ($d2=$z1) ; However I am getting same error message as follow:
"invalid something: unmatched close parenthesis or bracket"
I search for similar discussion in statalist but I failed to useful information. I would grateful for the help. Many thanks in advance.
Also I am using stata 13.
I am running biprobit command in stata. Since I have so many explanatory variables and also having to run many models using same explanatory variables, I define my dependent and independent variables as follow:
macro define w x1 x2 x3 etc.
macro define z z1 x1 x2 x3 etc.
Then i ran following command:
biprobit (y1=$w1) (y2=$z)
BUT i get following error:
"invalid something: unmatched close parenthesis or bracket"
I defined using "global" command as follow:
glolbal w x1 x2 x3 etc.
global z z1 x1 x2 x3 etc.
global d1 y1
global d2 y2
Then I ran following command:
biprobit ($d1=$w1) ($d2=$z1) ; However I am getting same error message as follow:
"invalid something: unmatched close parenthesis or bracket"
I search for similar discussion in statalist but I failed to useful information. I would grateful for the help. Many thanks in advance.
Also I am using stata 13.
Comment