Foundations of Econometric Analysis