-
Login or Register
- Log in with
predict fitted,xb xi:gen yhat = exp(fitted) egen meany = mean(migra) if yhat !=., by(countrypair) egen meanyhat=mean(yhat), by(countrypair) gen exp_alpha=meany/meanyhat replace yhat = yhat*exp_alpha
xtpqml migrafl loglag_migrastocks if migrastocks>migrastocks[_n-1],fe i(countrypair) irr
Comment