Dear
I need to test whether two coefficients of the same variable in different models are significantly different from each other. I wanted to do this by using the test command. You can see my stata output below;
regress v2 v1
est store m1
regress v3 v1
est store m2
test [m1]v1 = [m2]v1
After running my code, I get an error message: 'equation m1 not found'
Can someone provide me a solution?
Kinds
I need to test whether two coefficients of the same variable in different models are significantly different from each other. I wanted to do this by using the test command. You can see my stata output below;
regress v2 v1
est store m1
regress v3 v1
est store m2
test [m1]v1 = [m2]v1
After running my code, I get an error message: 'equation m1 not found'
Can someone provide me a solution?
Kinds

Comment