Questions tagged [covariance]

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

Filter by
Sorted by
Tagged with
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 ...
2
votes
1answer
352 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
980 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 ...
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
4k views

Using CAPM to find correlation of two assets with each other

I stumpled upon an exercise in an investments book: The data below describe a three-stock financial market that satisfies the single-index model. ...
2
votes
1answer
395 views

How to score a portfolio's diversity based on security returns?

What is the best way to score a portfolio's diversity based on it's returns covariance matrix? I know that if my portfolio has two securities and their returns' correlation coefficient is -1 that is ...
2
votes
1answer
64 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
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 ...
2
votes
1answer
1k views

What is the covariance of two correlated Ornstein-Uhlenbeck processes?

What is the covariance of two correlated Ornstein-Uhlenbeck processes? I was trying correlation(1,2)*Var1^(1/2)*Var2^(1/2), but I am not sure! I took Var1=(sigma1^2/(2*speedofmeanreversion1))*(1-exp(-...
2
votes
1answer
131 views

To understand FOMC events and its impact on the market

Last month when FOMC meeting decision went out that fed would start to exit QE3, immediately we saw a deleveraging effect: SPY went down, GLD went down, and LQD (bond) went down, but US dollars went ...
2
votes
1answer
318 views

Variance of a straddle (Black Scholes)

I am trying to determine the variance of the payout of a straddle. For puts and calls individually: Var[P] = E[P^2] - E[P]^2 Var[C] = E[C^2] - E[C]^2 where: $$ E[...
2
votes
1answer
1k views

How to see the impact of one variable on a set of other variables?

Editing my question: I have decided to use multiple factor model to model my stress test. I am using factor shock method to implement the propagation of shocks. I am doing this according to a book "...
2
votes
2answers
2k views

ex ante tracking error correlation between funds

I have two portfolio's called Comb & Global. They both have the same investable universe lets says 3000 stocks & are measured against the same benchmark. So it is possible that both funds hold ...
2
votes
1answer
451 views

Combining covariances?

Consider an economy with assets with return processes $A$, $B$, $C$, $D$. Consider a weighted index with return process $I=aA + bB + cC + dD$ where $a,b,c,d$ are coefficients, and $a+b+c+d = 1$. ...
2
votes
1answer
106 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.
2
votes
0answers
96 views

Ledoit-Wolf, expected order of optimal shrinkage intensity

I have a question regarding the optimal shrinkage intensity derived in the Ledoit-Wolf method. Specifically, I'm referring to their version concerned with the target defined as the single index factor ...
2
votes
0answers
47 views

How to calculate the estimation error of portfolio variance using propagation results?

I am trying to find a conservative approximation for the propagated estimation error of a investment portfolio's variance (comprising two assets), given we know the estimation error for the variance ...
2
votes
1answer
251 views

Why does my posterior mean differs from Idzorek's results?

I have implemented two different expressions (Idzorek p.6, Walters p.51) of a posterior mean return calculation within a Black-Litterman framework. My results are the same, irrespective of the ...
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 ...
1
vote
2answers
141 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 ...
1
vote
1answer
998 views

VaR Calculation - Covariance matrix is not positive semidefinite

This is a basic question. I have three assets, equally weighted, and all the mutual covariances are -1. Then, the covariance matrix looks like - ...
1
vote
1answer
91 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{...
1
vote
1answer
128 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 ...
1
vote
2answers
116 views

Explanations regarding Minimum Variance Portfolio

I am sorry in advance if this question seems a bit stupid but during my class my lecturer said that: "The traditional estimator of the variance-covariance matrix is the sample covariance. However ...
1
vote
1answer
309 views

How can I forecast future correlation?

There are some standard models for forecasting volatility (e.g., GARCH) and for forecasting returns (e.g., factor models). What kind of standard models exist for forecasting future correlation between ...
1
vote
1answer
871 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
1answer
251 views

Calculate control variate for monte carlo simulation

For an exercise I need to calculate $\mathbb{E}[X]$ with a Monte Carlo simulation. I need to use control variate $Y$ with $\text{Var}(Y)=2$ and $\text{Cov}(X,Y)=1$. I am asked to give the optimale ...
1
vote
3answers
16k views

Annualized Covariance

I have two time series. One with monthly returns on an asset and one with monthly returns on a benchmark index. I have calculated the covariance using the ...
1
vote
0answers
47 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 ...
1
vote
0answers
29 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
0answers
48 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 ...
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 ...
1
vote
0answers
87 views

Deriving Cox, Ingersoll and Ross expression for the relationship between forwards and futures, how do they conclude a specific step?

I'm trying to derive a specific relationship about the relationship between forwards and futures from "The relationship between forward and futures prices", written 1981 by Cox, Ingersoll and Ross (...
1
vote
0answers
241 views

Marchenko–Pastur, Student distribution and returns

I have a question regarding random matrix theory. I've been studying various papers and I found some confusing definitions of Marchenko-Pastur law. The most clear was the one on wiki: wiki-Pastur-...
1
vote
0answers
171 views

Fourier transform covariance estimator

I am estimating realized variance and covariance by the estimator described in this paper, and relying on Fourier Transform. Now, as my data is one day of data in ultra high frequency, so that the ...
1
vote
0answers
44 views

Portfolio Hedging under Uncertain Correlations

I have a portfolio ($w_0=1$) and two hedging assets ($w_1,w_2$) and a co-variance matrix for the three $\Sigma$. However the co-variance $\Sigma$ is only an estimate. For fairly well behaved assets (...
1
vote
0answers
875 views

How to calculate beta against a multi-asset benchmark

Lets say that I have a benchmark, $BM$ that consists of 3 assets- 30% asset $A$, 30% asset $B$ and 40% asset $C$. Now, lets further assume I am trying to construct a portfolio that uses $BM$ as its ...
1
vote
0answers
242 views

modeling regime switching for Correlation matrix

I am trying to estimate covariance in multiple time series. However, I want to do this using a regime-switching framework. So, I start with fitting a GARCH(1,1) model and then de-volatalize the series....
0
votes
3answers
2k views

How to estimate variance-covariance matrix of assets with different length of historical data? [duplicate]

Consider you have 4 assets A, B, C and D, where Asset <...
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)\...
0
votes
1answer
95 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 ...
0
votes
1answer
89 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
61 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 ...
0
votes
1answer
55 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 ...
0
votes
1answer
84 views

how to find the weights in a portfolio? [closed]

Compute the weights in a portfolio consisting of two kinds of stocks if the expected return on the portfolio is to be $E(K_v)=10\%$, given the following information on the returns on stock 1 and 2: $$ ...
0
votes
1answer
1k views

Variance covariance matrix for a portfolio containing bonds also with other asset classes

What should we take for a bond or a zero coupon bond in order to make a variance covariance matrix? For example:- Equities - we take the market price Cash - we take the spot rates Bonds - Do we take ...
0
votes
1answer
4k views

Can the Minimum Variance Hedge ratio be greater than 1?

The Minimum Variance Hedge ratio is defined as: $h = \rho * \frac{\sigma_S}{\sigma_F}$ For correlation $\rho$ and $\sigma_S , \sigma_F$ for S.D. of changes in asset and future prices accordingly. ...
0
votes
1answer
33 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} ...
0
votes
0answers
51 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 ...
0
votes
0answers
32 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 ...