Suppose I run the following regression:
and the variable class has 3 categories then i.class would make 2 dummies and the regression output would include these two dummies along with the coefficients for variables x, z and the constant.
Now suppose, I want to use the estimated dummies from the above regression as my dependent variable in another regression. How should I collect these coefficients?
Code:
reg y i.class x z
Now suppose, I want to use the estimated dummies from the above regression as my dependent variable in another regression. How should I collect these coefficients?
Comment