Questions tagged [covariance]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
51 views

What do large weights above 1 in a portfolio represent?

If I have a portfolio consisting of weights -12,11,3,-2,5,-5, I know that negative weights correspond to shorting but what do these large weights represent? I thought the weights are the proportion of ...
0
votes
0answers
50 views

Can I build an efficient frontier using matrix algebra?

If i have a vector of expected returns $A$, a covariance matrix $C$ and a vector of the corresponding weights $W$ for each investment, is it possible to generate the efficient frontier with vector ...
-3
votes
0answers
46 views

How are estimated correlation matrices used for portfolio theory?

I cant find much on this topic online but in what ways are correlation matrices used? I am assuming covariance matrices are used to minimize risk and thats how its related. Any literature on the topic ...
1
vote
3answers
162 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
82 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?
1
vote
1answer
45 views

Covariation of Ito semimartingales

If we have two Ito semimartingales over $[0,T]$: $$d X_t^i=a^i_tdt+\sigma_t^idW_t^i,\quad i=1,2$$ What is the relationship between $$\langle X^1,X^2 \rangle_t \quad \text{and} \quad \langle W^1,W^2 \...
2
votes
1answer
137 views

Covariance - Negative Portfolio

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.
0
votes
0answers
22 views

Decomposition of Contribution to Variance

$C$ is a $N\times N$ covariance matrix of stock returns. Assuming $w$ is a vector of positions in each asset, the total variance of the portfolio is $$w^TCw$$ The contribution to total variance of the ...
1
vote
1answer
59 views

How do i find the covariance between two portfolios?

I know that the formula for covariance is But this is for two securities. How do I find the covariance between two portfolios? more specifically between the global minimum variance (GMV) and the mean-...
3
votes
1answer
92 views

Turning a covariance sum into an integral

I am reading Lorenzo's Bergomi's book Stochastic Volatility Modeling, and I have come to this passage. I just would like to understand the derivation between the first and the second equality. I ...
20
votes
3answers
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 ...
5
votes
1answer
165 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 ...
0
votes
1answer
34 views

Decomposing Co-variance of Two Assets Terminal Prices into Forward measures

Let $X_T,Y_T$ be the terminal values of two price processes following Continuous Gaussian Motion (I.E.) let us assume no jumps. Further assume the correct forwards/futures price is given by $F^X_{t,T} ...
1
vote
0answers
50 views

covariance matrix in the CAPM model

I'm running a simulation for a 5 asset portfolio, calculating the optimal weights of each asset both with the statistical model (i.e. single index) and with the CAPM. my question is: how do you ...
0
votes
1answer
96 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 ...
4
votes
1answer
180 views

Why the weight vector of 'global minimum variance' the 'eigenvector' with the minimum eigenvalue?

Question Why is it the case that the weight vector of the global minimum variance portfolio the eigenvector of the covariance matrix with the smallest eigenvalue? Question with more details I ...
0
votes
0answers
55 views

Trading Bands for Tactical Asset Allocation

I am currently working through Portfolio Construction and Risk Budgeting, 4th edition, by Dr. Bernd Scherer. In chapter 12.6 the following methodology to construct trading bands around a tactical ...
2
votes
1answer
68 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 ...
1
vote
1answer
951 views

How to efficiently get covariance matrices from a rolling window in Matlab?

I'am trying to produce a rolling window to estimate a covariance matrix using a for-loop. I have my returns under the variable returns_sec and I have 260 ...
1
vote
0answers
30 views

Is there a differentiable formulation of Prado's HRP algo?

I get the sense the algo is just a graph representation the dependency structure. Am wondering if there is anything written on learning the weights by optimizing some parameters rather than a forward ...
1
vote
2answers
146 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 ...
3
votes
1answer
258 views

target market correlation for long / short equity portfolio

Given a long / short equity portfolio, I want to have some net long market exposure. My portfolio volatility is fixed to a target, so I don't think it makes sense to target market beta. I think I ...
0
votes
0answers
37 views

Mean-Variance Optimization - Appropriate to use covariance of daily returns if strategy involves fixed hold of 3 months?

I'm implementing the strategy outlined Quantitative Momentum (Gray & Vogel), which basically involves investing each quarter in a set of "high-quality momentum stocks" for a fixed 3-month hold ...
4
votes
6answers
254 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
3answers
1k views

Ledoit-Wolf Shrinkage estimator not giving positive definite covariance matrix

I used ten year daily data for 407 stocks and computed the daily and monthly covariance matrices. Since I have more variables than observations for the monthly matrix, I wasn't surprised to find the ...
0
votes
2answers
159 views

Prove ρ(X,Z) = ρ

The covariance of two random variables $X$ and $Y$ is defined by: $$\mathrm{Cov}(X,Y)= \operatorname{E}(X-\operatorname{E}(X))(Y-\operatorname{E}(Y))=\operatorname{E}(XY)-\operatorname{E}(X)\...
1
vote
0answers
50 views

One day standard deviation of a portfolio (long/short, different scalars)

I am attempting to calculate the expected one-day standard deviation of a portfolio in dollars. In other words, I am looking for the following: "I expect my portfolio to move _______ dollars on ...
6
votes
1answer
313 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 ...
1
vote
0answers
38 views

Covariance time frequency

I have rolling 3-year returns for an asset and a benchmark. I want to compare the covariance of the asset and benchmark, should I use the covariance of the rolling 3-year returns or the covariance ...
0
votes
1answer
66 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 ...
24
votes
3answers
4k 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 ...
3
votes
2answers
441 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
1answer
57 views

Generate scenarios of multiple related parameters

Assume I have three industry datasets: interest rates, inflation and unemployment. Data contains information of last ten years and it's monthly. Now, I would like to create N possible scenarios of ...
4
votes
0answers
92 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 ...
2
votes
1answer
97 views

Co-variance of Portfolio A with Portfolio B

I'm trying to calculate the correlation between two separate portfolios. I've used A*COV(AB)*B to calculate the co-variance of each portfolio where: A = Array ...
3
votes
0answers
283 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}$, ...
3
votes
0answers
106 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 ...
0
votes
1answer
96 views

Covariance and Beta: can anyone explain this calculation?

Let us consider a simple equity portfolio that has exposures to only two factors: 0.5 exposure to value and 0.8 exposure to momentum. Let us assume that the volatilities of the two factors are 3% for ...
2
votes
1answer
390 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: $$\...
1
vote
1answer
94 views

What are the units of the variance of returns?

I am a little confused about the units of the variance of returns. One way to compute that would be to look at the units of returns- $$r=\frac{1}{\Delta t}\ln\frac{P(t+\Delta t)}{P(t)}=\text{...
3
votes
2answers
416 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 ...
7
votes
3answers
2k 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 ...
2
votes
3answers
1k views

Negative variance?

Using the formula w*Cov*t(w) I can generate a negative portfolio variance. What are the implications of a negative variance? Should I just assume it's zero? A negative variance is troublesome ...
-2
votes
1answer
203 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,...
1
vote
4answers
8k views

Calculate correlation between two sub portfolios and the combined portfolio

I have two sub portfolios (lets call them portfolio a & portfolio b - a portfolio is just a vector of weights that sum to 1) that combine to create a total portfolio. I also have a 2 x 2 ...
7
votes
1answer
146 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{...
2
votes
3answers
2k 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 ...
-1
votes
1answer
30 views

Factor Models: uncorrelated errors don't impact covariances of assets

This question stems from time series factor models (e.g., CAPM, Fama-French, etc.), but is a broader idea. I am trying to comprehend how adding noise to a time series (e.g., error/residual from a ...
3
votes
0answers
207 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 ...
1
vote
1answer
129 views

Interest rate risk using copulas

In order to simulate an interest rate yield curve, can I just estimate a covariance matrix of historical key rate data, simulate with a normal copula, spline my simulated key rates, then price my ...