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
Principal factor (factor, pf): What if the proportion of variance accounted for by the factors is greater than 1.00 (greater than 100%)?Hello, I ran factor analysis(factor, pf) in Stata to develop factor scores for my latent variables. …
Help with replacing values of variable with conditionsDear Stata users, I want to replace the values of variable with conditions. This is the example of …
Help with re-formatting a dataset for choice modelling? (EDITED)Hi folks. I have data on public beach visitation by zipcode. For each zip, I have a list of sites wh…
PPML with fixed effectsHi everyone! I am researching for my thesis about the trade impact of non-tariff measures. For that…
postestimation command "Adjust" after Logit model with categorical variables as controlHi, I have a question about using adjust after running Logit model with categorical variables as con…
Subscribe to:
Post Comments (Atom)
0 Response to ivreghdfe: how to first-stage regression predicted values
Post a Comment