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
How can I put a vector variable into my regression?My OLS model is Pit = a + b1*stationit + b2*distanceit + b3*compnumit + r*Xi + s*Yi +eit Here Xi, …
High odds ratio and standard error in regression latent classes usign Multinomial,regressionHi Everyone, I have trouble conducting multinomial regression. I have derived four latent classes u…
Invitation to attend Stata Courses June, 2019What is Stata? Stata is a powerful statistical software that enables users to analyze, manage, and p…
Clarification on multiple mediation analysisHello, I am running a model where X is independent variable and Y is dependent, M1 and M2 are two me…
Replacing Missing with a Specific Numerical PatternHi all - A friend of mine has a long dataset that looks like the following. Essentially, she wants …
Subscribe to:
Post Comments (Atom)
0 Response to ivreghdfe: how to first-stage regression predicted values
Post a Comment