Theory of econometrics