61
$\begingroup$

Maximum likelihood estimators (MLE) are asymptotically efficient; we see the practical upshot in that they often do better than method of moments (MoM) estimates (when they differ), even at small sample sizes

Here 'better than' means in the sense of typically having smaller variance when both are unbiased, and typically smaller mean square error (MSE) more generally.

The question, occurs, however:

Are there cases where the MoM can beat the MLE - on MSE, say - in small samples?

(where this isn't some odd/degenerate situation - i.e. given that conditions for ML to exist/be asymptotically efficient hold)

A followup question would then be 'how big can small be?' - that is, if there are examples, are there some which still hold at relatively large sample sizes, perhaps even all finite sample sizes?

[I can find an example of a biased estimator that can beat ML in finite samples, but it isn't MoM.]


Note added retrospectively: my focus here is primarily on the univariate case (which is actually where my underlying curiosity is coming from). I don't want to rule out multivariate cases, but I also don't particularly want to stray into extended discussions of James-Stein estimation.

$\endgroup$
7
  • 4
    $\begingroup$ There are other ways in which method of moments can "beat" maximum likelihood. For example, in Normal mixture estimation problems the MLE notoriously difficult to compute while the MoM is not. $\endgroup$
    – vqv
    Commented Dec 27, 2013 at 0:53
  • $\begingroup$ @vqv Certainly that's a sense in which MoM can be preferable. $\endgroup$
    – Glen_b
    Commented Dec 27, 2013 at 4:33
  • 2
    $\begingroup$ Since I tend to sympathize with the plebeians, I inform that in a sample of i.i.d. Uniforms $U(0,\theta)$, the MoM estimator for $\theta$ has the same MSE with the patrician (MLE) if the sample size is $1$, or $2$... But alas, for larger sample sizes, the patrician asserts his sovereignty again... $\endgroup$ Commented Jul 6, 2014 at 17:46
  • $\begingroup$ I don't understand the method of moments very well; could it include weighted least squares estimation? If so (especially if diagonally weighted least squares counts as MoM), I might have another answer for you :) $\endgroup$ Commented Aug 26, 2014 at 23:52
  • 1
    $\begingroup$ See this case. It might be worth expanding on that link, into some form of answer here also. $\endgroup$
    – Glen_b
    Commented Oct 22, 2014 at 21:31

8 Answers 8

37
+50
$\begingroup$

This may be considered... cheating, but the OLS estimator is a MoM estimator. Consider a standard linear regression specification (with $K$ stochastic regressors, so magnitudes are conditional on the regressor matrix), and a sample of size $n$. Denote $s^2$ the OLS estimator of the variance $\sigma^2$ of the error term. It is unbiased so

$$ MSE(s^2) = \operatorname {Var}(s^2) = \frac {2\sigma^4}{n-K} $$

Consider now the MLE of $\sigma^2$. It is

$$\hat \sigma^2_{ML} = \frac {n-K}{n}s^2$$ Is it biased. Its MSE is

$$MSE (\hat \sigma^2_{ML}) = \operatorname {Var}(\hat \sigma^2_{ML}) + \Big[E(\hat \sigma^2_{ML})-\sigma^2\Big]^2$$ Expressing the MLE in terms of the OLS and using the expression for the OLS estimator variance we obtain

$$MSE (\hat \sigma^2_{ML}) = \left(\frac {n-K}{n}\right)^2\frac {2\sigma^4}{n-K} + \left(\frac {K}{n}\right)^2\sigma^4$$ $$\Rightarrow MSE (\hat \sigma^2_{ML}) = \frac {2(n-K)+K^2}{n^2}\sigma^4$$

We want the conditions (if they exist) under which

$$MSE (\hat \sigma^2_{ML}) > MSE (s^2) \Rightarrow \frac {2(n-K)+K^2}{n^2} > \frac {2}{n-K}$$

$$\Rightarrow 2(n-K)^2+K^2(n-K)> 2n^2$$ $$ 2n^2 -4nK + 2K^2 +nK^2 - K^3 > 2n^2 $$ Simplifying we obtain $$ -4n + 2K +nK - K^2 > 0 \Rightarrow K^2 - (n+2)K + 4n < 0 $$ Is it feasible for this quadratic in $K$ to obtain negative values? We need its discriminant to be positive. We have $$\Delta_K = (n+2)^2 -16n = n^2 + 4n + 4 - 16n = n^2 -12n + 4$$ which is another quadratic, in $n$ this time. This discriminant is $$\Delta_n = 12^2 - 4^2 = 8\cdot 16$$ so $$n_1,n_2 = \frac {12\pm \sqrt{8\cdot 16}}{2} = 6 \pm 4\sqrt2 \Rightarrow n_1,n_2 = \{1, 12\}$$ to take into account the fact that $n$ is an integer. If $n$ is inside this interval we have that $\Delta_K <0$ and the quadratic in $K$ takes always positive values, so we cannot obtain the required inequality. So: we need a sample size larger than 12.

Given this the roots for $K$-quadratic are

$$K_1, K_2 = \frac {(n+2)\pm \sqrt{n^2 -12n + 4}}{2} = \frac n2 +1 \pm \sqrt{\left(\frac n2\right)^2 +1 -3n}$$

Overall : for sample size $n>12$ and number of regressors $K$ such that $\lceil K_1\rceil <K<\lfloor K_2\rfloor $ we have $$MSE (\hat \sigma^2_{ML}) > MSE (s^2)$$ For example, if $n=50$ then one finds that the number of regressors must be $5<K<47$ for the inequality to hold. It is interesting that for small numbers of regressors the MLE is better in MSE sense.

ADDENDUM
The equation for the roots of the $K$-quadratic can be written

$$K_1, K_2 = \left(\frac n2 +1\right) \pm \sqrt{\left(\frac n2 +1\right)^2 -4n}$$ which by a quick look I think implies that the lower root will always be $5$ (taking into account the "integer-value" restriction) -so MLE will be MSE-efficient when regressors are up to $5$ for any (finite) sample size.

$\endgroup$
10
  • 1
    $\begingroup$ Well, the theoretical moment condition that comes with the specification is $E(u'u\mid X) = \sigma^2$. To the degree that we use the sample analogue of $E(u'u \mid X)$ as an estimator for $\sigma^2$, I would say that it is. $\endgroup$ Commented Dec 23, 2013 at 4:12
  • 1
    $\begingroup$ @AlecosPapadopoulos The "sample analog", I would argue, would take $n$ for the denominator, i.e. it would be the same as the MLE. If you are replacing the theoretical expectation with the empirical expectation how could you end up with $n - K$ in the denominator? The natural moment conditions should be $E[X_k(Y - X \beta)] = 0$ and $E[(Y - X\beta)^2] = \sigma^2$ and replacing with empirical expectations would get you $n$ in the denominator. $\endgroup$
    – guy
    Commented Jan 3, 2014 at 0:43
  • 2
    $\begingroup$ @guy That's a valid remark. Degrees-of-freedom correction has always been, for me, a conceptual issue with Method of Moments. After all the "sample analogue" is not a strict concept, and it is linked with the concept of "sample means" through the asymptotic correspondence of the latter with the expected value -but in an asymptotic framework, dividing by $n-K$ instead of $n$ does not make any difference. For me it remains an unresolved matter. On the other hand, the maximum likelihood estimator is concretely determined by the likelihood equations, and it may or may not coincide with MoM.(CONTD) $\endgroup$ Commented Jan 3, 2014 at 1:12
  • 1
    $\begingroup$ @guy (CONTD). So what you are saying is that the MoM estimator of the error variance in this case is the maximum likelihood estimator, and so the result I derived compares not MoM with ML, but ML with OLS (the latter being a category on its own)... yes, it can be argued that this is (also) the case. $\endgroup$ Commented Jan 3, 2014 at 1:24
  • 1
    $\begingroup$ Is there any such thing as "the" MoM estimator? It's "an" MoM estimator, right? If you take a randomly selected OLS residual, $e$, then $E(e^2)=\frac{n-k}{n}\sigma^2$. That's a perfectly good moment condition, isn't it? And it gives a perfectly good MoM for $\sigma^2$, no? Namely, the usual OLS estimator, $s^2$. $\endgroup$
    – Bill
    Commented Jan 3, 2014 at 17:48
17
+100
$\begingroup$

"In this article, we consider a new parametrization of the two-parameter Inverse Gaussian distribution. We find the estimators for parameters of the Inverse Gaussian distribution by the method of moments and the method of maximum likelihood. Then, we compare the efficiency of the estimators for the two methods based on their bias and mean square error (MSE). For this we fix values of parameters, run simulations, and report MSE and bias for estimates obtained by both methods. The conclusion is that when sample sizes are 10, the method of moments tends to be more efficient than the maximum likelihood method for estimates of both parameters (lambda and theta)...." read more

Nowadays one cannot (or should not) trust everything published, but the paper's last page appears promising. I hope this addresses your note added retrospectively.

$\endgroup$
3
  • 1
    $\begingroup$ If I understand the tables in that article correctly then I believe you're correct - at some sample sizes, method of moments (MME in the paper) seems to outdo MLE, at least on estimating $\theta$. (However, some of the simulation results seem more than a little odd - e.g. the progression of the rightmost column on p49.) -- this is a very interesting result to me because the Inverse Gaussian is relatively widely used. $\endgroup$
    – Glen_b
    Commented Jan 2, 2014 at 12:08
  • $\begingroup$ Good find! Even if the results are off, it's nice to see the claim explicitly stated somewhere. $\endgroup$
    – Ben Ogorek
    Commented Jan 2, 2014 at 15:00
  • $\begingroup$ The paper I linked to in my answer has originated from a MSc thesis, which is available in its all entirety here: digi.library.tu.ac.th/thesis/st/0415 See e.g. section 5.2 for the relevant statement. Six people, including a full professor, signed off on this result. $\endgroup$ Commented Jan 3, 2014 at 14:20
15
$\begingroup$

I found one:

For the asymmetric exponential power distribution

$$f(x) = \frac{\alpha}{\sigma\Gamma(\frac{1}{\alpha})} \frac{\kappa}{1+\kappa^2}\exp\left(-\frac{\kappa^\alpha}{\sigma^\alpha}[(x-\theta)^+]^\alpha -\frac{1}{\kappa^\alpha \sigma^\alpha}[(x-\theta)^-]^\alpha\right)\,,\quad \alpha,\sigma,\kappa>0, \text{ and } x,\theta\in \mathbb R$$

the simulation results of Delicado and Goria (2008) suggest that for some of the parameters at the smaller sample sizes, method of moments can outperform MLE; for example in the known-$\theta$ case at sample size 10, when estimating $\sigma$, the MSE of MoM is smaller than for ML.

Delicado and Goria (2008),
A small sample comparison of maximum likelihood, moments and L-moments methods for the asymmetric exponential power distribution,
Journal Computational Statistics & Data Analysis
Volume 52 Issue 3, January, pp 1661-1673

(also see http://www-eio.upc.es/~delicado/my-public-files/LmomAEP.pdf)

$\endgroup$
15
+200
$\begingroup$

According to simulations run by Hosking and Wallis (1987) in "Parameter and Quantile Estimation for the Generalized Pareto Distribution", the parameters of the two-parameter generalized Pareto distribution given by the cdf

$G(y)= \begin{cases} 1-\left(1+ \frac{\xi y}{\beta} \right)^{-\frac{1}{\xi}} & \xi \neq 0 \\ 1-\exp\left(-\frac{y}{\beta}\right) & \xi=0 \end{cases}$

or the density

$g(y)= \begin{cases} \frac{1}{\beta} \left( 1+\frac{\xi y}{\beta} \right)^{-1-\frac{1}{\xi}} & \xi \neq 0 \\ \frac{1}{\beta} \exp\left(-\frac{y}{\beta} \right) & \xi=0 \end{cases}$

are more reliable if they are estimated by means of MOM as opposed to ML. This holds for samples up to size 500. The MOM estimates are given by

$\widehat\beta = \frac{\overline y \overline{y^2}}{2(\overline{y^2} - (\overline y)^2)}$

and

$\widehat\xi = \frac{1}{2} - \frac{(\overline y)^2}{2(\overline{y^2} - (\overline y)^2)}$

with

$\overline{y^2} = \frac{1}{n} \sum_{i=1}^n y_i^2$

The paper contains quite a few typos (at least my version does). Results for the MOM estimators given above were kindly provided by "heropup" in this thread.

$\endgroup$
1
  • $\begingroup$ Thanks for this. It's one of the simplest examples of what I was seeking so far. $\endgroup$
    – Glen_b
    Commented Jun 26, 2014 at 0:36
14
$\begingroup$

The method of moments (MM) can beat the maximum likelihood (ML) approach when it is possible to specify only some population moments. If the distribution is ill-defined, the ML estimators will not be consistent.

Assuming finite moments and i.i.d observations, the MM can provide good estimators with nice asymptotic properties.

Example: Let $X_1, \ldots, X_n$ be an i.i.d sample of $X \sim f$, where $f: \mathbb{R} \to \mathbb{R}_+$ is an unknown probability density function. Define $\nu_k = \int_{\mathbb{R}} x^k f(x)dx$ the $k$th moment and consider that the interest is to estimate the forth moment $\nu_4$.

Let $\bar{X_k} = \frac{1}{n}\sum_{i=1}^n X_i^k$, then by assuming that $\nu_8 < \infty$, the central limit theorem guarantees that $$ \sqrt{n}(\bar{X_4} - \nu_4) \stackrel{d}{\to} N(0, \nu_8 - \nu_4^2), $$ where "$\stackrel{d}{\to}$" means "converges in distribution to". Moreover, by the Slutsky's theorem,

$$ \frac{\sqrt{n}(\bar{X_4} - \nu_4)}{\sqrt{\bar{X_8} - \bar{X_4}^2}} \stackrel{d}{\to} N(0, 1) $$ since $\bar{X_8} - \bar{X_4}^2 \stackrel{P}{\to} \nu_8 - \nu_4^2$ (convergence in probability).

That is, we can draw (approximate) inferences for $\nu_4$ by using the moment approach (for large samples), we just have to make some assumptions on the population moments of interest. Here, the maximum likelihood estimators cannot be defined without knowing the shape of $f$.

A Simulation study:

Patriota et al. (2009) conducted some simulation studies to verify the rejection rates of hypothesis testings in an errors-in-variables model. The results suggest that the MM approach produces error rates under the null hypothesis closer to the nominal level than the ML one for small samples.

Historical note:

The method of moments was proposed by K. Pearson in 1894 "Contributions to the Mathematical Theory of Evolution". The method of maximum likelihood was proposed by R.A. Fisher in 1922 "On the Mathematical Foundations of Theoretical Statistics". Both papers where published in the Philosophical Transactions of the Royal Society of London, Series A.

Reference:

Fisher, RA (1922). On the Mathematical Foundations of Theoretical Statistics, Philosophical Transactions of the Royal Society of London, Series A, 222, 309-368.

Patriota, AG, Bolfarine, H, de Castro, M (2009). A heteroscedastic structural errors-in-variables model with equation error, Statistical Methodology 6 (4), 408-423 (pdf)

Pearson, K (1894). Contributions to the Mathematical Theory of Evolution, Philosophical Transactions of the Royal Society of London, Series A, 185, 71-110.

$\endgroup$
6
  • 1
    $\begingroup$ Your answer sounds like a potentially interesting one. Are you able to expand on it a little? I'm not sure I quite see. $\endgroup$
    – Glen_b
    Commented Jan 2, 2014 at 5:43
  • $\begingroup$ @Glen_b please, verify if my last addition helps you. $\endgroup$ Commented Jan 2, 2014 at 6:22
  • $\begingroup$ Thanks for that; I believe I see what you're getting at. $\endgroup$
    – Glen_b
    Commented Jan 2, 2014 at 6:27
  • $\begingroup$ OK, it is a general comment but I think it answers your question. If you provide total information about the data behavior it is quite natural that the ML approach outperforms the MM approach. In the paper [1] we conduct some simulation studies to verify the rejection rates of hypothesis testings in an errors-in-variables model. The results suggest that the MM approach produces error rates under the null hypothesis closer to the nominal level than the ML one for small samples. [1]ime.usp.br/~patriota/STAMET-D-08-00113-revised-v2.pdf $\endgroup$ Commented Jan 2, 2014 at 6:38
  • $\begingroup$ This is an atypical example of method of moments (MoM). MoM is usually deployed in parametric estimation problems, where there is a well-defined parametric family of distributions. On the other hand, you can define a nonparametric maximum likelihood estimate here. The empirical distribution function, say F-hat, is the nonparametric maximum likelihood estimate of the unknown distribution function F. Considering the 4th moment to be a functional of F, the nonparametric MLE of the 4th moment is the 4th moment of the F-hat. This is the same as the sample 4th moment. $\endgroup$
    – vqv
    Commented Jan 3, 2014 at 2:05
6
$\begingroup$

In the process of answering this: Estimating parameters for a binomial I stumbled over this paper:

Ingram Olkin, A John Petkau, James V Zidek: A comparison of N estimators for the Binomial Distribution. Jasa 1981.

which gives an example where method of moments, at least in some cases, beats maximum likelihood. The problem is estimation of $N$ in the binomial distribution $\text{Bin}(N,p)$ where both parameters are unknown. It appears for example in trying to estimate animal abundance when you cannot see all the animals, and the sighting probability $p$ also is unknown.

$\endgroup$
1
  • 1
    $\begingroup$ One thing that's very nice about this example is that it's very simple to convey the situation - many people are familiar with the binomial (at least in concept, if not always with the name). $\endgroup$
    – Glen_b
    Commented Nov 16, 2014 at 2:46
5
$\begingroup$

Additional sources in favor of MOM:

Hong, H. P., and W. Ye. 2014. Analysis of extreme ground snow loads for Canada using snow depth records. Natural Hazards 73 (2):355-371.

The use of MML could give unrealistic predictions if the sample size is small (Hosking et al. 1985; Martin and Stedinger 2000).


Martins, E. S., and J. R. Stedinger. 2000. Generalized maximum-likelihood generalized extreme-value quantile estimators for hydrologic data. Water Resources Research 36 (3):737-744.

Abstract:

The three-parameter generalized extreme-value (GEV) distribution has found wide application for describing annual floods, rainfall, wind speeds, wave heights, snow depths, and other maxima. Previous studies show that small-sample maximum-likelihood estimators (MLE) of parameters are unstable and recommend L moment estimators. More recent research shows that method of moments quantile estimators have for −0.25 < κ < 0.30 smaller root-mean-square error than L moments and MLEs. Examination of the behavior of MLEs in small samples demonstrates that absurd values of the GEV-shape parameter κ can be generated. Use of a Bayesian prior distribution to restrict κ values to a statistically/physically reasonable range in a generalized maximum likelihood (GML) analysis eliminates this problem. In our examples the GML estimator did substantially better than moment and L moment quantile estimators for − 0.4 ≤ κ ≤ 0.

In the Introduction and Literature Review sections they cite additional papers which concluded that MOM in some cases outperform MLE (again extreme value modelling), e.g.

Hosking et al. [1985a] show that small-sample MLE parameter estimators are very unstable and recommend probability-weighted moment (PWM) estimators which are equivalent to L moment estimators [Hosking, 1990]. [...]

Hosking et al. [1985a] showed that the probability-weighted moments (PM) or equivalent L moments(LM) estimators for the GEV distribution are better than maximum-likelihood estimators (MLE) in terms of bias and variance for sample sizes varying from 15 to 100. More recently, Madsen et al. [1997a] showed that the method of moments (MOM) quantile estimators have smaller RMSE (root-mean-squareer ror) for -0.25 < K < 0.30 than LM and MLE when estimating the 100-year event for sample sizes of 10-50. MLEs are preferable only when K > 0.3 and the sample sizes are modest (n >= 50).

K (kappa) is the shape parameter of GEV.

papers which appear in the quotes:

Hosking J, Wallis J, Wood E (1985) Estimation of the generalized extreme-value distribution by the method of probability-weighted moments. Technometrics 27:251–261.

Madsen, H., P. F. Rasmussen and D. Rosbjerg (1997) Comparison of annual maximum series and partial duration series methods for modeling extreme hydrologic events, 1, At-site modeling, Water Resour. Res., 33(4), 747-758.

Hosking, J. R. M., L-moments: Analysis and estimation of distributions using linear combinations of order statistics, J. R. Stat. Soc., Ser. B, 52, 105-124, 1990.


Additionally, I have the same experience as concluded in the above papers, in case of modeling extreme events with small and moderate sample size (<50-100 which is typical) MLE can give unrealistic results, simulation shows that MOM is more robust and has smaller RMSE.

$\endgroup$
0
3
$\begingroup$

An example that is admittedly connected with the James-Stein phenomenon, albeit in dimension one.

In the case of estimating the squared norm $\theta=||\mu||^2$ of a Gaussian mean vector, when observing $X\sim\mathcal N_p(\mu,\mathbf I_p)$, the MLE $$\hat\theta^\text{MLE}=||x||^2$$ is doing quite poorly [in terms of squared error loss] when compared with the moment estimator $$\hat\theta^\text{MM}=||x||^2-p$$ itself outperformed by the left-truncated version $$\hat\theta^\text{TMM}=(||x||^2-p)^+$$ Surprisingly, the MLE of $\theta$ based on the original MLE distribution $$\hat\theta^\text{MLE}\sim\chi^2_p(\theta)$$ is different and apparently admissible, standing between $\hat\theta^\text{TMM}$ and $$\hat\theta^\text{JS}=(||x||^2-p+1)^+$$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.