Estimation of rational expectations models