The Foundations of Econometric Analysis