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":
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!!!
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.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests