Statistical Inference and Measurement of Structural Changes in an Economy