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
how to export Summary Statistics to wordDear Sir/Madam I am working on my thesis on impact of informal credit on household welfare. I try to…
Matching observations across boundariesI am looking at houses on each side of a designated geographical boundary. Does anyone know how to …
Generate a new variable in a loop in different files and calculating the meanHi, I want to write a loop to generate a new variable called savings (income-expenditure) in two se…
Adding partner data to responding person data in a panel data fileI wish to extend my analysis of panel data to include information about the responding person's part…
Numbering occurrences of a flag within patients.In the example below I have created OVERLAP_FLAG, which is equal to 1 where two consecutive regimens…
Subscribe to:
Post Comments (Atom)
0 Response to Predicting residuals from instrumental regression
Post a Comment