- Introduced by
- Denby & Martin (1979); Muler, Pena & Yohai (2009)
- Year
- 1979–2009
- Type
- Robust time series model
- Family
- Econometrics / time series
What does it do?
The Robust MA model estimates the parameters of a moving average (MA) model by robust M-estimation, so that large residuals have bounded or reduced influence on the fitted coefficients.
This makes it less sensitive than the classical least-squares MA fit to outliers and heavy-tailed errors. The MA structure itself, in which the observed series depends on current and lagged shocks, is unchanged.
The intuition behind the method
A classical MA fit chooses coefficients that minimise the sum of squared residuals, so a single extreme observation can pull the estimates a long way. The robust version replaces the squared loss with a function that grows more slowly for large residuals, so extreme points count for less. Because MA residuals are built recursively from past values, an outlier can still affect later residuals, and the estimator has to be designed with that in mind. The aim is coefficient estimates that stay close to the bulk of the data when some observations are contaminated.
History
Robust estimation for time series parameters begins with Denby and Martin (1979). Their paper on robust estimation of the first-order autoregressive parameter proposes a class of generalised M-estimates and considers two outlier models: one in which the process itself is contaminated, and one in which the observations are contaminated. That work concerns the AR(1) parameter, not MA models, and it is an earlier precursor rather than the origin of the Robust MA model. Muler, Pena and Yohai (2009) introduced M-type robust estimates for ARMA models, of which MA is a special case. Their residuals are computed so that one outlier affects only its own period, and they establish consistency and tractable asymptotics.
When to use it
Choose the Robust MA model when you need an MA model for a univariate series that shows additive outliers or heavy-tailed innovations, and the short-memory MA dynamics are of interest. Series with one-off shocks, such as some financial, environmental or macroeconomic data, are possible candidates. Do not use it when the series is clean and close to Gaussian, since the classical MA is simpler and adequate there. It is also the wrong tool when the series has long memory or a strong trend, which call for different model families. Level shifts are not what this estimator is designed to handle and usually need explicit modelling. Where the outliers are themselves the object of study, they should be modelled explicitly rather than down-weighted. Before fitting, compare the robust and classical residuals over time to see which kind of contamination is present. In an MA(q) model, an innovation shock at time t enters X_t, X_{t+1}, ..., X_{t+q}, so an innovation outlier affects q+1 consecutive values, whereas an additive outlier affects a single observation. A persistent change in level appears as a shift that does not return to its earlier value. Such a pattern points to a level shift rather than to outliers this estimator is meant to handle.
Limitations and considerations
- There is no closed-form solution. The coefficients are found by iterative numerical optimisation, which can converge slowly, fail to converge, or settle on a local optimum, so starting values and convergence checks matter.
- The choice of loss function (Huber, bisquare or another) and its tuning constant sets the trade-off between efficiency on clean Gaussian data and resistance to outliers.
- Plain M-estimation on recursive MA residuals, as in the generic form shown on this page, can still let a single outlier affect several subsequent residuals through the recursion. The residual construction of Muler, Pena and Yohai (2009) was developed to limit this, so the specific estimator matters.
- The type of outlier matters. Denby and Martin (1979) study separate models for outliers in the observed series and in the underlying process, in the AR(1) setting. A downweighting rule suited to one type may handle the other poorly, so the outlier type should be considered when interpreting the fit.
- Finite-sample behaviour depends on the contamination level and sample size, so asymptotic results do not guarantee good performance on short series.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Large residuals have bounded or reduced influence on the coefficient estimates, which classical least-squares MA estimates do not provide.
- Each θj keeps its usual meaning as the weight on a lagged shock, so the fitted model remains an MA model.
- The robust ARMA estimator of Muler, Pena and Yohai (2009), of which the MA model is a special case, computes residuals so that the effect of one outlier is limited to the period where it occurs, rather than propagating through the recursion. Their abstract reports consistency, tractable asymptotic theory, and favourable Monte Carlo comparisons with standard M-estimates and with estimates based on a diagnostic procedure.
- Under regularity conditions, M-estimators are asymptotically normal with a sandwich covariance, which allows approximate inference; the quality of that approximation depends on sample size.
Applications
- Illustrative examples of contaminated series, not established application areas: financial return series in which sudden market dislocations may produce extreme observations.
- Possible use: environmental or climate series that may be affected by instrument errors or extreme weather events.
- Possible use: macroeconomic series spanning crises, where one-off shocks may violate Gaussian assumptions.
- Possible use: quality-control monitoring in which measurement errors occasionally contaminate process data.
- Forecasting studies comparing robust and classical MA fits. Out-of-sample evaluation is needed to confirm any gain, because outliers can also carry information.
How it works
How it works
The MA(q) model writes the observed series as a mean plus a linear combination of q current and lagged error terms. The parameters θ₁,...,θq govern how past shocks propagate into the present value.
Formula
X_t = \mu + \varepsilon_t + \theta_1 \varepsilon_{t-1} + \cdots + \theta_q \varepsilon_{t-q}Instead of minimising the sum of squared residuals as in ordinary least squares, the robust fit minimises the sum of a bounded-growth loss function ρ applied to each residual. Huber's ρ is quadratic for small residuals and linear for large ones, so large residuals are penalised less than under squared loss. Tukey's bisquare ρ levels off completely beyond a cutoff, so very large residuals stop contributing to the objective. The displayed objective is the generic M-estimation form applied to recursively computed MA residuals. It is not the residual construction of Muler, Pena and Yohai (2009), which is designed to confine each outlier's effect to its own period.
Formula
\hat{\theta} = \arg\min_{\theta} \sum_{t} \rho\!\left(\varepsilon_t(\theta)\right)Setting the derivative of the objective to zero gives the M-estimation score equations, where ψ is the derivative of ρ and is often called the influence function. For bounded ψ, as in Huber and bisquare fits, no single residual can exert unlimited pull on the estimate. Because each residual depends on θ recursively, the derivatives of the residuals with respect to θ are computed through the MA recursion. These equations apply to the generic recursive form shown above. The estimator of Muler, Pena and Yohai (2009) changes how the residuals are computed, so its estimating equations differ and are not reproduced here.
Formula
\sum_{t} \psi\!\left(\varepsilon_t(\theta)\right) \frac{\partial \varepsilon_t}{\partial \theta} = 0The robust loss depends on the error scale, so the scale is estimated together with the coefficients. A common choice is a robust scale estimator such as the median absolute deviation (MAD), which can be rescaled to estimate the error standard deviation under normality; the rescaling should be checked in the software documentation. The coefficients and the scale are updated in turn until successive estimates change by less than a small tolerance set by the software. The tolerance and the maximum number of iterations are settings to check. A poor starting value can lead to slow convergence or to a local optimum.
After fitting, the robust residuals are plotted against time and checked for remaining outliers, and for autocorrelation that would suggest the MA order is inadequate. Standard errors can be obtained from the sandwich covariance of the M-estimator or from a bootstrap; both are approximations whose accuracy depends on sample size and the level of contamination.
Common pitfalls
- Keeping the Gaussian MA estimates when residual checks show extreme observations, which leaves the coefficients driven by those points.
- Estimating the error scale with the ordinary standard deviation rather than a robust scale. Outliers then inflate the scale and weaken the downweighting.
- Treating a genuine event, such as a crisis or a policy shock, as contamination and silently down-weighting it. Events of interest should be modelled explicitly, for example with intervention terms.
- Using standard AIC or BIC on robust residuals for order selection. Those criteria are derived from a likelihood, so their use with M-estimation residuals needs justification. Compare candidate MA orders with residual diagnostics and out-of-sample checks as well.
Frequently asked questions
What is the difference between a standard MA model and a Robust MA model?
A standard MA model is fitted by minimising the sum of squared residuals, so extreme observations have a large effect on the estimates. The Robust MA replaces the squared loss with a bounded-growth function such as Huber's or Tukey's bisquare, so large residuals receive less weight and the estimates change less when the data contain outliers.
How do I choose the tuning constant for the loss function?
The tuning constant sets the point beyond which large residuals are increasingly downweighted. A smaller constant gives more resistance to outliers at some cost in efficiency when the data are close to Gaussian; a larger one moves the fit toward least squares. Software defaults differ, so check the documented default and test how sensitive your coefficients are to the constant before drawing conclusions.
Can I use robust MA within an ARIMA framework?
In principle, yes. Muler, Pena and Yohai (2009) develop robust M-type estimates for ARMA models, and an MA model is the case with no autoregressive terms. Check whether your software offers robust ARMA or ARIMA estimation before relying on it.
Does robust estimation change the interpretation of MA parameters?
No. The MA parameters θ₁,...,θq retain their standard interpretation as the weights applied to past error terms. Robust estimation changes how those weights are computed, not what they mean.
How should I assess model fit for a Robust MA model?
Inspect the robust residuals for remaining outliers and plot them against time. Check residual autocorrelation with a standard test applied to the robust residuals; such tests were derived for ordinary residuals, so their p-values are approximate here. Compare candidate MA orders using residual diagnostics rather than relying on AIC or BIC alone, since those criteria assume a likelihood.
Related methods
Sources
Denby, L., & Martin, R. D. (1979). Robust estimation of the first-order autoregressive parameter. Journal of the American Statistical Association, 74(365), 140–146.
Open DOI referenceMuler, N., Pena, D., & Yohai, V. J. (2009). Robust estimation for ARMA models. Annals of Statistics, 37(2), 816–840.
Open DOI reference