Implementation of the GMM optimal matrix (Hansen 1982) in a simulated method of moments framework

optimal_weight_matrix(epsilon)

Arguments

epsilon

Vector of difference between sample and simulated moments