hello, i'm using ivreghdfe, and i'm interested in obtained predicted values of the endogenous variable from the first-stage regression using ivreghdfe
for example,
use http://fmwww.bc.edu/ec-p/data/wooldridge/mroz.dta, clear
ivreghdfe lwage exper expersq (educ=age kidslt6 kidsge6), first
yields first-stage regression of educ on all exogenous variables, from which it makes a prediction of educ (call it educ_hat) that is then used in the second-stage regression.
i'm curious if it's possible to create a variable educ_hat that is the first-stage regression predicted values.
i'd greatly appreciate your help, and happy new year!!
best,
john
Related Posts with ivreghdfe: how to first-stage regression predicted values
Stata 17 Bookmarks Not Working and No Navigation ControlAfter creating bookmarks in Stata 17.0, I am not provided a Navigation Control by which I can naviga…
Plotting using survey weightsI have responses of survey on students and the data needed to be weighted based on the faculty of th…
forvalues errorI keep getting a "varlist not allowed" error when I write my forvalues loop, but I copied the syntax…
How to count how many years of data each company has?Hello, I have a dataset that contains several executive's compensation infromation for each company.…
Quadratic moments condition in GMMHi all, I am trying to evaluate a framework which requires me to input a quadratic GMM condition. I…
Subscribe to:
Post Comments (Atom)
0 Response to ivreghdfe: how to first-stage regression predicted values
Post a Comment