Questions tagged [covariance]

Questions about covariance, a measure of (linear) association between two random variables.

Covariance is a measure which shows how much two RVs are dependent. If they are fully independent it would be zero and as much as they are dependent it would have a greater value. You can have a much powerful insight by description of the following formula:

The covariance of the random variables $X$ and $Y$ is the difference of the Expected value of their product ($E(XY)$) by the product of their expected values ($E(X)E(Y)$).

\begin{align*} \sigma(X,Y) = E(XY)-E(X)E(Y) \end{align*}

If they are independent then $E(XY)=E(X)E(Y)$ and therefore the covariance would be zero. Also, as much as they depend on each other their distance would be higher.

Though the main formula for definition of co-variance is \begin{align*} \sigma(X,Y) = E \left[ \left(X-E(X)\right) \left(Y-E(Y)\right) \right] \end{align*}

we can convert it to the pre-explained one (for the finite-domain random variables):

\begin{align*} \sigma(X,Y) &= E \left[ \left(X-E(X)\right) \left(Y-E(Y)\right) \right] \\\ &= E \left[ X Y - X E(Y) - E(X) Y + E(X) E(Y) \right]\\\ &= E (X Y) - E(X) E(Y) - E(X) E(Y) + E(X) E(Y) \\\ &= E (X Y) - E(X) E(Y) \end{align*}

Also, for two vectors of random variables ($\mathbb{X}$ and $\mathbb{Y}$) the covariance matrix has been defined as a matrix which each cell shows the covariance of corresponding cell in the matrix ($\mathbb{X} \times \mathbb{Y}^T$).

Reference:

2065 questions
0
votes
1 answer

What means : covariance are measure of linear dependance? Link with the skewness

What means : covariance are measure of linear dependance ? For example, if $Correlation(X,Y)=1$, do we have that $X=\alpha Y+c$ ? Now, if $Correlation(X,Y)=\frac{1}{2}$, what that will say ? That $X=\frac{1}{2}Y+???$ For example, the skewness of a…
John
  • 858
0
votes
0 answers

How can we interpret a covariance of a data wth zero mean?

Covariance Matrix of Zero Mean Data. The data set has zero mean does it somehow relects in covariance matrix ?
0
votes
0 answers

Covariance between lognormal and normal random variable

Good evening, I have the following question: Lets assume X is normally distribued and Y is log normal. Now, i want to obtain the covariance between both random variables. I am aware that: Cov(X,Y) = E(XY) - E(X)*E(Y) While E(X) and E(Y) are easy to…
0
votes
2 answers

Is covariance transitive?

If given: $$cov(x, y) = 0, cov(x, z) = 0$$ then can we conclude that: $$cov(y, z) = 0$$
0
votes
0 answers

Expression for Covariance- summation over duplicates

Suppose I have a random variable: $$ Y_{it}=A_{it}+B_{it} $$ which is made up of two random variables $A$ and $B.$ $i$ is the unit of observation that runs through $i=1....N$ for each time period $t=1...T$. Now taking the covariance of $Y$ for any…
ChinG
  • 133
  • 1
  • 16
0
votes
1 answer

How to prove covariance inequality?

Problem statement - Let $X$ be any random variable and $g(x)$ and $h(x)$ be any functions such that $E(g(X)), E(h(X))$ and $E(g(X)h(X))$ exist. If $g(x)$ is non-decreasing and $h(x)$ is non-increasing then prove that $E(g(X)h(X)) \le…
0
votes
0 answers

covariance matrix for two vector-valued time series

I have an $n\times 1$ vector $\vec{v}$ and an $m\times 1$ vector $\vec{w}$, where in general $m \ne n$. Each component of the vectors represents a variable that I am observing. These vectors evolve throughout time, and I store them in two time…
0
votes
1 answer

GMM - Covariance matrix is causing exponential to tend to infinity

We are trying to create a GMM that can recognise targets in a picture and pick them out. We have got to the point when the system can identify features in the image and test them against a GMM, however I think the covariance matrix is incorrect. One…
Hewiiitt
  • 103
0
votes
0 answers

Covariance simplification

We all know that the covariance between two variables is defined as: $Cov(X_{i},Y_{i}) = E[(X_{i}-\mu_{x})(Y_{i}-\mu_{Y})]$ Now I have seen this "simplification": $E[(X_{i}-\mu_{x})(Y_{i}-\mu_{Y}) = E[(X_{i}-\mu_{x})Y_{i})]$ I get that you can…
Kuma
  • 141
0
votes
0 answers

Covariance Quick Question

so I have Cov(X,Y). I was just wondering if this would allow me to find Cov(2X, 2Y)? And if so, how? More specifically, how would this work for $Cov(e^X, e^Y)$?
0
votes
1 answer

Is this covariance formula wrong?

This Wolfram covariance note says that $$cov(X,Y)=\langle (X-\mu_X)(Y-\mu_y)\rangle$$ $$=\langle X Y\rangle-\mu_x\mu_y$$ However, my deduction doesn't agree with it: $$\langle…
xtt
  • 125
0
votes
1 answer

covariance and correlation of x and y

Given that the independent random variables $X$ and $Y$ have variance $36$ and $16$ respectively. Find (i) $Var(X + Y)$ (ii) $Var(X – Y)$ (iii) the correlation coefficient between $(X + Y)$ and $(X – Y)$ I found the answers for the first $2$ parts…
0
votes
0 answers

Estimating variants based on estimation of expected value

Say we have a random variable. Say a dice. Say we roll it 10 times. Say we got $x_1$ $x_2$ $x_3$ ... $x_10$ Estimate of the mean is $(x_1+x_2+x_3 + ... + x_10)/10$ Say we got that estimate. let's call it $\mu$. Say we want to compute the variance…
user4951
  • 1,714
0
votes
1 answer

Prove that Cov$(\sum_{k=j}^\infty \rho^k e_{t-k}, \sum_{k=0}^\infty \rho^k e_{t-j-k} ) = \rho^j \frac{\sigma^2}{1-\rho^2}$, where $e_t$ white noise

Let $e_t$ be a white noise, in other words: E$e_t = 0$, Cov$(e_t, e_{t'})=0$, when $t \not = t'$, Var$(e_t) = \sigma^2$ (do not depends on time t) Let $|\rho| < 1$, $ j>0 $ be constants. How to prove that Cov$(\sum_{k=j}^\infty \rho^k e_{t-k},…
Mira
  • 95
0
votes
1 answer

Can I make statements about the covariance from looking at univariate distributions?

Can I make any statement about the covariance from just looking at these two density functions? My intuition is the following: How could the covariance be high here if the probability for high values is low for F and high for G. If they were…
user2820379
  • 313
  • 1
  • 2
  • 11