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
Error message with usespssDear all, I'm trying to open a dataset with over 25 million observations using usespss. After runni…
Generating New Variable As A Function of Group-Level Differences Of Another VariableHello All, and Thanks in Advance. I have a very large dataset for which I need to create a variable…
how to identify a mutual fund changes its name and whenI have an unbalanced panel data about U.S. equity funds Variables: yrqt: a date variable, such as 19…
rifreg and oaxaca8 error In order to analyze gender wage gap, the following is conducted. However, It is impossible to proce…
Bayesian spatial econometricsHi all, Is there the possibility to run Bayesian spatial econometrics in stata? Thanks in advance …
Subscribe to:
Post Comments (Atom)
0 Response to ivreghdfe: how to first-stage regression predicted values
Post a Comment