Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [covariance]

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

Filter by
Sorted by
Tagged with
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
27k 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 ...
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 ...
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 ...
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 ...
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(-...
3
votes
0answers
279 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
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?.
6
votes
1answer
713 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 ...
4
votes
1answer
671 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 ...
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} & \...
1
vote
1answer
82 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
0answers
30 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 ...