A discussion on the robust vector autoregressive models: novel evidence from safe haven assets

The vector autoregressive (VAR) model has been popularly employed in operational practice to study multivariate time series. Despite its usefulness in providing associated metrics such as the impulse response function (IRF) and forecast error variance decomposition (FEVD), the traditional VAR model estimated via the usual ordinary least squares is vulnerable to outliers. To handle potential outliers in multivariate time series, this paper investigates two robust estimation methods of the VAR model, the reweighted multivariate least trimmed squares and the multivariate MM-estimation. The robust information criteria are also proposed to select the appropriate number of temporal lags. Via extensive simulation studies, we show that the robust VAR models lead to much more accurate estimates than the original VAR in the presence of outliers. Our empirical results include logged daily realized volatilities of six common safe haven assets: futures of gold, silver, Brent oil and West Texas Intermediate (WTI) oil and currencies of Swiss Francs and Japanese Yen. Our sample covers July 2017–June 2020, which includes the history-writing price drop of WTI on April 20, 2020. Our baseline results suggest that the traditional VAR model may significantly overestimate some parameters, as well as IRF and FEVD metrics. In contrast, robust VAR models provide more reliable results, the validity of which is verified via various approaches. Empirical implications based on robust estimates are further illustrated.


Introduction
Ever since the 2008 global financial crisis, financial markets have become much more volatile, which holds true across various commodities, equities and currencies (see, for example, (Yaya et al., 2016;Ho et al., 2017;Hasannasab et al., 2019;Ma et al., 2019;Shi, 2020), among others). Many macro economic, social and political 'black-swan' events have caused historical-recording market turbulences, especially during recent periods. For instance, the Brexit and the US presidential election that took place in 2016 have introduced substantial co-movements in a wide range of global financial markets (Shaikh, 2017;Ameur & Louhichi, 2021). The recent pandemic, known as the COVID-19, has caused four circuit breakers within 10 days in March 2020 for the S&P 500 index (Ji et al., 2020;Spelta et al., 2021).
To mitigate such risks, especially for the more volatile equity markets, existing studies have pointed out the growing importance on allocating safe haven assets in one's financial portfolio (see, for example, Baur and McDermott 2010;Flavin et al. 2014;Gurgun and Unalmis 2014;Baur and McDermott 2016, among others). In addition to the commonly used precious mental (e.g. gold and silver), recent literature indicates that crude oil and major currencies, such as Swiss Francs (CHF) and Japanese Yen (JPY), are also effective safe haven assets to hedge unforeseeable risks (Ranaldo & Söderlind, 2010;Ciner et al., 2013;Fatum & Yamamoto, 2016;Elie et al., 2019). However, even for those assets, black-swan events can still emerge, and the most recent one occurs in early-2020.
On April 20, 2020, the price of West Texas Intermediate (WTI) crude oil future drops by over 300%, trading at −$37.63 USD by the end of day (Shi, 2021). This history-writing event, however, does not last long, and the close price of the next trading day increases by over 100% and ends at $10.01 USD. As plotted on Fig. 1, it can be seen that the impacts of those extreme market shocks immediately die out. Volatilities of WTI returns of days following April 21, 2020 seem to recover quickly to a more normal level. Despite this, those extreme shocks can be deemed outliers leading to abnormal volatilities. They may have non-negligible influences when standard statistical models are employed.
Among the existing literature, robust techniques are particularly useful to handle uncertain data exhibiting abnormal observations, as those illustrated in Fig. 1. Under such scenarios, robust techniques are often more efficient and come with more reliable estimates. In particular, advanced robust models, optimization and estimation techniques have been developed and widely employed in operational practices (see, for example, Hladík 2016;Tanveer et al. 2016;Hladík 2019;Černỳ et al. 2020, among others).
This paper examines the performances of robust estimators under the vector autoregressive (VAR) framework, when outliers are unavoidable, especially during the current volatile period. As a standard approach to study the behaviour of multivariate time series, the VAR model has been commonly employed in economics and finance research (Sims, 1980). Rather than a simple extension of the univariate AR model, the popularity of VAR can be attributed to its unique features. For instance, estimates of a VAR model are used to construct metrics known as the impulse response function (IRF) and forecast error variance decomposition (FEVD). Both IRF and FEVD are informative measures to study interrelationships of multivariate economic and financial series (Tsay, 2005).
Broadly speaking, there are two types of outliers in time series (Fox, 1972). Under the VAR framework, an observation is said to be an additive outlier if only its own value has been affected by contamination. In contrast, an observation is treated as an innovational outlier if its corresponding error process is contaminated. Different from an additive outlier, an innovational outlier can affect both the current observation and the subsequent ones. In this paper, we focus on the additive outliers, the impact of which quickly dies out as observed in Fig. 1. Although such outliers have an isolated effect on time series, they can still negatively impact the usual (non-robust) ordinary least squares (OLS) estimation of a VAR model. Further, the accuracy of estimated IRF and FEVD based on the OLS method may also be negatively influenced, causing inappropriate inferences.
Under the scenario of univariate time series, many robust methods have been proposed to handle the potential outliers (Bustos & Yohai, 1986;Pankratz, 1993;McCulloch & Tsay, 1994;Maronna et al., 2006). However, as discussed in Croux and Joossens (2008), compared to univariate time series, dealing with outliers in multivariate time series is more challenging because contamination in one series may be caused by an outlier in other sequences. Among the literature considering robust estimation of multivariate time series models, Ben et al. (1999) extend the Residual Autocovariance (RA)-estimators for univariate ARMA models proposed by Bustos and Yohai (1986) to robustly estimate vector ARMA models. Ben et al. (2006) propose estimating the VAR model based on a τ -scale. Croux and Joossens (2008) utilize a multivariate least trimmed squares estimator (MLTS) as discussed in Agulló et al. (2008) to estimate the VAR model. Because the MLTS estimator usually has a low efficiency, Croux and Joossens (2008) further suggest estimating the VAR model using a reweighted multivariate least trimmed squares (RMLTS) approach to improve the efficiency of the MLTS estimator. The RMLTS estimators can be both robust and efficient. However, choosing the trimming proportions for the RMLTS estimators is relatively ad-hoc. More importantly, the computational cost of MLTS/RMLTS can increase dramatically when the number of observations rises because the optimization problem of MLTS/RMLTS is binary. Therefore, in this paper, we also consider employing a multivariate MM-estimation. The MM-estimation is a two-stage procedure first introduced by Yohai (1987). In the first stage, an M-estimation of the errors scale is calculated based on the initial estimate with high breakdown point (the first M). In the second stage, an M-estimate of regression coefficients is computed based on the scale estimate obtained in the first stage (the second M). Briefly speaking, the MM-estimator is computed as an M-estimator starting at the coefficients provided by a high breakdown S-estimator. Kudraszow and Maronna (2011) further extended the MM-estimator to a multivariate case. As an alternative of RMLTS, MM-estimation is computationally efficient and can achieve both high breakdown point and high efficiency. Denote the VAR model estimated using the RMLTS and multivariate MM-estimation as RVAR.L and RVAR.M, respectively, this paper aims to demonstrate their effectiveness in the presence of outliers. First, we conduct a comprehensive simulation study for bivariate VAR processes. Altogether, eight scenarios are investigated, allowing for combinations of different true parameters, sample sizes and imposing outliers or not. When outliers are created, compared to the original VAR model (estimated by OLS), RVAR.L and RVAR.M consistently produce more accurate and efficient estimates of the model parameters, as well as those of IRF and FEVD. We also find that the robust VAR models lead to rather similar point estimates and efficiency to their ordinary counterparts when no outliers exist. Nevertheless, both RVAR.L and RVAR.M models demonstrate the desirable asymptotic features, with potentially equivalent asymptotic efficiencies.
Our empirical results include daily realized volatilities with logarithm transformation for six safe haven assets. Those include futures of gold (XAU), silver (XAG), Brent oil (BRE) and WTI oil, and currencies of CHF and JPY, all measured in US dollars. The sample period is July 2017-June 2020, covering the large outliers visualized in Fig. 1. We find that the original VAR model is likely to overestimate the variance of WTI innovation, and various IRFs and FEVDs corresponding to the orthogonal WTI shocks, compared to the robust VAR models. To further explore the validity of robust estimates, the sample is divided into two sub-periods: July 2017-February 2020 (without outliers) and March 2020-June 2020 (with outliers). We find that no significant structural changes are evidenced in the two subsamples for IRF and FEVD. Also, the original and robust VAR models produce rather consistent IRF and FEVD estimates when the first subsample is examined, and when outliers in the second period are removed. This supports the appropriateness of robust estimates obtained using the full sample.
The contributions of this paper are threefold. First, to the best of our knowledge, this is the first study to comprehensively investigate the robust VAR model using the RMLTS and MM multivariate estimators. To accommodate the empirical application of the VAR methodology, we also develop robust counterparties of the popular Akaike information criterion (AIC), the Bayesian information criterion (BIC), and the Hannan-Quinn criterion (HQC) to choose the appropriate number of lags. Second, our simulation study demonstrates the non-negligible biasness of VAR estimated via OLS in the presence of outliers, and more importantly, the effectiveness of RVAR.L and RVAR.M to resolve this issue. This is critical for traders and investors to making trading or investing decisions in practice, especially for the contemporary volatile markets. Finally, our empirical analyses provide important and useful implications for the six commonly employed safety haven assets. Specifically, non-robust estimates could lead to significantly overestimated IRF and FEVD of oil futures corresponding to shocks of XAU, based on which a wrong risk mitigation decision might be made. Also, compared to currencies, the uncertainty of oil futures is less responsive to the orthogonal XAU shocks. Thus, to hedge idiosyncratic risks of the dominant safe haven asset of XAU, one might consider increasing the allocations of oil futures in the portfolio. Those findings also imply that the robust VAR models can be effective tools to study multivariate time series in other operational practices.
The remainder of this paper is organized as follows. Section 2 reviews the ordinary VAR model, and describe the RVAR.L and RVAR.M specifications. Simulation studies are conducted in Sect. 3, and the empirical analyses are presented in Sect. 4. Finally, Sect. 5 concludes.

The vector autoregressive model
Define y t = (y 1,t , . . . , y N ,t ) , an N × 1 vector of time series variables observed at time t for t = 1, . . . , T , a p-th order vector autoregressive model, denoted by VAR( p), can be written as: where μ is an N -dimensional intercept vector, A i for i = 1, . . . , p are N × N time-invariant coefficient matrices that evaluate the long-run co-movement between time series variables at time t and those at time t − i, and t is an N × 1 zero-mean white noise vector process (serially independent) with a time-invariant variance-covariance matrix Σ. For a covariance stationary VAR system, a range of popular metrics may be employed to perform further analyses. One sufficient condition to ensure the covariance stationarity is the stability, such that the roots of lie outside the complex unit circle, where I N is the N × N identity matrix. If this condition is met, (I N − A 1 − · · · − A p ) −1 μ then measures the unconditional or long-term mean of y t .
Another popular metric of the VAR analysis is the impulse response function (IRF). For a covariance stationary system, (1) can be written as a moving-average (MA) model, such that Following Lütkepohl (199), it can be shown that where Φ 0 is an N × N identity matrix, and A j = 0 for j > p. The elements of Φ i may be intuitively interpreted as the impulse response. However, due to the non-zero cross-sectional correlations among the error sequence, elements of Φ s for s > 0 cannot be easily interpreted. To resolve this issue, one may work on the orthogonal errors η t = L −1 t , where L is an invertible lower triangular matrix derived using the Cholesky decomposition as follows The MA representation (2) can then be rewritten with respect to η t : IRFs are therefore defined as impulse responses of the ith series to the jth orthogonal shocks η j,t , or where θ s i, j is the i jth element of Θ s . Another metric discussed in this paper is the forecast error variance decomposition (FEVD), which is closely related to IRF. In short, the i jth h-step-ahead FEVD describes the portion of variance of forecast errors in predicting y i,T +h explained by the jth orthogonal shocks η j,t . The mathematical definition is provided below.
where σ 2 η j is the variance of η j,t and equal to the jth diagonal element of D as defined in (3). In terms of the estimation, assume there are no restrictions put on the parameters A i for i = 1, . . . , p, the VAR(p) as in (1) can be rewritten as is an (N p + 1) × N matrix that contains all unknown coefficients. Alternatively, if we define Y = ( y 1 , . . . , y T ) , Z = (z 1 , . . . , z T ) , and E = ( 1 , . . . , T ) , the VAR(p) can be represented as a concise matrix form: Therefore, the VAR( p) can be estimated using ordinary least squares (OLS) under a multivariate regression framework, which is given by the well-known formula: Correspondingly, the covariance matrix of the error can be estimated by the sample covariance of the multivariate least square residuals such that: Remark 1 Unfortunately, it is widely known that the OLS estimators for B and Σ are very sensitive to outliers since they have a 0 breakdown point. The breakdown point of an estimator is defined as the proportion of 'bad' data (i.e., arbitrarily large values) that an estimator can handle without making the estimator arbitrarily bad. Thus, when outliers are present, the OLS estimators often perform poorly, which negatively influences the interpretation and further inferences of an fitted VAR, such as IRF and FEVD.

Remark 2
In this study, we consider the Tukey-Huber contamination model (Huber, 1964;Tukey, 1962) that assumes a certain percentage of the data may be affected by abnormal noise. To be more specific, a large proportion (e.g. 1 − ε, where ε is usually from 0 to 25%) of the data come from a fully described normal-error model, while the remaining ε percent of the data can be affected by abnormal fluctuations that arise from the data contamination. Detailed discussions on the Tukey-Huber model can be found in Alqallaf et al. (2009).

Robust VAR using the multivariate least trimmed squares
To overcome outliers present in multivariate time series, Croux and Joossens (2008) propose to estimate the VAR model by a multivariate least trimmed squares (MLTS) estimator as introduced in Agulló et al. (2008). The MLTS comes from the idea of Minimum Covariance Determinant (MCD) estimator (Rousseeuw & Driessen, 1999) that chooses the subset of s observation from T observations for which the determinant of the covariance matrix of least-squares residuals is minimal. Specifically, we define S = {S ∈ {1, . . . , T }, |S| = s} be the collection of all possible subsets of size s, where S is any subset such that S ∈ S, and let B (S) OLS be the OLS estimator as in (5) but only using the observations in the subset S, such that where Z (S) and Y (S) consist of the rows of Z and Y that belong to the subset S. Correspondingly, the covariance matrix estimated using this subset S is computed as: Then, the MLTS is defined as: where | · | indicates the determinant of a matrix. The associated MLTS estimator of the error covariance matrix is where c α is a correction factor that ensures the consistency of Σ MLTS , and α is known as the trimming proportion for the MLTS estimator such as α ≈ 1 − s T . The value of c α depends on the error distribution and its detailed calculation under a multivariate normal case is provided in Agulló et al. (2008).
It is worth mentioning that Agulló et al. (2008) also prove that solving the problem of (6) is equivalent to minimizing the sum of the s smallest squared Mahalanobis distances of its residuals. That is, we can also define B MLTS as: is the ordered sequence of the residual Mahalanobis distance, which is given by: Therefore, the MLTS estimator can be viewed as a multivariate extension of the Least Trimmed Squares (LTS) estimator of Rousseeuw (1984). Although the MLTS estimator can be robust against outliers, it usually has a low efficiency. A reweighed step is commonly implemented to improve the efficiency of the MLTS estimator. Following Agulló et al. (2008), the reweighted multivariate least trimmed squares (RMLTS) estimators for B and Σ are given by N p+1,1−δ }, and χ 2 N p+1,1−δ is the upper δ-quantile of a Chi-square distribution with N p + 1 degrees of freedom. After a model is estimated by MLTS, the residual with a Mahalanobis distance d j ( B MLTS , Σ MLTS ) larger than the critical value q δ is then identified as an outlier. RMLTS is then computed using data which are non-outliers. A standard choice of α and δ is 0.25 and 0.01, respectively, which is also adopted in this study. Agulló et al. (2008) show that when N = 2, the RMLTS achieves an asymptotic efficiency of 0.941 for the normal distribution, whereas this efficiency of MLTS is only 0.403.

Robust VAR using multivariate S-and MM-estimation
Despite that RMLTS estimators can achieve a high breakdown point and high efficiency, choosing the trimming proportions α and δ are relatively ad-hoc. In addition, because the optimization problem of MLTS/RMLTS is binary, finding the best subset S is computationally expensive when the total number of observations T rises. Thus, we consider another commonly used robust estimation method, or the S-estimation (Rousseeuw & Yohai, 1984). Van Aelst and Willems (2005) extend the S-estimator to a multivariate case, which can be adopted to estimate the VAR( p) model. In the context of the VAR( p) model, we consider the S-estimator as: where d t (B, Σ) is the residual Mahalanobis distance for t-th observation as defined in (7), ) under the error distribution, which is usually set as 0.5 to ensure the maximal asymptotic breakdown point. The loss function ρ is assumed to satisfy the following two properties: A1. ρ is twice continuously differentiable and symmetric at ρ(0) = 0; and A2. ρ is strictly increasing on [0, d] and eventually constant.
A commonly used family of loss functions ρ is given by the Tukey's biweight, where d is a tuning constant that controls the trade-off between robustness and efficiency, which is usually chosen at the value that achieves a 0.5 breakdown point. The detailed algorithm to solve the multivariate S-estimator is provided in Van Aelst and Willems (2005). Although the multivariate S-estimator is highly robust against outliers, its efficiency is relatively low when the number of time series N is not large. According to Van Aelst and Willems (2005), when N = 2 and the error distribution is normal, the asymptotic efficiency of the multivariate S-estimator is only 0.580. To resolve this, we explore the MM-estimation instead, which achieves both high breakdown point and high efficiency. The MM-estimation is a two-stage procedure first introduced by Yohai (1987) and further extended to a multivariate case by Kudraszow and Maronna (2011). In the first stage, an initial estimator (e.g. S-estimators for both B and Σ) is computed with high breakdown point but not necessarily efficient. In the second stage, an M-estimator for B is computed based on the scale estimator (e.g. S-estimator for Σ) obtained in the first stage. Briefly speaking, an MM-estimator is computed as an M-estimator starting at the coefficients given by a high breakdown S-estimator and with a fixed scale also provided by the S-estimator.
To sum up, in this study, we consider the multivariate MM-estimation of the VAR( p) model with the following two steps: Step 1: Compute the S-estimators ( B S , Σ S ) according to (8) with a loss function ρ 1 and b = 0.5; Step 2: Obtain the MM-estimator B MM given as where two loss functions ρ 1 and ρ 2 both satisfy properties A1 and A2 and are subject to ρ 1 ≥ ρ 2 . If we let d 1 and d 2 be the tuning constants for ρ 1 and ρ 2 , respectively, then the breakdown point of MM-estimator only depends on d 1 , such that its desired efficiency can be achieved by choosing an appropriate value of d 2 but without affecting the breakdown point.

Remark 3
As discussed above, compared to the MLTS and multivariate S-estimators, the corresponding RMLTS and the multivariate MM-estimators are both robust and more efficient. Thus, we only focus on estimating the VAR( p) model using these two robust estimators in our simulation study and empirical analysis.

Remark 4
To derive the robust IRF and FEVD as discussed in Sect. 2.1, the same formula are followed. In all cases, estimators of A i and Σ produced by the OLS are replaced by their robust counterparties.

Lag selection using robust information criteria
Following the above description, the VAR( p) model can be robustly estimated using the RMLTS or the multivariate MM-estimation for a given p. However, p is usually not known in advance and needs to be determined by the data. One standard approach is to fit the VAR( p) model with lags p = 1, . . . , p max and select the optimal value of p which minimizes some model selection criteria. Three commonly used information criteria (IC) for the VAR are the Akaike information criterion (AIC), Bayesian information criterion (BIC) and Hannan-Quinn criterion (HQC), all of which are in a form of the negative penalized log-likelihood function given as follows, where Σ OLS ( p) is the residual covariance matrix using lag p, K 2 p is the number of parameters, τ (T ) is a function of T , and K 2 p · τ (T ) serves as a penalty function which penalizes the VAR model with a large number of parameters. However, the presence of outliers not only affects the estimators, but also (and sometimes more severely) the model selection procedure using the likelihood based criteria as in (9), since Σ OLS is very sensitive to outliers. To select the optimal p for robust VAR models, in this work, we propose a robust model selection approach based on a robust version of the penalized log-likelihood.
Consider the log-likelihood of VAR( p) under a multivariate normal error distribution: When (B, Σ) are estimated by the OLS, we observe that which becomes a constant, and thus, the negative l( B OLS , Σ OLS ) coincides with ln | Σ OLS | by dropping out the constant term. However, when (B, Σ) are estimated by robust methods (e.g. the RMLTS or the multivariate MM-estimation), which we denote by ( B, Σ), is no longer a constant term and it will be dominated by potential outliers with large residual Mahalanobis distances. Therefore, in the same spirit of robust estimation on the model parameters, we propose the following robust information criterion (RIC) to bound the influence of potential outliers that have large residual Mahalanobis distances: As discussed in Müller and Welsh (2005), linking the information criterion to any estimators (e.g. use the same ρ function in the selection criterion and estimation) may excessively favor that estimator. As a result, in this study, we chooseρ in (10) by Huber's loss, which is not used in either the RMLTS or the multivariate MM-estimation: where c is a tuning constant that controls the amount of the robustness. In conclusion, we consider robust versions of three aforementioned criteria (AIC, BIC, and HQC) which correspond to RIC with three different types of the penalty function: The optimal p for robust VAR models is therefore selected by the one that minimizes one of the above criteria. Owing to its preference on a more parsimonious model, we employ the (robust) BIC throughout the rest of this paper. Our results and conclusions, however, consistently hold when the (robust) AIC or HQC is employed instead. 1

Simulation study
In this section, we carry out a simulation study to compare the performances of original and robust VAR models with various simulation settings. Section 3.1 describes those settings. Sections 3.2 and 3.3 discuss the estimation under scenarios with and without outliers, respectively.

Simulation setting
Throughout this section, we consider a bivariate (N = 2) VAR model with lag p = 1 as follows: where A is a 2 × 2 matrix of coefficients, and we assume that the error follows a bivariate normal distribution with mean 0 and covariance Σ (a 2 × 2 matrix). In our simulation, we let where the error terms for both variables have a variance of 1, and r measures the correlation between the bivariate errors. 2 In order to investigate the performance of robust VAR against outliers, we focus on data generated by (11) but with 1% of the observations being contaminated. That is, once T vectors of y t are simulated, 1% × T out of T randomly selected vectors of y t have random entries contaminated by numbers generated from N (10, 1). To ease the comparison, we assume that the lag p = 1 is known in advance in our simulation study and consider the following settings with various values of T and r .
For each setting, we produce 1000 replicates, and simulated samples are fitted by the original VAR, robust VAR with RMLTS estimator (RVAR.L) and robust VAR with MM-estimator (RVAR.M) models individually. The same settings are then employed to construct scenarios without outliers to compare all models.

Scenarios with outliers
We first consider the scenarios with outliers. The absolute bias and standard errors (SEs) of the residual variance-covariance matrix (Σ), which are calculated using the estimates and true values, are reported in Table 1. For its incompatibility with outliers, the original VAR model leads to considerably large bias and SEs in all cases. For instance, for a small sample size with a low correlation in cross-sectional errors, absolute bias (SE) of the diagonal elements of Σ is mostly above 0.48 (0.58). When r increases to 0.8, the absolute bias and SE are similar to their counterparties when r = 0.2. In contrast, the absolute biases produced by RVAR.L and RVAR.M models are mostly below 0.05 and only marginally vary with different r . With respect to the estimation efficiency, SEs of the robust models are over 50% smaller than those of the original VAR model. Consequently, even with a small sample size of 100, RVAR.L and RVAR.M provide much less biased and more efficient estimates than the original VAR model. Nevertheless, when the sample size increases to 500, the absolute bias of robust models reduces to much negligible levels (only up to 0.025). The improved efficiency of estimation is also evidenced, since SEs are substantially below 0.1. Similarly, also from Table 1, much identical conclusions can be drawn for the estimated auto-regressive matrix A. Such results demonstrate the desirable asymptotic consistency and efficiency of RVAR.L and RVAR.M models, when estimating VAR parameters with the existence of large outliers. 3 The models compared are the original VAR, robust VAR using the reweighted multivariate least trimmed squares estimator (RVAR.L) and robust VAR using the MM-estimator (RVAR.M). r is the correlation between the innovations of the two series. T is the sample size. Bias is the absolute bias. SE is the standard error. The number of replicates is 1000 for each simulation setting We now discuss the two common metrics to perform further analyses of a VAR system: IRF and FEVD. In this case, we focus on the root of mean squared error (RMSE) as an overall estimation accuracy measure. RMSE is constructed as the root of summation of squared bias and SE, and the corresponding results are reported in Table 2. For both IRF and FEVD, we consider up to 10 steps, and the average of RMSEs over all the 10 steps is presented. Besides, from (4), it is also worth noting that FEVDs of the ith series always sum up to 100%. Consequently, we only focus on FEVD that is explained by the series itself. In a binary case, The models compared are the original VAR, RVAR.L and RVAR.M. 1-to-1 and 2-to-1 (1-to-2 and 2-to-2) are RMSEs of IRFs for y 1 and y 2 to changes in y 1 (y 2 ), respectively. 1-in-1 (2-in-2) is the RMSE of FEVD for y 1 (y 2 ) in explaining the forecast errors of y 1 (y 2 ). Note that both IRFs and FEVD are produced to 10 steps, and RMSEs reported in the table are averages over the 10 steps large (or small) RMSEs of FEVD are most likely to occur simultaneously when investigating the same sequence.
Recall that both IRF and FEVD are related to the estimated residual variance-covariance matrix. The inaccuracy in estimating any of those parameters can therefore result in imprecision of those metrics. When both the sample size and cross-sectional correlation are small, robust estimates of IRFs are uniformly more accurate than those of the original VAR model. Although the difference in FEVD is relatively small in this case, the average RMSEs of robust VAR models are over 50% smaller than those of VAR, when r = 0.8. Finally, with a moderately large sample size of 500, we observe that RVAR.L and RVAR.M consistently outperform VAR in estimating IRFs and FEVDs with considerably distinct improvements.
To sum up, the robust VAR models investigated in this paper provide much more accurate estimates than the original VAR model, when outliers are present. This conclusion holds for both the model parameters, and commonly used metrics including IRF and FEVD. Also, robust VAR models demonstrate desirable asymptotic consistency and efficiency, when the sample size increases. Nevertheless, the performances of RVAR.L and RVAR.M are fairly similar, such that no estimator overall dominates the other.

Scenarios without outliers
We now investigate the scenarios without large outliers that are manually created. The original VAR model is expected to be adequate in such cases, and it is of interest to explore the relative performance of the robust counterparties.
The results of Σ are summarized in Table 3. Even for a small sample size, the absolute bias is reasonably small and close to 0 across all models. It can be concluded from SEs that the estimation efficiency only marginally differs across small and large cross-sectional correlations in errors. Further, all models demonstrate desirable asymptotic behaviour, as both absolute bias and SE consistently reduce when T increases to 500. Comparing these three models, the original VAR (RVAR.L) model produces the smallest (largest) SE when T = 100. Despite this, such differences are much indistinguishable when T = 500. Also from Table 3, much identical conclusions can be drawn for the estimated auto-regressive matrix A.
In Table 4, we present RMSEs of IRF and FEVD of these three models when no outliers exist in the simulated data. Our observation is consistent with that of the residual covariance matrix. Therefore, when no outliers are present, we conclude that for both the model parameters and related metrics, robust VAR models produce much similar results to the original VAR (the true model). It is worth noting that for a small sample size, RVAR.L may be relatively less efficient, compared to the RVAR.M model when estimating VAR parameters, IRF and FEVD. The difference, however, is almost indistinguishable for a moderately large sample size. This indicates the asymptotic equivalence in the efficiency for RMLTS and multivariate MM-estimators.

Empirical analysis
In this section, we compare the robust and original VAR models using daily realized volatilities of six safe haven asset prices over July 2017-June 2020. The investigated assets are futures of gold (XAU), silver (XAG), Brent oil (BRE) and West Texas Intermediate oil (WTI) and currencies of Swiss Francs (CHF) and Japanese Yen (JPY). All prices are measured in the US dollars. All empirical data are sourced from the Thomson Reuters Tick History. The daily volatility is calculate as the root of summation of squared hourly close prices. Section 4.1 provides an overview of the data, and Sect. 4.2 presents a comprehensive analysis using the original and robust VAR models.

An overview of the data
The logged daily volatilities over the full sample period are presented in Fig. 2. Despite differences in scales, it can be seen that all series are at stable levels until early-2020. Due to the impact of the recent COVID-19 pandemic, all the six assets demonstrate growing volatilities in roughly March 2020. The high levels of uncertainty do not last long, and volatilities return to more normal levels by the end of June 2020. In terms of the abnormal observations, the historical-writing negative price of WTI does lead to large outliers over April 20-22, 2020. For instance, after taking logs, the largest volatility (at around 6) is still almost 10 times larger than the sample mean for WTI (at around 0.59). Thus, as evidenced in Sect. 3, the original VAR model may produce inaccurate estimates when employed to make inferences. Descriptive statistics of the investigated data are presented in Table 5. In addition to the full sample period, we consider July 2017-February 2020 (without outliers) and March 2020-June 2020 (with outliers). For the full period, it can be seen that currencies are the least volatile sequences, with the smallest level of uncertainty in volatilities, as measured by the standard deviation. Oils, however, are the most volatile assets with the largest level of uncertainty in volatilities. Due to the existence of outliers in end-April 2020, many sample descriptive statistics exhibit unusual values. The skewness and kurtosis of WTI, for instance, largely deviate from 0 and 3, respectively. Much consistent conclusions are drawn, when the period of March 2020-June 2020 is investigated, despite differences caused by sample sizes. In comparison, when the period without outliers is considered, uncertainty measured by the standard deviation is at similar levels for the six assets. Skewness is not too far from 0, and kurtosis is reasonably close to 3.
Based on the above observations, the full sample period is employed as baseline results of this paper. The two sub-periods are used for further analyses. Those include the comparison of original and robust VAR models without outliers and the potential structural changes in VAR metrics. The examined data are fitted by each of the three models individually, with p chosen using the (robust) BIC. This table presents descriptive statistics of the daily logged volatilities of spot prices of WTI oil (WTI), Brent oil (BRE), gold (XAU), silver (XAG), exchange rates of USD/CHF (CHF) and exchange rate of USD/JPY (JPY) over three periods: July 2017-June 2020, July 2020-February 2020, and March 2020-June 2020. Std. Dev. is the standard deviation. Q 1 and Q 3 are the first and third quartiles, respectively. Skew. is the skewness. Kurt. is the kurtosis

Estimation results
In this section, we discuss and contrast empirical findings of the model parameters ( Σ), IRF and FEVD over different sample periods and across the original and robust VAR models. Some implications of our empirical results are further discussed.

Model parameters
As discussed in Sect. 2, the presence of outliers can largely impact the accuracy in parameter estimation using the original VAR model. To illustrate this, we present Σ in Table 6. 4 We firstly focus on the full sample. It can be observed that all covariances (off-diagonal elements of Σ) are positive, suggesting the expected co-movements of those popular safe haven assets. Moreover, consistent in all models, we can infer that the corresponding correlations of pairs of precious metal (at around 0.76), oils (at round 0.85), and currencies (at round 0.6) are larger than cross-assets correlations. Roughly speaking, those between precious metal and currencies, previous metal and oils, and oils and currencies are at round 0.4, 0.2 and 0.15, respectively. Despite the closeness in estimating correlations, the estimated Σ differ substantially when contrasting the original and robust VAR models. For instance, according to VAR, the estimated variance of errors in WTI is 0.156, which is roughly 40% larger than 0.111 and 0.115 produced by the RVAR.L and RVAR.M models, respectively. This difference may result in non-negligible deviation when calculating IRF and FEVD that are correspondent to WTI errors.
In contrast, when the normal period of July 2017-February 2020 is examined, only marginal differences are observed between the original and robust VAR models. This is consistent with our observation in Sect. 3.3, such that VAR, RVAR.L and RVAR.M produce much identical results when outliers are not present. For a shorter period including outliers, compared to the full sample, larger differences can be seen for data covering March 2020-June 2020. More specifically, the estimated variance of WTI error is 0.316 by VAR, which is over two times larger than those by RVAR.L (0.087) and RVAR.M (0.099). It is also worth noting that the estimated correlation between WTI and BRE errors reduces to 0.61 by VAR, whereas RVAR.L and RVAR.M still suggest estimates at around 0.85. Last but not least, contrasting diagonals (variances) of Σ for RVAR.L or RVAR.M over the two sub-sample periods, only marginal differences are observed in most cases. This might suggest no structural changes across the two examined periods in terms of the model estimation. Deeper and more comprehensive analyses are performed for IRF and FEVD in subsequent sections.

IRF and FEVD
As explained in Sect. 2, IRF measures the response of one sequence to the change of certain orthogonal shocks. Among the examined safe haven assets, since only WTI exhibits large outliers, it is of interest to examine the IRFs of all sequences to changes of WTI shocks. 5 We firstly present our baseline results of the full sample. IRFs of the six sequences corresponding to WTI shocks are plotted in Fig. 3 up to 21 steps. 6 To statistically compare the differences across employed models, we also provide the 95% bootstrap confidence intervals (CIs) using 1000 replicates. 7 Recall that from Table 6, errors of WTI are strongly correlated with those of BRE, whereas the correlations between shocks of WTI and precious mental (currencies) are moderate (weak). From Fig. 3d, it can be seen that the contemporary orthogonal shock to WTI volatility is around 20% and 15%, estimated by the original and robust VAR models, respectively. As a response to this shock, BRE increases persistently, XAU and XAG are influenced only in at least one week, and currencies are not significantly affected. In terms of the magnitudes of changes, estimated IRFs (suggested by point estimates) of the original VAR model are almost uniformly higher than those of robust VAR models. Consistently with observations in Table 6 such that VAR estimates a larger variance of WTI shocks, 5 Note that due to the feature of Cholesky decomposition, IRF and FEVD may depend on the order of series in a VAR system. In this paper, the six assets are included in the order of XAU, XAG, BRE, WTI, CHF and JPY. We also consider other orders, such as ranking WTI first or last, and the results are consistent and available upon request. 6 As a widely employed criterion, we assume that there are 252 trading days in each year, equivalent to 21 trading days in one month. Thus, 21 steps measure the responses up to one month for the daily data. 7 The bootstrap replicates are generated following the ordinary residual-based procedure. Specifically, bootstrap residuals are sampled with replacement from the original residuals. Bootstrap replicates are then equal to the summations of fitted values using the model based on original sample and bootstrap residuals. The 95% CIs consist of the corresponding 2.5% and 97.5% percentiles of an interested measure produced out of all bootstrap replicates.

Table 6
Estimated residual statistics CIs of VAR are much wider than those of RVAR.L and RVAR.M. This indicates the potential inefficiency of the original VAR model, when outliers are present in the dataset. Using the more efficient CIs of robust VAR models, it can be seen that IRFs estimated by the original VAR are significantly above those of the RVAR.L and RVAR.M for XAU and XAG over steps of 6 or above, and for BRE and WTI over steps of 1 or above. For instance, with a one-unit-standard-deviation change in the orthogonal shock of WTI, volatilities of XAU and XAG significantly increase by around 1% (2%) at step 6, according to the robust (original) VAR models. Also, RVAR.L and RVAR.M suggest that the maximum IRF of BRE to WTI is slightly above 3% at step 3, whereas that indicated by VAR is 7% also at step 3. Such significant differences may be attributed to large outliers of WTI over April 20-22, 2020 (Fig. 1).
Other than those larger outliers, from Fig. 2, we do observe relatively higher volatility levels after March 2020 than those over July 2017-February 2020. Consequently, one may question if IRFs have experienced structural changes over the two subsamples. If this is indeed the case, the uni-regime modelling framework examining the full sample might be problematic. However, due to the existence of larger outliers, results of the original VAR model are less reliable to investigate those potential structural changes. Therefore, we employ RVAR.L and RVAR.M for this aim. More specifically, we present point and interval estimates of IRFs over March 2020-June 2020 in Fig. 4. The point estimates of IRFs over July 2017-February 2020 are also plotted in the same figure. It can be seen that in all cases, point estimates of the first subsample consistently fall in CIs produced using the second subsample. This suggests that the sequence-specific IRFs over the two periods are statistically equivalent, and structural changes in IRFs may not exist. Nevertheless, it is worth noting that the widths of CIs produced by RVAR.L are wider than those of RVAR.M in some cases (e.g. BRE and WTI). Further, we check the validity/reliability of IRFs produced by the robust VAR models over March 2020-June, during which large outliers (over April 20-22, 2020) do exist. Specifically, we explore one modifications for the dataset: observations over April 20-22, 2020 are removed for all sequences. The modified samples are then fitted using the original VAR model. Since there are no abnormal observations in those cases, the results are much more reliable. Consequently, if RVAR.L and RVAR.M are valid in estimating IRF when outliers are present, the results should be comparable to those of the original VAR model using the modified samples. IRFs are plotted in Fig. 5, where VAR is fitted to the truncated data. In this case, we observe that point estimates of VAR fall in CIs of RVAR.L and RVAR.M at most steps across all sequences. Therefore, point estimates of VAR based on modified data are statistically equivalent to those of RVAR.L and RVAR.M for the original subsample, indicating their validity and reliableness.
Finally, we examine FEVD of each asset that is explained by orthogonal shocks of WTI. Consistent with IRF, steps up to 21 are considered, and we firstly discuss results of the full sample, which are presented in Table 7. Recall as defined in (4), FEVD is fully determined by estimates of variances of orthogonal shocks and IRFs. Thus, many of observations are similar to those of IRFs as described above. For instance, WTI shocks do not seem to explain much forecast errors of volatilities for currencies. Also, the original VAR model suggests that forecast errors of WTI volatility may be explained by its own orthogonal shocks at roughly 29% at step 1, with quite persistent magnitudes over subsequent steps. However, the RVAR.L and RVAR.M counterparties are 50% smaller and around 18% at step 1. Although still persistent, those FEVDs reduce to around 14% at step 20. Similarly, FEVD of BRE volatility to WTI shocks is around 10% according to the original VAR model, but is only 3% as estimated by RVAR.L and RVAR.M. Another distinct difference is the FEVD of precious metal. The original VAR implies that up to 2% proportion of forecast errors of XAU and We now compare the two subsamples. FEVDs over July 2017-February 2020 are reported in Table 8, and those over March 2020-June 2020 are presented in Table 9. When there are no abnormal observations, we observe that the original and robust VAR models lead to much consistent results for data covering July 2017-February 2020. This suggests the reliability of RVAR.L and RVAR.M for data without outliers. For the second subsample (March 2020-June 2020), the original VAR argues that around 17% and 60% forecast errors of BRE and WTI volatilities can be persistently explained by WTI shocks. Those, again, are much greater than the robust counterparties, which are around 5% and 24% for BRE and WTI volatilities, respectively. Nevertheless, when following the approach analyzing IRF to discuss potential structural changes, FEVDs explained by WTI shocks do not significantly differ across the two subsamples. Taking the FEVD of WTI itself at step 1 as an example, the lower bound of 95% bootstrap CI of RVAR.L is 16.7% over March 2020-June 2020, smaller than the point estimate of 18.7% over July 2017-February 2020. 8 Additionally, to check the validity of robust VAR results, we follow the strategy employed above and examine the two modified samples. The estimated FEVD using the original VAR model based on truncated sample over March 2020-June 2020 are reported in Table 10. It can be seen that those new results are largely consistent with robust estimates presented in Table 9, especially at larger steps. Therefore, the estimates of RVAR.L and RVAR.M models are expected to be reliable, and further inference can be made based on results of those methodologies.

Additional results and illustrative empirical implications
We now explore IRF and FEVD corresponding to the XAU and CHF shocks. 9 The aim is to compare IRF and FEVD caused/explained by shocks of the precious mental futures and currencies to those of the oil shocks. IRFs caused by XAU and CHF shocks are plotted in Figs. 6 and 7, respectively. Although no abnormally large outliers are observed for the logged XAU volatility, we observe that IRFs estimated by the original VAR are significantly larger than those robust counterparties. This conclusion holds at most steps of IRFs for XAU, XAG, BRE and WTI to shocks of XAU. In contrast, IRFs to CHF shocks across different models are statistically equivalent. This may be explained by the moderate (weak) correlations between XAU and WTI (CHF and WTI), as discussed above. Similarly, in Tables 11 and 12, we present FEVD explained by XAU and CHF shocks, respectively. Compared to the robust VAR models, it seems that the original VAR model overestimates the forecast errors explained by XAU shocks for the oil volatilities. For instance, FEVDs of BRE and WTI explained by XAU shocks are 15% (7%) at longer steps, as estimated by the original (robust) VAR model. FEVDs of other assets explained by XAU shocks and FEVDs of all assets explained by CHF shocks do not substantially vary across the original and robust VAR models. The above results implies critical importance of the application of robust VAR analyses in operational practices. For instance, if one were to perform the original VAR analysis, the interaction between precious mental and oil futures may be overly stated. Consequently, inappropriate operational decisions could be made based on such analysis. For example, estimated impacts of XAU shocks on oil futures are upwardly biased. As a result, one may improperly adjust weights of oil futures in the portfolio, to hedge potential risks when a large XAU shock occurs. Such an action will likely lead to unwanted and/or ineffective risk mitigation results and cause unexpected loss.
We now compare robust IRFs caused by XAU, WTI and CHF, as described in above sections. It implies that orthogonal shocks of currencies cannot significantly increase volatilities of precious metal and oil futures. In contrast, orthogonal shocks of precious mental and oil futures can significantly influence each other, and those of XAU can significantly increase uncertainties of all safe haven assets. Also, significant responses to one-unitstandard-deviation shock of XAU are overall much larger than those to WTI and CHF shocks. Nevertheless, both IRF and FEVD suggest that changes in XAU may influence the precious mental futures and currencies more than the oil futures. Implications may also be related to the construction of portfolios. For example, XAU is still among the top allocations of safe havens (Baur & McDermott, 2016;Elie et al., 2019;Ji et al., 2020) in hedging risky assets such as the equity shares. If only safe haven assets were available to further mitigate risks of the idiosyncratic volatility of XAU, oil futures may be a more appropriate choice over currencies.

Concluding remarks
This paper discusses the importance of employing robust vector autoregressive (VAR) models in the classic multivariate time series analysis with the presence of outliers. We focus on estimation consistency and efficiency of the residual variance-covariance (Σ) and popular metrics including the impulse response function (IRF) and forecast error variance decomposition (FEVD). Throughout this paper, two popular robust estimators: the reweighted multivariate least trimmed squares, or RMLTS, and multivariate MM-estimators are employed. The resulting robust VAR, or RVAR.L and RVAR.M models, are therefore adopted to illustrate the advantages of robust methodology over the classic ordinary least squares (OLS). Further, to select the appropriate number of temporal lags, we develop three robust counterparties of the popular Akaike information criterion (AIC), Bayesian information criterion (BIC) and Hannan-Quinn criterion (HQC).
In the simulation study, we show via various scenarios that while the investigated robust VAR models lead to rather similar results as the ordinary VAR in the absence of outliers, they produce much more accurate estimates in the presence of additive outliers. This conclusion holds for the inspected Σ, IRF and FEVD. Therefore, both RVAR.L and RVAR.M could be appealing alternatives to the original VAR model, when performing multivariate time series analysis and making relevant inferences.
Our empirical study is the first to examine the six popular safe haven assets considering the recent impacts of COVID-19 pandemic and the history-writing abnormal drops of the West Texas Intermediate (WTI) oil future. Specifically, the six assets include futures of gold (XAU), silver (XAG), Brent oil (BRE) and WTI oil and currencies of Swiss Francs (CHF) and Japanese Yen (JPY), all measured in US dollars. The daily realized volatilities over July 2017-June 2020 are examined. We find that the ordinary VAR model is severely influenced by large outliers (potentially over April 20-22, 2020) of WTI volatilities, and may produce overestimated variances of WTI residuals, and IRF and FEVD caused/explained by the orthogonal WTI shocks, compared to the robust VAR models. Further, when contrasting subsample results over July 2017-February 2020 (without outliers) and March 2020-June 2020 (with outliers) produced by RVAR.L and RVAR.M, we do not observe significant  structural changes for IRF and FEVD corresponding to WTI shocks. Additionally, when the subsample of March 2020-June 2020 is modified to remove the impacts of outliers, the original VAR model provides statistically equivalent results to those of the robust VAR models based on the unmodified sample. Consequently, the validity and reliability of RVAR.L and RVAR.M to fit the full sample containing outliers are verified. Apart from WTI shocks, we further analyze IRF and FEVD related to XAU and CHF shocks. Our findings include significant 'interdependence' of the precious mental and oil futures (can impact each other), and 'isolation' of the currencies (cannot affect other assets). Also, orthogonal shocks of XAU are able to significantly influence volatilities of all examined safe haven assets. Therefore, critical empirical implications can be drawn. For instance, among the inspected safety assets, oil futures are more appropriate than currencies to mitigate risks of the idiosyncratic volatility of XAU. It is worth noting some limitations of the proposed methods. For instance, those RVAR models might not be appropriate under the cellwise contamination (i.e., fully independent contamination model). In practice, this may occur when high volatility exists in some of assets at different periods. The reason why those RVAR models might not work well under this circumstance is that the breakdown point of affine equivariant estimators will decrease with the number of variables. A robust methodology which is designed for the fully independent contamination model remains for future works. Other future studies may consider extensions of the robust techniques in other contents. For instance, the seminal work of Primiceri (2005) discusses a time-varying VAR model and its application in examining monetary policies. Such a dynamic framework may also be constructed with all samples using time-varying weights (e.g., determined by a kernel method). As a result, without a robust methodology, the ordinary measure may suffer everlasting influences of a single outlier during the entire dynamic process. Extending the RMLTS and multivariate MM-estimators to those timevarying cases is therefore of critical importance for empirical analyses. Further, other robust estimators, including the Generalized S-estimator (Croux et al., 1994) and the Generalized M-estimator (Coakley & Hettmansperger, 1993), could be used to construct the robust VAR models that can be contrasted with RVAR.L and RVAR.M. In addition, this work focuses on the robust VAR to deal with the additive outliers, while robust methods that reduce the propagation effect from innovational outliers discussed in Muler (2013) and Muler et al. (2009) can be further investigated. Last but not least, the robust methods investigated in this paper focus on the case where the dimension of data N is relatively small and fixed. More recently, the case of high-dimensional scaling, in which the dimension N may increase to infinity with the sample size T , has become a popular area in time series analysis. The proposed models are therefore infeasible under such scenarios. To address this, recent studies have employed dimensionality reduction technique in the estimation (see, for example Qiu et al. 2015;Liu and Zhang 2021;Wang and Tsay 2021). It is of interest to extend those works to examine the effectiveness in estimation of IRF and FEVD, which are critical to empirical financial research. Those potential pathways remain for future works.