Dear StataList,

I do the following first stage regression:
regress logwage i.occupation age gender
I would then like to regress the estimated point estimates on the occupation binary variables on specific explanatory variables in a second stage.

Code:
regress (point estimates of occupation dummies) (specific index) plus controls
My question: How would I construct the outcome variable in the second stage from the point estimates on the occupation dummies?

Once again, I appreciate your help.

Best,
Nico