Method of moments#
The method of moments is based around equating the statistical moments1 of the data to those of the distribution we want to fit. To this end, we can exploit the fact that there is a relationship between the statistical moments and the parameters of the distribution. If we equate the moments of the distribution to the moments of the observations, we can solve for the values of the parameters of the distribution.
Let’s look at an example#
Step 0: The data#
An engineer is studying the intensity of earthquakes in Rome (Italy). To this end, the engineer is using Catalogo dei terremoti italiani dall’anno 1000 al 1980 (the Catalog of Italian earthquakes from year 1000 to 1980) edited by D. Postpischl in 1985. This catalog reports the intensity of earthquakes in terms of the Mercalli-Canconi-Sieber (MCS) index. Due to the uncertainties associated with this natural phenomenon, the engineer considers it a random process and wants to fit a Gumbel distribution to the observations found in the catalog using the method of moments. The data found in the catalog is shown in the table below 2.
MSC intensity |
2 |
3 |
4 |
5 |
6 |
7 |
---|---|---|---|---|---|---|
Number |
113 |
132 |
56 |
22 |
4 |
2 |
Remember that the CDF of the Gumbel distribution is given by
Therefore, the value of \(\mu\) and \(\beta\) needs to be determined based on the observations to fit the distribution.
Step 1: Computing the statistical moments#
The first thing the engineer needs to do is to calculate the statistical moments of the observations in the Table. The empirical mean (\(\overline{X}\)) and empirical variance (\(\sigma^2\)) are calculated as:
where
\(x\) is the earthquake intensity, and
\(f\) is the frequency of the value \(x\).
Step 2: Solving for the parameters#
Based on the properties of the Gumbel distribution, we know
where \(\gamma \approx 0.577\) is the Euler-Mascheroni constant.
Therefore, we can equate the expectation and variance of the distribution (\(E[X]\) and \(Var[X]\)) to the calculated moments and obtain the value of the parameters. We can begin by reformulating Equation 2:
Once we know \(\beta\), we can use Equation 1 to derive \(\mu\):
Thus, \(\mu \approx 2.57\) and \(\beta \approx 0.77\).
As part of the quality control of the construction of a building, lab tests are performed to determine the compressive strengths of concrete. The following values in \(N/mm^2\) are obtained: 60.5, 59.8, 53.4, 56.9 and 61.9.
The engineer responsible for quality assumes that the compressive strength follows a uniform distribution, whose CDF is given by
Attribution
This chapter was written by Patricia Mares Nasarre, Robert Lanzafame, and Max Ramgraber. Find out more here.