Model : ivreghdfe itotf (qt = lagqt lagcfo) cfo, absorb(gvkey fyear) endog(qt) cluster(gvkey) resid
----- Resid is not allowed
Another way I can find residuals is by predicting yhat and measuring the difference between DV and yhat. Though I can predict yhat from the above regression,
the yhat values are wrong.
Can any one help me either predict yhat correctly or residuals?
Related Posts with Predicting residuals from instrumental regression
Using loop for regression and saving results as a new variableHappy new year to Satatlist! I'm stuck with an old problem (using loop for regression). The variab…
type mismatch error when using "replace" functionHi everyone, I am using STATA version 14.0 and am hoping to replace missing observations using: "re…
Running a correlation for a subset of observationsHi all, Please consider the following example: Code: clear . input str4 id byte str3 shock byte s…
Replacing melogit by meqrlogit ?????I'm using melogit command for a multilevel mixed effect regression. When I run the following command…
A quick question about weird question marks in a string variableHello, I am using Stata 15.1. I have a string variable - student-teacher ratio (see data below). for…
Subscribe to:
Post Comments (Atom)
0 Response to Predicting residuals from instrumental regression
Post a Comment