Inverse Mills raito estimation

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

oksanakim
Posts: 39
Joined: Wed Apr 04, 2012 10:38 am

Inverse Mills raito estimation

Postby oksanakim » Wed Sep 20, 2017 7:31 pm

Hello

I have used the Heckit in Eviews 9 but the output is very doubtful, so I decided to estimate the first-stage probit model first and then put Inverse Mills ratio in the second equation estimated with OLS - kind of old style before Heckit was not in Eviews.

I found and used a code to compute Inverse Mills raito in old posts (my probit first-stage equation is called "femaledirfirststage":

eqfemaledirfirststage.makeresid ordinary
eqfemaledirfirststage..makeresid(g) general
eqfemaledirfirststage..fit yprob
series imills2 = general*(1-yprob)/ordinary

But the program returns the message "ordinary is not defined", and the iMills2 series have N/A in all the fields. How do I fix the above code?

Also, is it true that inverse mills ratio is simply residuals series automatically stored in Eviews from estimation of the first-stage probit model? Thanks a lot for any advice!!!

Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 7 guests