Questions tagged [covariance]

A measure of the degree of linear association between a pair of random variables.

Filter by
Sorted by
Tagged with
45
votes
5answers
8k views

How do I graphically represent the evolution of a covariance matrix over time?

I am working with a set of covariance matrices evaluated at various points in time over some history. Each covariance matrix is $N\times N$ for $N$ financial time-series over $T$ periods. I would ...
44
votes
4answers
17k views

What is the best way to “fix” a covariance matrix that is not positive semi-definite?

I have a sample covariance matrix of S&P 500 security returns where the smallest k-th eigenvalues are negative and quite small (reflecting noise and some high correlations in the matrix). I am ...
41
votes
12answers
28k views

Why does the minimum variance portfolio provide good returns?

I've been a researching minimum variance portfolios (from this link) and find that by building MVPs adding constraints on portfolio weights and a few other tweaks to the methods outlined I get ...
24
votes
3answers
3k views

Tools in R for estimating time-varying copulas?

Are there libraries in R for estimating time-varying joint distributions via copulas? Hedibert Lopes has an excellent paper on the topic here. I know there is an existing packaged called copula but ...
18
votes
4answers
6k views

How do you evaluate a covariance forecast?

Suppose you have two sources of covariance forecasts on a fixed set of $n$ assets, method A and method B (you can think of them as black box forecasts, from two vendors, say), which are known to be ...
18
votes
2answers
3k views

Cleansing covariance matrices via Random matrix theory

I am exploring de-noising and cleansing of covariance matrices via Random Matrix Theory. RMT is a competitor to shrinkage methods of covariance estimation. There are various methods expressed usually ...
16
votes
4answers
7k views

Why shrink the covariance matrix?

I'm trying to understand why it's useful to shrink the covariance matrix for portfolio construction or in fact general. Think I missing something. I know if you have 5,000 stocks it's a lot of ...
14
votes
1answer
628 views

Covariance estimation: shrinkage, random matrix theory, what else?

Shrinkage was much en-vogue before random matrix theory (RMT) took everybody's attention in covariance matrix estimation, however the latter also showed its limits. A plethora of other estimators has ...
13
votes
1answer
604 views

How to estimate the covariance of an index with a basket of stocks?

What would be an ideal way to estimate the covariance of an index with a basket of stocks? For example, should I use one-tail ANOVA test or an individual stock & index F-test?
11
votes
1answer
2k views

What do eigenvalues/eigenvectors of the yield/forward rates covariance matrices mean?

I have 5 bonds (with maturities 1,2,3,4,5 years) which I calculated the yield curve for 10 days. I also calculated the forward rates from the yield rates. Now I've been told to calculate the ...
9
votes
2answers
2k views

Analytical relationship between a covariance matrix and cross-sectional dispersion

Given an expected returns vector and a covariance matrix, one can perform a joint draw and measure the average cross-sectional variation as the standard deviation across returns for a particular joint ...
8
votes
3answers
415 views

age-sensitive correlation measurements in finances

When it comes to comparing returns or prices of instruments like stocks/ETFs, are there any well-established formulas, or ones in common use, that place stronger emphasis on recent correlations more ...
8
votes
2answers
228 views

Is there an optimal covariance one would want forecasts to have?

Often in a quant process, one will generate a time series of return forecasts and use them in some sort of optimization to generate a portfolio. Generally, there will be a covariance matrix of market ...
7
votes
2answers
456 views

What is the preferred GARCH method in practice?

My advance apologies, if this question is too naive or basic. Please be patient with my first experiences with SE; ask for clarification, if needed. I recognize there are many (often-criticized) ...
7
votes
3answers
1k views

CAPM model as a regression

The CAPM model states that the returns of a stock are- $r_s=r_f+\beta (r_m-r_f)+\varepsilon_s$ The $\beta$ defined above is then calculated as $\frac{cov(r_s,r_m)}{var(r_m)}$. My question is ...
7
votes
1answer
132 views

Finding a minimum variance portfolio when using a regulariser?

I am aware that the minimum variance portfolio of a market with $n$ securities can be shown to be: \begin{equation} w^* = (1^T_n\Sigma^{-1}1_n)^{-1}\Sigma^{-1}1_n, \\ s.t. \ \ 1^T_nw = 1 \end{...
6
votes
1answer
314 views

How can I use a more efficient volatility estimator to improve the co-variance matrix?

Using mean-variance, I need to estimate a co-variance matrix $\Sigma$ to obtain the best weights in my portfolio. However, there are other ways to compute the volatility $\sigma$ than historical ...
6
votes
2answers
432 views

Most natural generalization of covariance/correlation to model dependence of extreme events

One of the most serious shortcomings of covariance/correlation are the assumptions of linearity and normality. What is the most natural generalization of these measures of dependence when you want to ...
6
votes
1answer
715 views

Proof for non-positive semi-definite covariance matrix estimator

It is well known that the standard estimator of the covariance matrix can lose the property of being positive-semidefinite if the number of variables (e.g. number of stocks) exceeds the number of ...
6
votes
1answer
288 views

Using Kendall rank correlation to construct a covariance matrix?

I am wondering if it's mathematically 'correct' to employ a correlation matrix based on Kendall-correlation when constructing a covariance matrix? I.e., is it wrong to multiply standard deviations of ...
6
votes
0answers
391 views

Stress testing covariance

Going one level beyond stressed scenarios, to parameters e.g. for a VaR measure: what are the most common approaches for stressing a covariance/correlation matrix, especially taking portfolio exposure ...
5
votes
1answer
1k views

Regime Switching for Dynamic Correlations

I would like to implement a Regime Switching for Dynamic Correlations in an out-of-sample analysis using MATLAB. After looking at the literature on the subject, they all refer to an article by Denis ...
5
votes
1answer
5k views

How to use Newey West covariance corrector?

I have implemented the following model: daily_vol(t+1) = A*daily_vol(t) + B*weekly_vol(t) + C*monthly_vol(t) + error where vol means volatility, and A, B, C are ...
5
votes
0answers
420 views

Analyzing the angle between vector of weights and vector of returns in mean-variance optimization

I am using the paper "A Sharper Angle on Optimization" by Golts and Jones (2009) as a basis for my (minor) masters thesis in mathematical finance. The paper focuses on the mean-variance analysis of ...
4
votes
2answers
298 views

Are two stochastic processes independent if the Wiener processes inside are uncorrelated

Assume there are two stochastic processes: $dx_t = \alpha_1(x_t,t)dt + \beta_1(x_t,t)dW^1_t$ and $dy_t = \alpha_2(y_t,t)dt + \beta_2(y_t,t)dW^2_t$. Does $dW^1_t\times{dW^2_t} = 0$ imply that $\...
4
votes
1answer
142 views

Correlation -1 and standard deviation [closed]

My book says that for a portfolio of two stocks: $\sigma_p = \sqrt{w_A^2 \sigma_A^2 + (1-w_A)^2 \sigma_B^2 + 2 w_A (1 - w_A) \rho_{AB} \sigma_A \sigma_B}$ Elsewhere it says that if the correlation ...
4
votes
1answer
675 views

Markowitz Mean-Variance Implied Returns

What is the closed form solution for the following inverse Markowitz problem? Given a mean-variance optimized fully invested portfolio $X$, a risk aversion parameter $\lambda$ and a var-covar ...
4
votes
1answer
772 views

How to calculate tracking error given mismatches in available data

Apologies if this is an overly simple question. I have a series of stock returns, and I would like to estimate my portfolio's ex-ante tracking error versus the benchmark (S&P 500) given the ...
4
votes
1answer
1k views

Need overlapping sample autocorrelation correction for calculating asset return correlations

I want to measure the covariance structure of various asset returns based on varying investment periods. Campbell and Viceira (2005) do this, using known return predictors (i.e. dividend yield, ...
4
votes
1answer
797 views

Beta between stock and option

In Black Scholes model I would like to compute $$ \beta_K = \frac{\mathrm{cov}(C_{K,T},S_T)}{\mathrm{cov}(S_T,S_T)} = \frac{\mathrm{cov}((S_T - K)^+,S_T)}{\mathrm{cov}(S_T,S_T)} $$ with respect to say ...
4
votes
4answers
793 views

portfolio diversification tester

Are there any online tools (optionally with developer API, to spare me the scraping) that given an existing portfolio, calculate how well a new candidate position would score to increase combined ...
4
votes
1answer
100 views

Questions about beta, correlation, and covariance

Currently, I calculate beta, correlation, and covariance measures using daily log normal returns of Security A and Benchmark A. What would it mean if I were to use daily log normal excess returns in ...
4
votes
0answers
84 views

Why are thousand-ish-factor vendor risk models not extremely overfit and inaccurate?

Many vendor risk models have many hundreds, or even thousands of factors (many of which are highly correlated with each other). Underlying all these risk models is some sort of covariance matrix in ...
3
votes
2answers
1k views

Covariance for arbitrarily large portfolios

I am implementing a method in Java to calculate the variance, covariance, and value at risk for a portfolio, which should be flexible for use with any number of assets in a portfolio. I am struggling ...
3
votes
6answers
207 views

Is a more robust Covariance estimation possible?

I'm working on a mean-variance optimization problem, but instead of financial securities I'm choosing a 'portfolio' of N athletes. It is a 1-period optimization problem over one generic statistic ...
3
votes
2answers
137 views

Widely accepted methods for coming up with the co-variance matrix of assets?

Question What are the widely accepted ways for coming up with co-variance matrix of assets after the Markowitz's modern portfolio theory? Question explained in more detail After Modern portfolio ...
3
votes
1answer
2k views

Covariance matrix and Cholesky decomposition

I am simulating a spread option with stochastic volatility using Monte Carlo simulation. I have the positive-definite covariance matrix $$ \rho = \left( \begin{array}{cccc} 1 & \rho_{1,2} & \...
3
votes
3answers
3k views

Handling Missing values in stocks returns when estimating the co variance matrix

What is the best way to handle missing values when stocks did not exist for the entire historical period?.
3
votes
2answers
334 views

Filtering smallest eigenvalues

In Risk Budgeting and Diversification Based on Optimized Uncorrelated Factors [1], which introduces minimum torsion bets, Meucci gives an example involving the computation of covariance matrices on ...
3
votes
2answers
567 views

How to get Multivariate Betas from an Estimated EWMA co variance Matrix?

I have a portfolio of 4 assets. I also have returns for 3 indices. I want to get the multivariate betas for these 4 assets-based on these assets. I only have the 7 x 7 covariance matrix estimated by a ...
3
votes
1answer
133 views

How can I evaluate how poor a fit a parametric VaR result would be for a given holding?

I'm currently working on an application that, among other things, computes a one-day parametric VaR for security positions. I understand that the parametric method of computing VaR is a poor fit for ...
3
votes
0answers
91 views

Is Ledoit-Wolf Shrinkage with a Constant Correlation Prior Reasonable for a Stock/Bond Mix?

I've been looking into Ledoit-Wolf shrinkage but I've found the papers concentrate on large numbers of assets that tend to all be highly correlated. Often a universe of large cap stocks. I'm ...
3
votes
0answers
173 views

Parametric VaR of a portfolio of a stock and an option on that stock

I understand how to calculate the parametric VaR of a stock and an option separately. But I don't understand how one can calculate the VaR of a portfolio of a stock and an option on that stock using ...
3
votes
0answers
258 views

Finding mean vector and covariance matrix for annual returns given quarterly returns

I am currently trying to calculate a vector for the mean annual returns of 4 different asset classes along with their 4x4 covariance matrix in excel. However, I am having problems since the data I ...
3
votes
0answers
207 views

Should I use Resampling or Expectation Maximization to compute a robust covariance matrix?

I have several assets, each with different return histories. Some of the assets have 75 days of return history, others have 40 or so days. In calculating a robust covariance matrix, should I be using ...
3
votes
0answers
280 views

Good criteria to sort state-space $\beta_{t}$ according to Kalman filter output

Let's assume the usual state-space linear model without constant term for simplicity: $y_{t}=\beta_{t} X_{t}+\epsilon_{t}$ If we apply Gaussian Kalman filter to estimate $\beta_{t}$ we get $P_{t}$, ...
2
votes
3answers
1k views

Semi-variance/Downside Risk, what about the rest of the covariance matrix?

I just bumped into a rather interesting article from wikipedia : http://en.wikipedia.org/wiki/Downside_risk where they define the semi-variance also called Downside risk, which bascially only ...
2
votes
2answers
1k views

Garch for covariance matrix?

I have seen plenty of literature about GARCH on estimation volatility. how about covariance? There are plenty of risk models depending on the covariance matrix. I guess we can assume the correlation ...
2
votes
1answer
253 views

How to calculate the covariance between two stochastic integrals?

How to calculate the covariance between the integral of a Brownian motion at different times: $$\text{Cov}\left(\int^{t_1}_0\sigma(t)dW_t,\int^{t_2}_0\sigma(t)dW_t\right)\ ?$$ I know the answer is: $$\...
2
votes
1answer
875 views

Correlation of asset to portfolio, given certain variables

Ultimately I'm trying to calculate stdev contribution, but I've hit a hurdle. What I have: 20x20 correlation matrix for various assets Standard deviations for each asset Returns for each asset ...