Evaluates the moment function of the Simulated Moments Method (discrepancy between sample and
www.dynare.org