Quasi-likelihood from M-estimators: a numerical comparison with empirical likelihood