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
Shortcuts in the do-file editorHi I'm very fond of shortcuts. So, it is very annoying to by accident invoke a copy of a marked line…
Generating new columns for each unique value of a categorical variableDear All, The issue I am trying to resolve here is as follows- I have a dataset where customers pur…
Consistent estimatorDear all, Suppose we have a lot of observations. Suppose the following model : y = b*x + e , where …
Fixed Effects Poisson or Negative Binomial?Hi, I am trying to choose between a Fixed-Effects Poisson regression model and a Fixed-Effects Nega…
menbreg - interpretation of coefficientsDear statalist community, I am conducting a multilevel negative binomial regression analysis in sta…
Subscribe to:
Post Comments (Atom)
0 Response to ivreghdfe: how to first-stage regression predicted values
Post a Comment