EconBase
← Back to paper

Forecasting Large Realized Covariance Matrices: The Benefits of Factor Models and Shrinkage

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

82,559 characters · 24 sections · 36 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Forecasting Large Realized Covariance Matrices: The Benefits of Factor Models and Shrinkage

\doublespacing

abstractWe propose a model to forecast large realized covariance matrices of returns, applying it to the constituents of the S&P 500 daily. To address the curse of dimensionality, we decompose the return covariance matrix using standard firm-level factors (e.g., size, value, and profitability) and use sectoral restrictions in the residual covariance matrix. This restricted model is then estimated using vector heterogeneous autoregressive (VHAR) models with the least absolute shrinkage and selection operator (LASSO). Our methodology improves forecasting precision relative to standard benchmarks and leads to better estimates of minimum variance portfolios. Keywords: Realized covariance, factor models, shrinkage, Lasso, machine learning, forecasting, portfolio allocation, big data.

Introduction

This paper aims to construct models based on economically motivated factor decompositions and shrinkage methods to forecast large-dimensional, and time-varying realized measures of daily covariance matrices of returns on financial assets. Realized measures of a covariance matrix are estimates, based on intraday returns, of the integrated covariance matrix of a multivariate diffusion process. One example of such an estimator used in this paper is the composite realized kernel method recently introduced by lunde2016econometric. Our proposed model is evaluated in terms of its forecasting ability and, more importantly, several performance measures in a conditional mean-variance portfolio allocation problem.

Modeling and forecasting the covariance matrix of financial assets are essential for portfolio allocation and risk management. Moreover, it is an established empirical fact that (conditional) covariance matrices vary considerably over time. A natural way to model such dynamics is to either use multivariate generalizations of the ARCH/GARCH family of models, as proposed by BEEK1995 or EngleDCC2002, or model directly a given realized measure of the covariance matrices by usual multivariate time-series models, as in Bauer2011, Chiriac2011 or golosnoy2012conditional. This is motivated by the close connection between the conditional covariance matrix and the integrated covariance of a multivariate diffusion process.

However, when the number of assets increases, the amount of parameters to be estimated becomes very large. For instance, for a covariance matrix of $N$ assets, there are $N(N+1)/2$ distinct entries to be modeled. If a vector autoregressive specification of order $p$, VAR($p$), is used, then the total number of parameters will be $(N+1)(p+1)/2$. Therefore, the curse of dimensionality precludes the application of the above-referenced methods to moderately large covariance matrices, and most of the previous studies in the literature focused on sets of less than ten assets.

More recently, based on the advances of modern statistical tools to handle high-dimensional models, new alternatives have been proposed in the literature to address a large number of assets. callot2017modeling advocate the use of the least absolute shrinkage and selection operator (LASSO) of tibshirani1996regression and the adaptive LASSO of zou2006adaptive to model the dynamics of the realized covariance of the constituents of the Dow Jones index by a large dimensional VAR model. However, their modeling strategy cannot handle sets of assets much larger than the 30 used in their paper. engle2017large combine nonlinear shrinkage with the DCC-GARCH model and put forward a methodology in which the dynamics of large latent conditional covariance matrices can be modeled. Their approach makes the estimation of multivariate GARCH-type models feasible even in large-dimensional cases. Nevertheless, the authors did not consider realized measures in their models.

In this paper, we propose a method that can be applied to a large set of assets with the difference that we consider realized covariance measures rather than latent ones, as in engle2017large. However, it is important to highlight that our method relies on realized measures of the integrated covariance matrix. Although our methodology can be applied to thousands of assets, illiquid assets may cause severe problems for the integrated covariance matrix estimation. For instance, although the estimator by lunde2016econometric, which is used in this paper, is scalable as it is composed of 2x2 matrix estimates, an illiquid stock will cause a poor estimate of that stock’s covariance with other stocks. Nevertheless, the estimates of covariances between other liquid stocks will not be affected.

We provide empirical evidence that our proposed model drastically improves the forecasting ability and produces portfolios with better performance measures. We apply our model to some of the constituents of the S&P 500 using daily information on the realized covariance matrix. The models based on our framework can improve the forecasts' quality compared to the random walk benchmark by reducing the $\ell_2$-forecast error in 15%. On the other hand, models based on latent volatility are the worst-performing specification regarding forecasting ability. Furthermore, our models deliver a significant reduction in the volatility of minimum variance portfolios, as the annualized standard deviation of returns declines by more than 25% relative to the second-best alternative in the literature and to nearly 40% versus the random walk alternative. We also observe a decline in realized portfolio risk when considering longer investment horizons of up to one month and when we introduce portfolio constraints.

Our model applies a methodology similar to callot2017modeling to the elements of the factor decomposition of realized covariance matrices. Hence, the daily covariance matrix of returns is first written into a covariance matrix for a low-dimensional set of factors plus an idiosyncratic covariance matrix that is (almost) block diagonal. We consider economically motivated factors widely used in the finance literature based on firm-level characteristics such as size, value, and profitability. The dynamics of the variances and covariances of the factors are modeled by a VHAR model estimated with LASSO. To guarantee positive definiteness of the forecasts, we apply the log matrix transformation of chiu1996matrix. The daily factor loadings (“betas”) are computed with high-frequency data. We show that these loadings are time-varying and exhibit a high degree of long-range dependence, and we model their dynamics by a HAR specification. Finally, the dynamics of each block of the idiosyncratic covariance matrix is modeled by a restricted autoregressive model, also estimated by LASSO.

In this paper, we do not address the interesting challenges involved in the construction of realized measures (e.g., how to address microstructure noise), especially in the multivariate case (e.g., asynchronicity in transactions of different assets, which bias covariance estimations toward zero). We focus solely on modeling and forecasting a large realized covariance matrix of returns on hundreds of financial assets estimated elsewhere.

The remainder of the paper is organized as follows. Sections (ref) and (ref) describe the proposed model and forecasting framework. In Section (ref), we present the data and show a descriptive analysis. Forecasting results and portfolio analysis are presented, respectively, in Sections (ref) and (ref). Finally, Section (ref) concludes the paper. Supplementary results are shown in the Appendix.

Model

We base our methodology on the fact that realized covariance matrices are highly persistent over time, which suggests the use of an autoregressive model of a large order $p$, usually larger than 20. Defining $\boldsymbol y_{t}=\textnormal{vech}(\boldsymbol\Sigma_{t})$, where vech is the half-vectorization operator returning a vector with the unique entries of $\boldsymbol\Sigma_{t}$, one possible specification is

equation[equation omitted — 157 chars of source]

where $\boldsymbol\epsilon_{t}$ is zero-mean random noise.

While this model is sensible for a small number of assets, the number of parameters grows quadratically as new assets are added (curse of dimensionality). To circumvent this limitation, callot2017modeling propose using penalized regressions (LASSO) to address the large number of parameters. However, the direct use of penalized regressions is unfeasible for hundreds of assets.

To illustrate, assume that the representation in ((ref)) is used to model the covariance matrix for the constituents of the S&P 500 index\footnote{In our application, we restrict the analysis to stocks that remain in the index for the entire period of our sample. This reduces the number of stocks to 430. Regarding the number of equations and potential predicting variables, our problem is still subject to the curse of dimensionality on the same order of magnitude as the illustration.} with 10 lags, that is, $p=10$. Since each matrix $\boldsymbol\Sigma_{t}$ has $N(N+1)/2$ unique entries, this configuration would result in $125,250$ equations with $10\times 125,250$ variables each, plus constants. In this case, estimation is unfeasible even with LASSO.

To reduce the dimensionality to a manageable one, we propose the use of a factor model as well as economic restrictions based on sector classifications and penalized regressions.

Factor Model

Following the factor model discussed in chamberlain1983arbitrage, the excess return on any asset $i$, denoted $r_{i,t}$, satisfies

equation[equation omitted — 163 chars of source]

where $f_{1,t},\cdots, f_{K,t}$ are the excess returns of $K$ factors, $\beta_{ik,t}$, $k=1,\ldots, K$, are factor loadings for asset $i$, and $\varepsilon_{i,t}$ is the idiosyncratic error term. Note that the factor loadings are allowed to be variable over time. For $N$ assets, the set of equations can be written in matrix form:

equation[equation omitted — 129 chars of source]

where $\boldsymbol B_{t}$ is a $K \times N$ matrix of loadings, $\boldsymbol r_{t}$ is an $N \times 1$ vector of excess returns, and $\boldsymbol\varepsilon_{t}$ is an $N \times 1$ vector of idiosyncratic errors. Throughout, we assume that $\mathbb{E}(\boldsymbol\varepsilon_{t}|\boldsymbol f_{t})=\boldsymbol 0$. The factors used in this work are linear combinations of returns constructed solely with the assets considered here, i.e., long-short stock portfolios where stocks that are part of our sample are sorted on firm characteristics. In matrix form, for all $K$ factors,

equation[equation omitted — 382 chars of source]

where weights are calculated based on accounting and market information, as we describe in Section (ref).

Covariance Decomposition

This section describes how we decompose the realized covariance matrix of returns for all assets into a factor covariance matrix and a residual covariance matrix. Let $\boldsymbol\Sigma_{t}$ denote the realized covariance matrix of returns at time $t$, that is, $\boldsymbol \Sigma_{t} =\textnormal{cov}(\boldsymbol r_{t})$. By using equation ((ref)) and the assumption $\mathbb{E}(\boldsymbol \varepsilon_{t}|\boldsymbol f_{t})=\boldsymbol 0$, we have

equation[equation omitted — 273 chars of source]

where $\boldsymbol B_{t}$ is a $K \times N$ matrix of loadings of $N$ assets on $K$ factors, $\boldsymbol\Sigma_{f,t}$ is the $K \times K$ factor covariance matrix and $\boldsymbol\Sigma_{\boldsymbol\varepsilon, t}$ is the $N \times N$ residual covariance matrix, all at time $t$. Since each factor is a linear combination of returns, factor covariance matrices can be obtained by using equation ((ref)) and the known values of $\boldsymbol\Sigma_{t}$, that is,

equation[equation omitted — 176 chars of source]

Factor loadings $\boldsymbol B_{t}$ are calculated using a similar procedure (see Appendix (ref)), and the values of $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}$ are simply given by the difference $\boldsymbol\Sigma_{t}-\boldsymbol B_{t}'\boldsymbol \Sigma_{f,t}\boldsymbol B_{t}$. It is common to assume that $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}$ is diagonal, but we will be less restrictive in this work.

Forecasting Methodology

With the decomposition achieved in ((ref)), we write the forecasting equation for the complete covariance matrix $\boldsymbol\Sigma_{t}$ by combining separate forecasts of $\boldsymbol B_{t}$, $\boldsymbol\Sigma_{f,t}$, and $\boldsymbol\Sigma_{\boldsymbol\varepsilon, t}$. That is,

equation[equation omitted — 215 chars of source]

Forecasting $\boldsymbol\Sigma_{f,t}$

Since the number of factors is much smaller than the number of assets, one could propose using an unrestricted VAR model for the factor covariance matrix dynamics, as in equation ((ref)). Despite the reduction in dimensionality achieved by using a factor model, the number of parameters in this configuration is still quite large (note that each equation would have $K(K+1)/2+1$ parameters). To reduce this number to a more manageable one, we follow the heterogeneous autoregressive (HAR) model proposed by corsi2009simple. In this model, the predictors are obtained from the simple average of daily data computed for different horizons (daily, weekly, and monthly). In our case, daily, weekly, and realized covariance matrices of factors are given by, respectively,

equation[equation omitted — 385 chars of source]

where $\boldsymbol y_{f,t}=\textnormal{vech}(\boldsymbol\Sigma_{f,t})$, $\boldsymbol y_{f,t}^{day}=\textnormal{vech}(\boldsymbol\Sigma_{f,t}^{day})$, $\boldsymbol y_{f,t}^{week}=\textnormal{vech}(\boldsymbol\Sigma_{f,t}^{week})$, and $\boldsymbol y_{f,t}^{month}=\textnormal{vech}(\boldsymbol\Sigma_{f,t}^{month})$. Furthermore, the dynamic process for $y_{f,t}$ is defined as

equation[equation omitted — 263 chars of source]

where $\boldsymbol\Phi_{day}$, $\boldsymbol\Phi_{week}$, and $\boldsymbol\Phi_{month}$ are $M \times M$ matrices, where $M=K(K+1)/2$ is the number of unique entries on the factor covariance matrix. $\boldsymbol\omega$ is an $M\times 1$ vector of constants.

LASSO and adaLASSO

Due to the high number of parameters in equation ((ref)), direct estimation with ordinary least squares (OLS) could result in overfitting, harming the precision of model forecasts. LASSO shrinks these estimates by imposing a penalty related to the magnitude of the coefficients, shrinking them towards zero (tibshirani1996regression). This methodology has been shown to almost always provide a higher out-of-sample forecasting precision, while the reduced number of predictors makes interpreting the model easier.

We estimate ((ref)) equation by equation. Consider a sample size of $T$, and let $\boldsymbol{Z}_{t} = \left(1, \boldsymbol{y}_{f,t-1}^{day'},\boldsymbol{y}_{f,t-1}^{week'},\boldsymbol{y}_{f,t-1}^{month'}\right)'\in\mathbb{R}^{3m + 1}$ be the vector of explanatory variables and $\boldsymbol Z=(\boldsymbol Z_{T},\ldots,\boldsymbol Z_1)'$ be the $T \times (3m+1)$ matrix of covariates. Let $\boldsymbol y_{f,i} = (y_{f,T,i},\ldots, y_{f,1,i})'\in\mathbb{R}^T$ be the vector of observations on the $i$th equation of ((ref)), $i=1,\ldots,M$, and $\boldsymbol\epsilon_{f,i}=(\epsilon_{f,T,i},\ldots,\epsilon_{f,1,i})'$ be the corresponding vector of error terms. With $\boldsymbol \gamma_{f,i}=(\omega_{i},\boldsymbol\beta_{i}')'$ being the $3M+1$ vector of true parameters for equation $i$, one can write

equation[equation omitted — 123 chars of source]

where each vector $\boldsymbol\gamma_{f,i}$ is then estimated by minimizing

equation[equation omitted — 205 chars of source]

The penalty parameter $\lambda_{T}$ determines how much penalization is imposed on the size of the coefficients. In our setup, the value of $\lambda_{T}$ is determined by minimizing the Bayesian information criterion (BIC). For equation $i$ and penalty parameter $\lambda$, the BIC is given by

equation[equation omitted — 245 chars of source]

where $\widehat{\boldsymbol\epsilon}_{\lambda,i}$ is the estimated vector of error terms for penalty $\lambda$.

After obtaining $\widehat{\boldsymbol\gamma}_{f,i}$ from equation ((ref)), the one-step-ahead forecast is given by

equation[equation omitted — 138 chars of source]

which can be used to provide $\widehat{\boldsymbol \Sigma}_{f,T+1}$.

We also consider the adaptive version of LASSO (adaLASSO), as in zou2006adaptive. adaLASSO is a two-step procedure that estimates the model via LASSO in the first step and excludes the variables classified as zero from the second step. The second step estimates the parameters with a slightly modified objective function that considers the size of the parameters estimated in the first step. To illustrate, consider the set of indices of the coefficients in the $i$th equation that are different from zero in the first step: $J(\widehat{\boldsymbol\beta}_{i})=\{j \in R^{3M}: \widehat{\beta}_{i,j} \neq 0\}$. adaLASSO estimates the vector of parameters $\boldsymbol\gamma_{f,i}$ by minimizing the following objective function:

equation[equation omitted — 250 chars of source]

As before, the penalty parameter $\lambda_T$ is chosen by minimizing the BIC, and the one-step-ahead forecasts are computed as in equation ((ref)).

Forecasting $\boldsymbol B_{t}$

Instead of using unconditional loadings on factors, we assume that betas change daily and have long-range dependence. In Appendix (ref), we show the distribution of the estimates of the fractional integration parameter for the beta series. The results show that these series present high persistence, similar to what is observed in realized covariance data. Based on this evidence and to maintain consistency with the rest of our methodology, we forecast each series of betas using HAR models. For each element of $\boldsymbol B_{t}$, we have

equation[equation omitted — 221 chars of source]

where $\beta_{k,i,t}$, the entry $k\times i$ in the matrix $\boldsymbol B_{t}$, is the loading of stock i on factor k at date t. We estimate the coefficients $\Phi_{day}$, $\Phi_{day}$, and $\Phi_{day}$ by OLS.

Forecasting $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}$

Since the residual covariance matrix dimension is $N \times N$, the curse of dimensionality remains a concern when forecasting $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}$. A factor model may not explain all the covariances between assets depending on the number and choice of factors, implying the covariance matrix of the residuals is not diagonal. Instead of imposing the common restriction that $\boldsymbol\Sigma_{\boldsymbol\varepsilon_,t}$ is diagonal (as in fan2008high), we consider a less restrictive assumption that stocks in the same sector may still co-vary even after controlling for the standard factors used in the finance literature.

We assume that $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}$ is block diagonal, where blocks are defined by industry classification. After controlling for factor exposure, we assume there is no contemporaneous correlation between assets in different sectors. We argue that this assumption is not too strong in Section (ref), where we analyze residual correlations between stocks in different sectors.

We assume that each asset belongs to an industrial sector $s$, where $S$ is the total number of sectors and $S << N$. Without loss of generality, we can order assets so that the residual covariance matrix has sector covariance matrices near its diagonal:

equation[equation omitted — 216 chars of source]

Depending on the selected industry classification, the number of assets in each group $s$ (called $N^{s}$) can still be quite large, as each block has $M^{s}=N^{s}(N^{s}+1)/2 $ unique elements.

Our second assumption is that the dynamics of each block $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}^{s}$ depend only on the elements of the same block at $t-1$, i.e., only $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t-1}^{s}$ predict values in $\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}^{s}$. To further simplify this model, we also consider an additional restriction that only past variances matter in this prediction. This last assumption relies on the previous evidence in callot2017modeling that LASSO more frequently selects past variances as good predictors of covariance and variance terms than past covariances.

With the notation $\boldsymbol y_{\epsilon,t}^{s}=\textnormal{vech}(\boldsymbol\Sigma_{\boldsymbol\varepsilon,t}^{s})$, we have

equation[equation omitted — 265 chars of source]

where $\boldsymbol\omega_{\boldsymbol\varepsilon}^{s}$ is an $M^{s} \times 1$ vector of intercepts, $\boldsymbol\Phi^{s}$ is an $M^{s} \times N^{s}$ matrix of coefficients, $\boldsymbol\Lambda_{\boldsymbol\varepsilon,t-1}^{s} = \mathsf{diag}(\boldsymbol\Sigma_{\boldsymbol\varepsilon,t-1}^{s})$ is an $N^{s} \times 1$ vector of past variances, and $\boldsymbol u_{\boldsymbol\varepsilon,t}^{s}$ is the vector of errors.

The parameter estimation is done block by block. Each equation in ((ref)) is estimated separately. The procedure is the same as used for the factor covariance matrix model: LASSO/adaLASSO regression equation by equation. We then regroup the one-day ahead forecast for each group, $\widehat{\boldsymbol\Sigma}_{\boldsymbol\varepsilon, T+1}^{s}$, to form the full residual covariance matrix forecast $\widehat{\boldsymbol\Sigma}_{\boldsymbol\varepsilon, T+1}$.

Data and Descriptive Analysis

Realized Return Covariance Matrices

The data consist of daily realized covariance matrices of returns for constituents of the S&P 500 index. These matrices were constructed using 5-minute returns by the composite realized kernel method (discussed in lunde2016econometric and provided by the authors). The full sample comprises all business days between January 2006 and December 2011. We consider companies that remained in the index and had balance sheet data available for the full sample period, resulting in a total of 430 stocks. With these considerations, the dataset consists of 1,495 daily $430 \times 430$ realized covariance matrices of returns.

Data Cleaning

Our sample spans the 2008 financial crisis and flash crashes from 2010 and 2011. To mitigate the effect of these extreme events, we perform a light cleaning on the realized covariance matrices, as in callot2017modeling. For each day, we verify which (unique) entries are more than four standard deviations (of the series corresponding to that entry) away from their sample average up to then. If more than 25% of the unique entries have extreme values according to this criterion, we flag that specific day. We replace the matrices corresponding to the flagged days by an average of the nearest ten preceding non-flagged matrices.

Factors

We construct each factor as the return time series for a long-short stock portfolio derived from individual sorts of underlying stocks on different signals. Since our approach uses the loading matrix $\boldsymbol W$ as an input to calculate factor covariance matrices and factor loadings, we could not use the widely available data on financial factors series of returns (such as on Kenneth French's website). Instead, we construct our versions of the standard factors, ranking our universe of stocks into the different signals to calculate the matrices $\boldsymbol W$ for our sample.

In total, we use seven factors widely used in the finance literature. Besides the market factor, we also consider size (SMB) and value (HML) (fama1993common), gross profitability (novy2013other), investment (lyandres2008new), asset growth (cooper2008asset), and accruals (sloan1996). We report a detailed description of the construction of each factor in Appendix (ref). We use four combinations of factors with one, three, five, and seven factors. They are denoted by 1F (market), 3F (market, size, and value), 5F (3F + gross profitability and investment), and 7F (5F + asset growth and accruals), respectively.

Sector Classification

Each stock is classified into one of 10 sectors, following the Standard Industrial Classification (SIC). Table (ref) shows the number of companies from our sample in each sector. Note that some groups are quite large (the group Others, for instance, has more than 100 stocks). This motivates the use of additional restrictions we discussed in Section (ref).

table[table omitted — 1,045 chars of source]

Residual Covariance Matrices

We analyze the residual covariance matrices for the four different combinations of factors. We use the previous notation, $\boldsymbol\Sigma_{\epsilon,t}= \boldsymbol\Sigma_{t}-\boldsymbol B_{t}'\boldsymbol\Sigma_{f,t}\boldsymbol B_{t}$, for each of the 1,495 days in the sample. To analyze whether these matrices are approximately block diagonal, we follow the procedure discussed in ait2016using. First, we transform the covariance matrices into correlation matrices by dividing the entries by the standard deviations. We classify a correlation as significant if it is higher than 0.15 in absolute value in at least 1/3 of the sample. We then plot the significant relations as dots while the remaining points are blank. Sectors in Table (ref) are represented as red squares (in the same order). Figure (ref) shows the results when we apply the criterion to the full covariance matrices $\boldsymbol\Sigma_{t}$ before the factor decomposition. Most correlations are classified as significant.

figure[figure omitted — 632 chars of source]

When we follow this procedure for the residual covariance matrices (Figure (ref)), we obtain plots that are much more sparse than previously. This means that most correlations are not significant according to the criterion. Furthermore, we can see that most of the dots are contained inside the blocks, meaning that the most significant correlations are between stocks in the same sector. Therefore, we interpret the three plots as evidence that we would not lose much information by assuming block diagonality for the residual covariance matrices. Note that the results are robust across different factor configurations.

figure[figure omitted — 658 chars of source]

Forecasting Results

This section reports the forecasting results obtained using the methodology described in Section (ref). Subsection (ref) shows the forecasting results for $\boldsymbol\Sigma_{f}$, while Subsection (ref) shows the results for the complete covariance matrix $\boldsymbol\Sigma$. Daily forecasts are computed using rolling windows of 1,000 observations in both cases. Since we need 22 days to compute the first monthly regressor, $\boldsymbol\Sigma_{f,t}^{month}$, the out-of-sample forecasts comprise days 1,023 to 1,495 ($T_1$ to $T_2$), totaling 473 daily forecasts.

We evaluate our forecasts by using the $\ell_2$-norm for the vector of errors, that is, $||\widehat{\boldsymbol e}_{T+1}||=||\textnormal{vech}(\widehat{\boldsymbol\Sigma}_{T+1}-\boldsymbol\Sigma_{T+1})||$. We compare different methods by using the average $\ell_2$-forecast error:

equation[equation omitted — 140 chars of source]

In all cases, our reference forecast is a random walk model: $\widehat{\boldsymbol\Sigma}_{f, T+1}=\boldsymbol\Sigma_{f,T}$ and $\widehat{\boldsymbol\Sigma}_{T+1}=\boldsymbol\Sigma_{T}$ for the complete covariance matrix.

Factor Covariance Matrix

Table (ref) shows the forecast results for the factor covariance matrices, following the method described in Section (ref) (we refer to this method as FHAR, from factor HAR, hereafter). However, the results are uniformly stronger when we apply a log-matrix transformation, as proposed by chiu1996matrix. Before estimation, we apply the log-matrix transformation to all data, that is, $\boldsymbol\Omega_{f,t}=\log(\boldsymbol\Sigma_{f,t})$. We then use the FHAR model to compute $\widehat{\boldsymbol\Omega}_{f,t+1}$. Finally, we revert the transformation by applying the exponential-matrix transformation and obtain our forecasts, that is, $\widehat{\boldsymbol\Sigma}_{f,t+1}=\exp(\widehat{\boldsymbol\Omega}_{f,t+1})$. We also report the results without applying the log-matrix transformation.

table[table omitted — 1,425 chars of source]

From Table (ref), we see that using the log-matrix transformation considerably improves the forecasts. After this transformation, the variance and covariance series become smoother than in the original data. This reduces the weights of outliers when fitting the model and improves forecasting precision. Another advantage is that the exponential matrix is positive definite by construction. This consideration is important, as we will need the inverse of the covariance matrix $\boldsymbol\Sigma$ when solving the minimum variance problems in Section (ref). Finally, applying adaLASSO to the best-performing models does not improve the results up to the second decimal place.

Since we estimate all equations daily, we now investigate their evolution over time\footnote{The results for average equation size and change in the number of selected variables obtained with the adaLASSO are similar to the ones obtained via LASSO. These results are readily upon request.}. Figure (ref) shows the average number of variables selected by LASSO over the 473 days for the FHAR Log-matrix models. To illustrate, consider the upper-left panel in this figure. It shows the average model size for the diagonal equations in the FHAR Log-matrix model with three factors. In other words, it displays the mean size for the equations of $\sigma_{market}^2$, $\sigma_{SMB}^2$, and $\sigma_{HML}^2$. Panels on the right show the same results for the covariance equations. From top to bottom, we vary the number of factors\footnote{For the 1F configuration, we forecast only $\sigma_{market}^2$. In this case, the equations estimated by LASSO and adaLASSO have only three predictors, which are, in this case, always selected. For this reason, we do not present the average number of selected variables (constant) or average change in the number of selected variables (zero).}.

figure[figure omitted — 753 chars of source]

In all cases, LASSO reduces the number of selected variables substantially. This reduction is most noticeable for the FHAR Log-matrix model with seven factors, in which the number of selected variables fluctuates around 10 (out of 76 potential predictors) for the variance equations and even less for the covariance equations.

Another feature is that average equation sizes are stable over time. Figure (ref) shows the average change in the number of selected variables from one day to the next. We consider parameters changing from zero to non-zero values or the opposite direction. All results are reported in percentage (relative to the maximum number of variables in each equation). For the three-factor models, variance and covariance equations remain unchanged on most days. Despite the stronger variation in the five- and seven-factor configurations, the percentage changes are smaller than 5% on almost all days. In general, variance equations are slightly more stable. We present results for the residual covariance matrix forecasts in Appendix (ref).

figure[figure omitted — 806 chars of source]

Complete Covariance Matrix

Table (ref) shows the forecast results for the complete covariance matrix (430 stocks). In this case, VHAR denotes the complete methodology described in Section (ref). We compute all models using Log-matrix transformation and estimate these models using LASSO and adaLASSO. Table (ref) also reports alternative models for comparison purposes:

enumerate• Random walk (RW): the standard reference model throughout this work. • Exponentially weighted moving average (EWMA) with smoothing parameter $\lambda=0.96$, as recommended by the RiskMetrics methodology. • The dynamic conditional correlation, BEKK, and approximate factor models, all with nonlinear shrinkage, as proposed by engle2017large and DeNard2021. We apply the DCC-NL model with the market factor for the approximate factor model, as recommended in DeNard2021. These approaches will be called DCC-NL, BEKK-NL, and AFM1-DCC-NL, hereafter. We also consider the IDR-DCC-NL model proposed by deNard2022. • Modified versions of the random walk model (Blocks 1F, 3F, 5F, and 7F). In these cases, we decompose the original realized covariance matrices using factors and impose block diagonality on the residual covariance matrices. Instead of using VHAR models to forecast future realizations, we use the random walk model with the adjusted covariance matrices as forecasts. By doing this, we try to approximate the methodology used by fan2016factors\footnote{fan2016factors impose block diagonality when using the high-frequency data for factors and returns to estimate the integrated covariance. The authors use the GICS system to classify stocks in sectors. The model used for forecasting and portfolio allocation is the random walk.}.

Some alternative models use daily returns data instead of realized covariance matrices as inputs. We compare our results to these models to see whether high-frequency data bring gains in portfolio performance.

table[table omitted — 1,832 chars of source]

Models based on daily returns do not outperform the benchmark, with a particularly bad performance for the EWMA. Despite having performed much better, BEKK-NL, DCC-NL, AFM1-DCC-NL, and IDR-DCC-NL models have almost two times larger errors than the random walk model. Imposing block diagonality on the residual covariance matrices (Blocks 1F, 3F, 5F, and 7F) improves the results, relative to the random walk, by 3%. Our methodology can beat the random walk model by up to 15%. In terms of the average $\ell_2$-forecast error, there is no difference when estimating the models with LASSO or adaLASSO.

Portfolio Selection

Despite the encouraging results obtained when forecasting covariance matrices, one could argue that our measure of forecast precision is too aggregate, especially considering that we have more than 90,000 unique entries being forecasted simultaneously. For instance, these estimates may produce large mistakes in only a few entries but with large implications when applied to practical problems. To evaluate the economic benefits provided by our forecasts, we use them to construct daily investment portfolios\footnote{In this section, we use daily covariance matrix forecasts to build portfolios for the next day. These portfolios are rebalanced daily, using the most recent forecasts. We investigate portfolios formed for longer holding periods in Appendix (ref). Similar results to this section hold even with infrequent rebalancing.}. We construct minimum variance portfolios using the models described in the previous section. We consider the global minimum variance portfolio (without any restrictions on weights), the restricted portfolio (limiting long positions and short-selling), and the long-only portfolios (without any short-selling).

We focus our analysis on variations of the minimum variance problem, as the sole portfolio problem requires only information on the covariance matrix. Other portfolio optimization problems, such as finding tangency portfolios that maximize Sharpe ratios, also require estimates of expected returns for every eligible asset. When we analyze the outcomes, we also focus on risk measures, such as the portfolio standard deviation, as we aim to minimize the portfolio's risk. In finance theory, all efficient portfolios have higher expected returns and Sharpe ratios than the minimum variance portfolio. Minimum variance optimizations that are less precise or biased may, by chance, find portfolios with higher realized returns and higher Sharpe ratios. While we should base our assessment of the models on the risk measures, other measures related to the concentration, trading volume, and even realized return might also provide relevant information.

First, we compute various statistics for indices directly related to our portfolio exercise. Table (ref) shows the standard deviation, kurtosis, skewness, average excess return over the risk-free rate, and Sharpe ratio for the daily series of returns for three S&P 500 indices: minimum volatility, low volatility, and equal weight. We provide these values as reference points to evaluate our results, as these indices are commonly used by practitioners. According to the index provider, the first index “is designed to reflect a managed-volatility equity strategy that seeks to achieve lower total risk, measured by standard deviation, than the S&P 500 while maintaining similar characteristics.” It is based on the Northfield Open Optimizer and is rebalanced every six months. The second index is based on risk measures for each asset individually, focusing on stocks with low volatility.

table[table omitted — 1,535 chars of source]

Global Minimum Variance Portfolios

Consider the problem of an investor at time $t=t_0,\ldots,T-1$ who wishes to construct a minimum variance portfolio to be held in time $t+1$. For this minimization problem, the investor needs to forecast the future covariance matrix, $\hat{\Sigma}_{t+1}$. The optimization problem consists of choosing a vector of weights $\hat{w}_{t+1}$ (dimension $N \times 1$):

equation[equation omitted — 300 chars of source]

We use our VHAR method with log matrix transformation, as it provides the best results in terms of forecasting precision. Estimation is done via LASSO and adaLASSO. We compare our results against the random walk models (RW and Block models), the EWMA, BEKK-NL, DCC-NL, AFM1-DCC-NL, and IDR-DCC-NL models. We evaluate ex-post portfolio performance, using our time $t$ estimated weights, $\widehat{\boldsymbol w}_{t+1}$, with data from $t+1$. In the following, $\widehat{w}_{it}$ is the $i$-th component of $\widehat{\boldsymbol w}_t$. We also define $r_{pt}^*=(r_{pt}-\frac{1}{(T-t_0)}\sum_{t=t_0+1}^{T}r_{pt})$. We show the following statistics:

enumerate• Standard deviation: $\sigma_p=\sqrt{ \frac{1}{(T-t_0)} \sum_{t_0+1}^{T}(r_{pt}^*)^2}$. • Lower partial standard deviation: $\sqrt{ \frac{1}{\sum_{t_0+1}^{T}I(r_{pt}^*<0)} \sum_{t_0+1}^{T}(r_{pt}^*)^2 * I(r_{pt}^*<0)}$. • Kurtosis: $\frac{\sum_{t=t_0+1}^{T}(r_{pt}^*)^{4}/(T-t_0)}{\sigma_p^{4}} - 3$. • Skewness: $\frac{\sqrt{(T-t_0)(T-t_0-1)}}{T-t_0-2}\frac{\sum_{t=t_0+1}^{T}(r_{pt}^*)^{3}/(T-t_0)} {\sigma_p^{3}}$. • Average diversification ratio: $\frac{1}{(T-t_0)} \sum_{t_0+1}^{T} \frac{\sum_{i=1}^{N}\widehat{w}_{it}\sigma_{it}}{\sigma_{pt}} $, where $\sigma_{pt}=\widehat{\boldsymbol w}_{t}'\boldsymbol\Sigma_{t}\widehat{\boldsymbol w}_{t}$. • Average max. weight: $\frac{1}{(T-t_{0})}\sum_{t=t_0+1}^{T}\max_{1 \leq i \leq N}(\widehat{w}_{it})$ for $i=1,\ldots,N$. • Average min. weight: $\frac{1}{(T-t_{0})}\sum_{t=t_0+1}^{T}\min_{1 \leq i \leq N}(\widehat{w}_{it})$ for $i=1,\ldots,N$. • Average gross leverage: $\frac{1}{N(T-t_{0})}\sum_{t=t_0+1}^{T}\sum_{i=1}^{N}|\widehat{w}_{it}|$. • Proportion of leverage: $\frac{1}{N(T-t_{0})}\sum_{t=t_0+1}^{T}\sum_{i=1}^{N}I(\hat{w}_{it}<0)$. • Average turnover: $\frac{1}{N(T-t_{0})}\sum_{t=t_0+1}^{T}\sum_{i=1}^{N}|\widehat{w}_{it}-\widehat{w}_{it}^{hold}|$, where $\widehat{w}_{it}^{hold}=\widehat{w}_{it-1}\frac{1+r_{it-1}}{1+r_{pt-1}}$. $r_{pt}$ is the portfolio return at time $t$, $r_{it}$ is the stock $i$ return at time $t$, and $\widehat{w}_{it}^{hold}$ is the weight of stock $i$ in the hold portfolio. The hold portfolio at time $t+1$ is defined as the resulting portfolio from keeping the number of shares fixed during period $t$. • Average excess return: $\mu_{p}^e=\frac{1}{(T-t_0)}\sum_{t=t_0+1}^{T}(r_{pt}^e)=\frac{1}{(T-t_0)}\sum_{t=t_0+1}^{T}(\widehat{\boldsymbol w}_{t}'\boldsymbol r_t-r_{f,t})$, where $r_{f,t}$ is the risk-free rate. • Cumulative Return: $\prod_{t=t_0+1}^{T}(1+r_{pt})$. • Sharpe ratio: $\frac{\mu_p^e}{\sigma_p}$.

Table (ref) presents the minimum variance portfolio results. Regarding standard deviations, the VHAR and Block RW models perform better than all others. For these models, the standard deviations go from a high of 8.46 % (one factor and LASSO) to a low of 8.09 % (seven factors and adaLASSO). The lowest value is almost half of the standard deviation for the S&P 500 Minimum Volatility Index in Table (ref). Benchmark models (upper results) also have a smaller standard deviation than the S&P 500 indices (except for the EWMA, which has the worst performance in this sense). Similar results hold for lower partial standard deviations. Among the models that do not use intraday data, the AFM1-DCC-NL model has superior performance.

Some portfolios have extreme short positions. In most cases, the leverage proportion is close to 50%. Average gross leverage is also quite high for many of the alternative models. Since shorting stocks may not be feasible and can be costly, we consider these positions potentially extreme. The values for average maximum and minimum weights are also quite large. Our models appear to generate more balanced portfolios.

Our models are slightly inferior to the IDR-DCC-NL model in terms of average excess and cumulative returns. The VHAR with five factors and LASSO estimation is the one with close performance to the IDR-DCC-NL alternative. Our models have superior performance compared to the RW and Block models and are much better than the EWMA specification. Since the optimization problem focuses on minimizing the portfolio variance, it is not obvious which models should achieve higher returns. For this reason, we do not see the slightly superior performance of the IRD-DCC-NL model as a problem. Moreover, the small difference in realized returns is more than compensated by the substantial reduction in standard deviation (as evidenced by the higher Sharpe ratios for our models).

landscape\begin{table}[H] \caption{Statistics for Daily Portfolios - Global Minimum Variance} \begin{minipage}{\linewidth} \begin{footnotesize} The table reports the results for portfolios constructed according to the optimization problem as in ((ref)). Different models are used to provide the one-step-ahead forecasts for the realized covariance matrix: RW is the random walk model, and Blocks 1F, 3F, 5F, and 7F are random walks applied to the residual covariance matrix after the four different factor decompositions. \end{footnotesize} \end{minipage} \begin{threeparttable} \resizebox{\linewidth}{!}{ \begin{tabular}{ccccccccccc} \hline & RW & Block 1F & Block 3F & Block 5F & Block 7F & EWMA (Returns)& BEKK-NL & DCC-NL & AFM1-DCC-NL & IDR-DCC-NL \\ \hline Standard Deviation (%) & 12.07 & 8.21 & 8.29 & 8.25 & 8.25 & 14.62 & 9.41 & 10.65 & 9.24 & 10.36 \\ Lower Partial Standard Deviation (%) & 12.82 & 8.79 & 8.94 & 8.73 & 8.83 & 14.90 & 9.63 & 11.31 & 9.40 & 11.09 \\ Kurtosis & 1.29 & 0.69 & 0.77 & 0.72 & 0.73 & 2.12 & 1.60 & 4.60 & 1.69 & 3.86 \\ Skewness & --0.35 & --0.39 & --0.40 & --0.38 & --0.40 & --0.15 & --0.33 & -0.50 & -0.05 & -0.56 \\ Average Diversification Ratio & 3.29 & 6.05 & 6.11 & 6.11 & 6.12 & 1.01 & 3.03 & 3.53 & 3.15 & 3.49 \\ Average Max. Weight & 0.06 & 0.10 & 0.10 & 0.10 & 0.10 & 0.20 & 0.06 & 0.12 & 0.13 & 0.15 \\ Average Min. Weight & --0.06 & --0.03 & --0.03 & --0.03 & --0.03 & --0.15 & --0.04 & --0.04 & --0.05 & --0.03 \\ Average Gross Leverage & 5.94 & 3.08 & 3.14 & 3.14 & 3.19 & 12.55 & 5.09 & 4.11 & 4.47 & 3.65 \\ Proportion of Leverage (%) & 44.30 & 44.40 & 44.22 & 44.10 & 44.11 & 49.17 & 45.11 & 51.73 & 46.91 & 50.5 \\ Average Turnover (%) & 1.80 & 0.75 & 0.78 & 0.78 & 0.80 & 0.27 & 0.11 & 0.21 & 0.16 & 0.35 \\ Average Excess Return (%) & 14.20 & 12.72 & 14.46 & 15.37 & 14.95 & 3.42 & 17.98 & 17.46 & 16.16 & 19.21 \\ Cumulative Return (%) & 29.04 & 26.42 & 30.59 & 32.86 & 31.82 & 4.74 & 39.27 & 37.58 & 34.63 & 42.25 \\ Sharpe Ratio & 1.18 & 1.55 & 1.74 & 1.86 & 1.81 & 0.23 & 1.91 & 1.64 & 1.75 & 1.85 \\ \hline & \multicolumn{2}{c}{1 Factor} & \multicolumn{2}{c}{3 Factors} & \multicolumn{2}{c}{5 Factors} & \multicolumn{2}{c}{7 Factors}\\ & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} \\ & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} \\ & LASSO & adaLASSO & LASSO & adaLASSO & LASSO & adaLASSO & LASSO & adaLASSO \\ \hline Standard Deviation (%) & 8.46 & 8.42 & 8.37 & 8.32 & 8.29 & 8.25 & 8.12 & 8.09 \\ Lower Partial Standard Deviation (%) & 8.86 & 8.81 & 8.78 & 8.68 & 8.57 & 8.53 & 8.52 & 8.51 \\ Kurtosis & 0.96 & 0.98 & 0.99 & 0.98 & 0.96 & 0.94 & 1.13 & 1.06 \\ Skewness & --0.21 & --0.20 & --0.18 & --0.17 & --0.15 & --0.13 & --0.24 & --0.22 \\ Average Diversification Ratio & 4.79 & 4.81 & 5.02 & 5.03 & 4.87 & 4.88 & 4.96 & 4.96 \\ Average Max. Weight & 0.07 & 0.08 & 0.08 & 0.08 & 0.08 & 0.09 & 0.08 & 0.09 \\ Average Min. Weight & --0.02 & --0.02 & --0.02 & --0.02 & --0.02 & --0.02 & --0.02 & --0.03 \\ Average Gross Leverage & 2.66 & 2.67 & 2.80 & 2.80 & 2.82 & 2.82 & 2.93 & 2.93 \\ Proportion of Leverage (%) & 45.89 & 46.01 & 44.88 & 45.03 & 44.89 & 45.12 & 45.26 & 45.50 \\ Average Turnover (%) & 0.20 & 0.22 & 0.20 & 0.22 & 0.19 & 0.21 & 0.20 & 0.22 \\ Average Excess Return (%) & 15.24 & 15.18 & 17.69 & 17.45 & 18.93 & 18.61 & 18.09 & 17.85 \\ Cumulative Return (%) & 32.49 & 32.35 & 38.74 & 38.13 & 42.01 & 41.19 & 39.85 & 39.21 \\ Sharpe Ratio & 1.80 & 1.80 & 2.11 & 2.10 & 2.28 & 2.26 & 2.23 & 2.21 \\ \hline \end{tabular}} \end{threeparttable} \end{table}

Restricted Minimum Variance Portfolios

We now resort to what we consider a more realistic investor problem. In this section, we solve a problem similar to equation ((ref)), except that now we impose two additional restrictions. First, we allow the maximum leverage to be 30% (in some sense, consistent with a 130-30 fund concept in the mutual fund industry). Second, we restrict the maximum weights on individual stocks to be 20% (in absolute value). The problem for an investor at time $t=t_0,\ldots, T-1$ is then given by

equation[equation omitted — 396 chars of source]

In Table (ref), we report the same performance statistics as in the last subsection. Again, our methodology generates lower standard deviations than the competing models. The VHAR with five factors and estimated with LASSO has the smallest standard deviation (12.57). In terms of returns, the Block 5F model is the best-performing alternative. This is the best model also in terms of Sharpe Ratios. The several VHAR specifications come second. One additional interesting result is that the IDR-DCC-NL model now performs better than the DCC-NL and AFM1-DCC-NL models, both in terms of standard deviation as cumulative and average returns.

landscape\begin{table}[H] \caption{Statistics for Daily Portfolios - Restricted Minimum Variance} \begin{minipage}{\linewidth} \begin{footnotesize} The table reports the results for portfolios constructed according to the optimization problem as in ((ref)). Different models provide the one-step-ahead forecasts for the realized covariance matrix: RW is the random walk model, and Blocks 1F, 3F, 5F, and 7F are random walks applied to the residual covariance matrix after the four different factor decompositions. \end{footnotesize} \end{minipage} \begin{threeparttable} \resizebox{\linewidth}{!}{ \begin{tabular}{ccccccccccc} \hline & RW & Block 1F & Block 3F & Block 5F & Block 7F & EWMA (Returns)& BEKK-NL & DCC-NL & AFM1-DCC-NL & IDR-DCC-NL \\ \hline Standard Deviation (%) & 13.29 & 13.34 & 13.20 & 13.17 & 13.25 & 15.28 & 15.49 & 14.72 & 16.14 & 13.72 \\ Lower Partial Standard Deviation (%) & 14.13 & 13.91 & 13.66 & 13.35 & 13.68 & 16.47 & 16.24 & 15.28 & 17.50 & 14.43 \\ Kurtosis & 3.40 & 4.71 & 4.68 & 4.79 & 5.10 & 4.16 & 4.36 & 3.08 & 1.66 & 3.66 \\ Skewness & --0.27 & --0.13 & --0.08 & --0.10 & --0.17 & --0.48 & --0.36 & --0.15 & --0.35 & --0.56 \\ Average Diversification Ratio & 3.55 & 3.92 & 4.11 & 4.12 & 4.07 & 2.22 & 2.24 & 2.15 & 1.64 & 2.51 \\ Average Max. Weight & 0.17 & 0.16 & 0.15 & 0.15 & 0.15 & 0.19 & 0.19 & 0.19 & 0.20 & 0.19 \\ Average Min. Weight & --0.09 & --0.07 & --0.07 & --0.07 & --0.08 & --0.16 & --0.15 & --0.11 & --0.17 & --0.06 \\ Average Gross Leverage & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 \\ Proportion of Leverage (%) & 1.91 & 3.11 & 3.08 & 3.06 & 2.93 & 0.71 & 0.85 & 1.41 & 0.58 & 2.44 \\ Average Turnover (%) & 0.43 & 0.40 & 0.42 & 0.41 & 0.42 & 0.09 & 0.10 & 0.11 & 0.03 & 0.19 \\ Average Excess Return (%) & 16.72 & 18.23 & 19.01 & 22.42 & 21.22 & 13.68 & 14.24 & 16.91 & 10.04 & 16.91 \\ Cumulative Return (%) & 34.88 & 38.74 & 40.83 & 50.14 & 46.79 & 26.74 & 27.99 & 34.86 & 18.06 & 35.22 \\ Sharpe Ratio & 1.26 & 1.37 & 1.44 & 1.70 & 1.60 & 0.90 & 0.92 & 1.15 & 0.62 & 1.23 \\ \hline & \multicolumn{2}{c}{1 Factor} & \multicolumn{2}{c}{3 Factors} & \multicolumn{2}{c}{5 Factors} & \multicolumn{2}{c}{7 Factors} \\ & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} \\ & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} \\ & LASSO & adaLASSO & LASSO & adaLASSO & LASSO & adaLASSO & LASSO & adaLASSO \\ \hline Standard Deviation (%) & 13.20 & 13.37 & 12.81 & 12.86 & 12.57 & 12.83 & 12.63 & 12.75 \\ Lower Partial Standard Deviation (%) & 13.29 & 13.64 & 12.60 & 12.54 & 12.54 & 12.75 & 12.52 & 12.62 \\ Kurtosis & 3.89 & 4.09 & 4.82 & 4.84 & 4.44 & 5.05 & 4.47 & 5.14 \\ Skewness & --0.03 & --0.12 & 0.14 & 0.12 & 0.04 & 0.10 & 0.03 & 0.05 \\ Average Diversification Ratio & 3.41 & 3.38 & 3.64 & 3.65 & 3.73 & 3.70 & 3.68 & 3.65 \\ Average Max. Weight & 0.15 & 0.15 & 0.15 & 0.15 & 0.15 & 0.15 & 0.15 & 0.15 \\ Average Min. Weight & --0.08 & --0.08 & --0.07 & --0.07 & --0.07 & --0.07 & --0.07 & --0.07 \\ Average Gross Leverage & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 & 1.60 \\ Proportion of Leverage (%) & 2.46 & 2.44 & 2.37 & 2.38 & 2.43 & 2.41 & 2.27 & 2.25 \\ Average Turnover (%) & 0.22 & 0.23 & 0.24 & 0.24 & 0.23 & 0.24 & 0.22 & 0.23 \\ Average Excess Return (%) & 16.07 & 19.89 & 19.72 & 21.04 & 20.56 & 18.93 & 20.74 & 19.19 \\ Cumulative Return (%) & 33.30 & 43.13 & 42.88 & 46.43 & 45.22 & 40.76 & 45.67 & 41.48 \\ Sharpe Ratio & 1.22 & 1.49 & 1.54 & 1.64 & 1.64 & 1.48 & 1.64 & 1.51 \\ \hline \end{tabular}} \end{threeparttable} \end{table}

Long-Only Minimum Variance Portfolios

In this section, we restrict no short-selling. The problem for an investor at time $t=t_0,\ldots, T-1$ is then given by

equation[equation omitted — 344 chars of source]

From Table (ref), we see that the VHAR family outperforms the benchmarks in almost all cases in terms of standard deviation. The VHAR model with seven factors estimated with LASSO is the best-performing specification.

landscape\begin{table}[H] \caption{Statistics for Daily Portfolios - Restricted Minimum Variance (Long Only)} \begin{minipage}{\linewidth} \begin{footnotesize} The table reports the results for portfolios constructed according to the optimization problem as in ((ref)). Different models provide the one-step-ahead forecasts for the realized covariance matrix: RW is the random walk model, and Blocks 1F, 3F, 5F, and 7F are random walks applied to the residual covariance matrix after the four different factor decompositions. \end{footnotesize} \end{minipage} \begin{threeparttable} \resizebox{\linewidth}{!}{ \begin{tabular}{ccccccccccc} \hline & RW & Block 1F & Block 3F & Block 5F & Block 7F & EWMA (Returns)& BEKK-NL & DCC-NL & AFM1-DCC-NL & IDR-DCC-NL \\ \hline Standard Deviation (%) & 17.10 & 17.06 & 16.96 & 16.85 & 16.88 & 17.74 & 17.92 & 17.78 & 20.71 & 17.58 \\ Lower Partial Standard Deviation (%) & 17.56 & 17.83 & 17.63 & 17.49 & 17.58 & 18.94 & 19.16 & 19.13 & 21.49 & 18.48 \\ Kurtosis & 3.29 & 3.04 & 3.16 & 3.22 & 3.17 & 2.84 & 2.88 & 2.60 & 2.19 & 2.67 \\ Skewness & --0.25 & --0.30 & --0.32 & --0.31 & --0.31 & --0.32 & --0.35 & --0.33 & --0.34 & --0.36 \\ Average Diversification Ratio & 3.10 & 3.04 & 3.07 & 3.09 & 3.09 & 2.63 & 2.60 & 2.51 & 2.18 & 2.66 \\ Average Max. Weight & 0.18 & 0.19 & 0.19 & 0.19 & 0.19 & 0.18 & 0.18 & 0.18 & 0.13 & 0.19 \\ Average Min. Weight & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 \\ Average Gross Leverage & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 \\ Proportion of Leverage (%) & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 \\ Average Turnover (%) & 0.17 & 0.16 & 0.16 & 0.16 & 0.16 & 0.03 & 0.03 & 0.04 & 0.03 & 0.07 \\ Average Excess Return (%) & 14.29 & 15.86 & 16.18 & 14.98 & 15.06 & 20.22 & 15.85 & 16.28 & 14.36 & 16.6 \\ Cumulative Return (%) & 27.49 & 31.30 & 32.15 & 29.25 & 29.44 & 42.18 & 30.91 & 32.04 & 26.01 & 32.92 \\ Sharpe Ratio & 0.84 & 0.93 & 0.95 & 0.89 & 0.89 & 1.14 & 0.88 & 0.92 & 0.69 & 0.94 \\ \hline & \multicolumn{2}{c}{1 Factor} & \multicolumn{2}{c}{3 Factors} & \multicolumn{2}{c}{5 Factors} & \multicolumn{2}{c}{7 Factors} \\ & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} & \multicolumn{2}{c}{VHAR} \\ & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} & \multicolumn{2}{c}{(Log matrix)} \\ & LASSO & adaLASSO & LASSO & adaLASSO & LASSO & adaLASSO & LASSO & adaLASSO \\ \hline Standard Deviation (%) & 16.96 & 16.98 & 16.55 & 16.59 & 16.34 & 16.47 & 16.31 & 16.44 \\ Lower Partial Standard Deviation (%) & 17.51 & 17.64 & 17.29 & 17.27 & 16.88 & 17.10 & 16.89 & 17.03 \\ Kurtosis & 4.32 & 4.27 & 4.18 & 3.70 & 3.37 & 3.46 & 3.69 & 3.56 \\ Skewness & --0.35 & --0.35 & --0.36 & --0.27 & --0.19 & --0.21 & --0.20 & --0.23 \\ Average Diversification Ratio & 3.10 & 3.09 & 3.09 & 3.10 & 3.12 & 3.13 & 3.11 & 3.11 \\ Average Max. Weight & 0.17 & 0.18 & 0.19 & 0.19 & 0.19 & 0.19 & 0.19 & 0.19 \\ Average Min. Weight & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 \\ Average Gross Leverage & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 & 1.00 \\ Proportion of Leverage (%) & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 & 0.00 \\ Average Turnover (%) & 0.08 & 0.08 & 0.07 & 0.08 & 0.07 & 0.08 & 0.07 & 0.07 \\ Average Excess Return (%) & 17.60 & 17.57 & 17.62 & 18.04 & 18.02 & 18.17 & 17.13 & 17.04 \\ Cumulative Return (%) & 35.71 & 35.63 & 35.95 & 37.01 & 37.06 & 37.38 & 34.79 & 34.50 \\ Sharpe Ratio & 1.04 & 1.03 & 1.06 & 1.09 & 1.10 & 1.10 & 1.05 & 1.04 \\ \hline \end{tabular}} \end{threeparttable} \end{table}

Conclusion

We propose a model to forecast large realized covariance matrices of returns, applying it to some of the constituents of the S&P 500 on a daily basis. To address the curse of dimensionality, we decompose the return covariance matrix using standard firm-level factors (e.g., size, value, and profitability) and use sectoral restrictions in the residual covariance matrix. This restricted model is then estimated using vector heterogeneous autoregressive (VHAR) models with the least absolute shrinkage and selection operator (LASSO). Our methodology improves forecasting precision relative to standard benchmarks and leads to better estimates of minimum variance portfolios.

thebibliography\bibitem[\citeauthoryear{Aït-Sahalia and Xiu}{Aït-Sahalia and Xiu}{2017}]{ait2016using} Aït-Sahalia, Y. and D. Xiu (2017). \newblock Using principal component analysis to estimate a high dimensional factor model with high-frequency data. \newblock {\em Journal of Econometrics\/} {\em 201}, 384--399. \bibitem[\citeauthoryear{Bauer and Vornik}{Bauer and Vornik}{2011}]{Bauer2011} Bauer, G. and K. Vornik (2011). \newblock Forecasting multivariate realized stock market volatility. \newblock {\em Journal of Econometrics\/} {\em 160}, 93--101. \bibitem[\citeauthoryear{Callot, Kock, and Medeiros}{Callot et al.}{2017}]{callot2017modeling} Callot, L., A. Kock, and M. Medeiros (2017). \newblock Modeling and forecasting large realized covariance matrices and portfolio choice. \newblock {\em Journal of Applied Econometrics\/} {\em 32}, 140--158. \bibitem[\citeauthoryear{Chamberlain and Rothschild}{Chamberlain and Rothschild}{1983}]{chamberlain1983arbitrage} Chamberlain, G. and M. Rothschild (1983). \newblock Arbitrage, factor structure, and mean-variance analysis on large asset markets. \newblock {\em Econometrica\/} {\em 51}, 1281--1304. \bibitem[\citeauthoryear{Chiriac and Voev}{Chiriac and Voev}{2011}]{Chiriac2011} Chiriac, R. and V. Voev (2011). \newblock Modelling and forecasting multivariate realized volatility. \newblock {\em Journal of Applied Econometrics\/} {\em 26}, 922–--947. \bibitem[\citeauthoryear{Chiu and Tsui}{Chiu and Tsui}{1996}]{chiu1996matrix} Chiu, T. and T. L. K.-W. Tsui (1996). \newblock The matrix-logarithmic covariance model. \newblock {\em Journal of the American Statistical Association\/} {\em 91}, 198--210. \bibitem[\citeauthoryear{Cooper, Gulen, and Schill}{Cooper et al.}{2008}]{cooper2008asset} Cooper, M., H. Gulen, and M. Schill (2008). \newblock Asset growth and the cross-section of stock returns. \newblock {\em The Journal of Finance\/} {\em 63}, 1609--1651. \bibitem[\citeauthoryear{Corsi}{Corsi}{2009}]{corsi2009simple} Corsi, F. (2009). \newblock A simple approximate long-memory model of realized volatility. \newblock {\em Journal of Financial Econometrics\/} {\em 7}, 174--196. \bibitem[\citeauthoryear{{De Nard}, Engle, Ledoit, and Wolf}{{De Nard} et al.}{2022}]{deNard2022} {De Nard}, G., R. Engle, O. Ledoit, and M. Wolf (2022). \newblock Large dynamic covariance matrices: Enhancements based on intraday data. \newblock {\em Journal of Banking and Finance\/} {\em 138}, 106426. \bibitem[\citeauthoryear{{De Nard}, Ledoit, and Wolf}{{De Nard} et al.}{2021}]{DeNard2021} {De Nard}, G., O. Ledoit, and M. Wolf (2021). \newblock Factor models for portfolio selection in large dimensions: The good, the better and the ugly. \newblock {\em Journal of Financial Econometrics\/} {\em 19}, 236--257. \bibitem[\citeauthoryear{Engle}{Engle}{2002}]{EngleDCC2002} Engle, R. (2002). \newblock Dynamic conditional correlation. \newblock {\em Journal of Business & Economic Statistics\/} {\em 20}, 339--350. \bibitem[\citeauthoryear{Engle and Kroner}{Engle and Kroner}{1995}]{BEEK1995} Engle, R. and F. Kroner (1995). \newblock Multivariate simultaneous generalized {ARCH}. \newblock {\em Econometric Theory\/} {\em 11}, 122--150. \bibitem[\citeauthoryear{Engle, Ledoit, and Wolf}{Engle et al.}{2019}]{engle2017large} Engle, R., O. Ledoit, and M. Wolf (2019). \newblock Large dynamic covariance matrices. \newblock {\em Journal of Business & Economic Statistics\/} {\em 37}, 363--375. \bibitem[\citeauthoryear{Fama and French}{Fama and French}{1993}]{fama1993common} Fama, E. and K. French (1993). \newblock Common risk factors in the returns on stocks and bonds. \newblock {\em Journal of Financial Economics\/} {\em 33}, 3--56. \bibitem[\citeauthoryear{Fan, Fan, and Lv}{Fan et al.}{2008}]{fan2008high} Fan, J., Y. Fan, and J. Lv (2008). \newblock High dimensional covariance matrix estimation using a factor model. \newblock {\em Journal of Econometrics\/} {\em 147}, 186--197. \bibitem[\citeauthoryear{Fan, Furger, and Xiu}{Fan et al.}{2016}]{fan2016factors} Fan, J., A. Furger, and D. Xiu (2016). \newblock Incorporating global industrial classification standard into portfolio allocation: A simple factor-based large covariance matrix estimator with high frequency data. \newblock {\em Journal of Business & Economic Statistics\/} {\em 34}, 489--503. \bibitem[\citeauthoryear{Gagliardini, Ossola, and Scaillet}{Gagliardini et al.}{2019}]{gagliardini2018diagnostic} Gagliardini, P., E. Ossola, and O. Scaillet (2019). \newblock A diagnostic criterion for approximate factor structure. \newblock {\em Journal of Economcetrics\/} {\em 212}, 503--521. \bibitem[\citeauthoryear{Golosnoy, Gribisch, and Liesenfeld}{Golosnoy et al.}{2012}]{golosnoy2012conditional} Golosnoy, V., B. Gribisch, and R. Liesenfeld (2012). \newblock The conditional autoregressive wishart model for multivariate stock market volatility. \newblock {\em Journal of Econometrics\/} {\em 167}, 211--223. \bibitem[\citeauthoryear{Lunde, Shephard, and Sheppard}{Lunde et al.}{2016}]{lunde2016econometric} Lunde, A., N. Shephard, and K. Sheppard (2016). \newblock Econometric analysis of vast covariance matrices using composite realized kernels and their application to portfolio choice. \newblock {\em Journal of Business & Economic Statistics\/} {\em 34}, 504--518. \bibitem[\citeauthoryear{Lyandres, Sun, and Zhang}{Lyandres et al.}{2008}]{lyandres2008new} Lyandres, E., L. Sun, and L. Zhang (2008). \newblock The new issues puzzle: Testing the investment-based explanation. \newblock {\em The Review of Financial Studies\/} {\em 21}, 2825--–2855. \bibitem[\citeauthoryear{Novy-Marx}{Novy-Marx}{2013}]{novy2013other} Novy-Marx, R. (2013). \newblock The other side of value: The gross profitability premium. \newblock {\em Journal of Financial Economics\/} {\em 108}, 1--28. \bibitem[\citeauthoryear{Sloan}{Sloan}{1996}]{sloan1996} Sloan, R. (1996). \newblock Do stock prices fully reflect information in accruals and cash flows about future earnings? \newblock {\em The Accounting Review\/} {\em 71}, 289--315. \bibitem[\citeauthoryear{Tibshirani}{Tibshirani}{1996}]{tibshirani1996regression} Tibshirani, R. (1996). \newblock Regression shrinkage and selection via the {LASSSO}. \newblock {\em Journal of the Royal Statistical Society. Series B (Methodological)\/}, 267--288. \bibitem[\citeauthoryear{Zou}{Zou}{2006}]{zou2006adaptive} Zou, H. (2006). \newblock The adaptive {LASSO} and its oracle properties. \newblock {\em Journal of the American Statistical Association\/} {\em 101}, 1418--1429.

Appendix