Questions tagged [covariance-matrix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
29 views

Can the covariance matrix be represented as a scalar or something similarly small, instead of a large pair-wise grid?

The covariance matrix tabulates pair-wise interactions between variables (assets) one-at-a-time into a grid, which can quickly become large as the number of assets included in a portfolio, for example,...
2
votes
1answer
121 views

Inverse Covariance Matrix Transformation from CAPM

Beginning with the CAPM model we have (with a risk free rate of 0%): $r_i=\beta_i (r_m)+\varepsilon_i$ with $\varepsilon_i$ the diversifiable risks per assets The variance matrix: $\Omega = \beta'\...
-2
votes
1answer
85 views

Should portfolios have zero or negative correlation between assets? [closed]

Is it more optimal to have a portfolio whose assets are negatively correlated? (I am not requiring all assets to be negatively correlated in this case, nor (-1) perfectly negative correlation either. ...
-1
votes
1answer
48 views

Covariance matrix using world stocks [closed]

What is the best way to compute a covariance matrix of daily stock returns made up of international stocks. Knowing that the world markets are not trading simultaneously. This matrix could then be ...
0
votes
0answers
55 views

Minimum variance portfolio's analytical solution, but assuming $t$-distribution

$$ \boldsymbol{w} = \frac{\boldsymbol{\Sigma}^{-1} \boldsymbol{1} }{\boldsymbol{1}' \boldsymbol{\Sigma}^{-1} \boldsymbol{1}} $$ is the well known closed-form analytical solution to the minimum ...
0
votes
0answers
41 views

Covariance/correlation matrix from data with missing data points

I have a data set with index fund quotes, and I'm trying to compute the efficient portfolio frontier for it. But some data points are missing. In some cases there are few funds that trading even on ...
0
votes
0answers
17 views

HRP portfolio's clustered covariance and correlation matrices

The hierarchially clustered portfolio (HRP) performs interasset clustering to quasi-diagonalize the asset return covariance matrix. This procedure rearranges the rows and columns mutually according to ...
0
votes
1answer
89 views

Double objective in portfolio optimization

Is there anything infeasible or ethically wrong about optimizing portfolios like this? $$\min_w \enspace w' \Sigma w + w' C w$$ where $\Sigma$ is the asset return covariance matrix, and $C$ is the ...
2
votes
3answers
141 views

Interpretation and units of a covariance element in portfolio risk

Given portfolio risk is $\mathbf{w}\boldsymbol{\Sigma}\mathbf{w}$ where $\boldsymbol{\Sigma}$ is the covariance matrix whose diagonal elements $\sigma^2_{n}$ are individual asset return variances and ...
0
votes
2answers
103 views

Which is more ill-conditioned, the asset correlation matrix or covariance matrix?

If i have a matrix of multivariate asset returns for $N$ stocks, and i compute from it the covariance matrix and then the correlation matrix, can I always know which of the two will have the higher ...
0
votes
0answers
27 views

Covariance of Individual Return and Portfolio Return

Hi guys, Is it possible to get the covariance between the individual return and portfolio return given the correlation matrix, volatility matrix, weights matrix and return matrix? I know how to get ...
0
votes
2answers
114 views

Meaning of an identity matrix for the covariance in portfolio optimization

Instead of using a sample covariance matrix for portfolio optimization, Ledoit and Wolf use an estimator that is the weighted average of the sample covariance matrix and the identity matrix, $I$. This ...
-1
votes
2answers
177 views

Why does portfolio optimization require a positive-definite covariance matrix?

Why does the portfolio optimization mean-variance model require the covariance matrix to be positive-definite? Does this requirement have to do with the need to be able to invert the matrix during ...
1
vote
3answers
178 views

Simulating covariance matrices with nonzero correlation

How would you simulate a covariance matrix of 1,000 stocks where each pair has nonzero correlation? I have literally no idea how to start with this. Any suggestions?
2
votes
1answer
88 views

Variance-Covariance Matrix under $\mathbb{P}$ and $\mathbb{Q}$

I'd like to understand why $\Sigma$ is the same under both measures $\mathbb{P}$ and $\mathbb{Q}$. Is it an assumption or a general fact based on theoretical concepts?
0
votes
0answers
17 views

scenario-specific covariance matrices for minimum regret portolio allocation

I am trying to follow the paper here https://www.wiwi.uni-siegen.de/banken/dokumente/2._szenariobasierte_aa_englisch.pdf and implement the minimum regret approach. In particular, the decision under ...
0
votes
1answer
52 views

Effective Time Length of Exponentially Weighted Covariance Matrix Estimate

In [1] Pafka, Potters and Kondor mention the following in section 2: In contrast, if this covariance matrix estimate is used for portfolio optimization (i.e. for selecting the portfolio in a ...
2
votes
1answer
172 views

Variance attribution calculation from a covariance matrix

Say I have a portfolio with two assets with weights $(x, y)$, and the covariance matrix of the two asset is $((a, r)(r, b))$. Then the total portfolio variance would be $x^2a+2xyr+y^2b$. It is easy to ...
0
votes
1answer
128 views

Computing covariance matrix with historical data

I have been reading Active Portfolio Management by Grinold and Khan. In the chapter about risk, they mention, "The third elementary model relies on historical variances and covariances. This ...
0
votes
1answer
70 views

is it possible to get minimum variance line having only covariance matrix?

Hey I have covariance matrix: $$C=\begin{pmatrix} 0,01 & 0.01 & 0\\ \\ 0.01 & 0,02 & -0.01 \\ \\ 0 & -0.01 & 0,03 \end{pmatrix}$$ So the variance of porfolio is: $$\...
0
votes
0answers
110 views

portfolio return, sharpe ratio and value at risk

Can you please help me to confirm if my calculations are correct or need improvement, or (too simplistic...) : - portfolio return, - portfolio standard deviation, - portfolio sharpe ratio - ...
2
votes
1answer
69 views

Calculating covariance from three variances

I have been asked to look to refactor some code. There is a line shown below: $\text{implied covariance} = -\frac{(\text{var}_1 - \text{var}_2 - \text{var}_3)} {2}$, where $\text{var}_1$ is the ...
2
votes
2answers
152 views

Estimate covariance matrix using prices

We generally estimate the covariance matrix of assets using their returns instead of prices. Why is that the case? I can think of two possible reasons and would appreciate comments/feedback regarding ...
2
votes
2answers
421 views

Creating a Covariance Matrix

Lets say that you have the correlation of x,y and you have the standard deviations of x and y , how would you then find the covariance of x,y using the correlation of x,y and and the standard ...
0
votes
1answer
101 views

Demonstration of the Schweinler-Wigner Orthogonalization procedure

Can anyone give me a practical demonstration of the Schweinler-Wigner Orthogonalization procedure? The steps of performing it or possibly a code snippet. The Schweinler-Wigner Orthogonalization ...
4
votes
6answers
266 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 ...
2
votes
2answers
202 views

Volatility and weights of a portfolio whose value is negative

How do you calculate the one day standard deviation (in dollars) for a portfolio that is short $30,000? How do you calculate the weightings to use? I already have the necessary covariance matrix.
2
votes
2answers
372 views

Why annualizing sampled covariance matrix changes stock weight vector?

Question While optimizing a portfolio using 'Global Minimum Variance' (GMV) method, I found that annualizing a sampled covariance matrix makes a difference in stock weight vector. Q1. Why ...
0
votes
1answer
72 views

Covariance matrix from GJR-GARCH?

I am implementing a AR(1)-GJR-GARCH(1,1) model to some asset returns, and I would need to have a covariance matrix but I struggle to see how I can compute one from the model I used? I know I can have ...
3
votes
2answers
535 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 ...
0
votes
0answers
964 views

Barra covariance matrix construction

I am trying to replicate the covariance matrix used by Barra risk models. All Barra models have half life parameters for volatilities and correlations (e.g. if the half life for volatlity is 90 days, ...
0
votes
1answer
397 views

Variance-Covariance VaR: how to get the volatility?

Because the variance-covariance VaR assumes that the returns are normally distributed, in theory it is easy to get VaR by simply finding the mean and the volatility (standard deviation) of the ...
1
vote
0answers
114 views

Black Litterman - numerical instability

I am trying to work out the formula for the posterior mean in Black Litterman's model assuming 100% confidence : Ref: https://corporate.morningstar.com/ib/documents/MethodologyDocuments/IBBAssociates/...
0
votes
1answer
491 views

beginner portfolio statistics - annualized volatility of multi-asset portfolio

Sorry for the dumb question, but I wanted to make sure my understanding of what I read and compiled was correct! I am trying to calculate the variance-covariance matrix, and annualized volatility of a ...
0
votes
0answers
394 views

How to compute the portfolio risk when weights are negative?

In QMiF (p. 239) , the variance of a portfolio is defined as: V(R) = w'Vw = w'DCDw = x'Cx Does this formula hold if the weights are negative (i.e., short)? For example, if I have a 5x5 covariance ...
-1
votes
2answers
3k views

Why is my Covariance matrix not positive definite?

I'm trying to do PCA on historic forward rates. I'm using forward rates from the Bank of England going from Jan 2015 through end of May 2018. I calculate the differences in the rates from one day to ...
3
votes
2answers
440 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 ...
-2
votes
1answer
209 views

Variance covariance matrix - number of periods required

Hi I am reviewing the example of Barra risk model in the following document page 23 there is the statement: "Estimating a covariance matrix for, say, 3,000 stocks requires data for at least 3,...
0
votes
1answer
412 views

Which program for a DCC-MIDAS model?

for a thesis research, I plan to use a DCC-MIDAS model. The program I was working with (STATA) is not able to run this. Do you have any suggestions as to which program is best for this analysis? ...
9
votes
2answers
1k views

Hierarchical Risk Parity with allocation constraints?

In the really interesting paper by Marcos Lopez de Prado a variation of risk parity is applied whereby the underlying assets of the portfolio are first split in 'correlation clusters' and the ...
1
vote
1answer
162 views

Solving a system of two equations with non-convex matrix multiplication for MV optimization

Scenario: I am trying to do a variation of the MV optimization for a portfolio. In this instance, I already have a vector of mean returns ($\mu$), a vector of ones, a covariance matrix ($\Sigma$), and ...
-1
votes
1answer
106 views

Covariance Interest Rate Risk Time Series

Apologies in advance if this question has been asked already. I am estimating basis risk for different term points in the curve. Imagine i have three time series (1-month, 3-month, 1-year). I ...
1
vote
1answer
998 views

principal component analysis on non stationary data

I read that since stock prices are non-stationary it does not make sense to take their covariance. So I took the log returns of stocks, computed covariance matrix, took the top few eigen vectors that ...
2
votes
0answers
59 views

Covariance Matrix: Calculating Error [duplicate]

I have a sample covariance matrix that is non positive-semi definite (due to missing data points). I am looking at a number of techniques to 'fix' my covariance matrix and make it positive semi-...
0
votes
1answer
477 views

Portfolio Optimisation/Covariance Estimation on a large scale

When using Markowitz Portfolio Theory, e.g. for finding an optimal portfolio composition, one needs to have estimates of the returns, but most importantly of the covariance matrix. If our universe of ...
2
votes
0answers
67 views

Reduced rank / matrix factorisation techniques and their uses in portfolio optimisation?

I am interested in reduced rank / matrix factorisation techniques and their uses across finance and portfolio optimisation. For example, PCA might be used to reduce the number of components you are ...
2
votes
2answers
2k views

Variance Matrix with 'nan' values

I am trying to optimize a simple portfolio using several random weights and choosing the best. When the number of assets is large I get a covariance matrix with 'nan' values because some asset pairs ...
6
votes
1answer
353 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 ...
1
vote
1answer
1k views

What is the difference between the Single Index Model and Multi-Index Models in computing the variance-covariance matrix of stock returns?

Would be very grateful for some help in comparing the single index model with other multi-index models in computing the variance-covariance matrix.
8
votes
2answers
4k views

Why does the Markowitz mean-variance model require the assumption of normality?

Given $N$ assets, the Markowitz mean-variance model requires expected returns, expected variances and a $N \times N$ covariance matrix. The joint distribution is fully defined by these measures. ...