When trying to estimate an unknown -dimensional parameter (statistical inference) the method of moments is an old school method (though it’s recently seen a revival in interest), which equates the first theoretical moments with the first empirical moments.
That is, we solve for . Note this is a purely frequentist approach .
For exponential families, the MoM estimator coincides with the MLE.