The Generalized Method of Moments