The paper broadens the scope of applications of the least weighted squares, mainly to econometrics. We propose a modification of the instrumental variables estimator and study a robust version of the correlation coefficient.