DUET
- 55
- 0
if X= (3, 5, 7) & Y = (2, 4, 1)
What is the 3x3 covariance matrix for X & Y?
What is the 3x3 covariance matrix for X & Y?
The discussion centers on the calculation and understanding of the covariance matrix for two vectors, X = (3, 5, 7) and Y = (2, 4, 1). It is established that the covariance matrix is 2x2, with the diagonal elements representing the variances var(X) and var(Y), while the off-diagonal elements are cov(X,Y) and cov(Y,X). The covariance is defined mathematically for both real-valued random variables and for random vectors, highlighting the distinction between one-dimensional and multi-dimensional cases.
PREREQUISITESStatisticians, data analysts, machine learning practitioners, and anyone involved in quantitative research requiring an understanding of covariance and its applications in data analysis.
DUET said:if X= (3, 5, 7) & Y = (2, 4, 1)
What is the 3x3 covariance matrix for X & Y?
DUET said:The covariance between two jointly distributed real-valued random variables x and y with finite second moments is defined as-
1. cov(x,y)=E[(x-E[x])(y-E[y])]
The covariance between two jointly distributed real-valued random vectors x and y (with m and n dimensional respectively) with finite second moments is defined as
2. cov(x,y)=E[(x-E[x])(y-E[y])T]
What is the difference between #1 & #2?
Here is the link:mathman said:In this context what do you mean by dimensional? X and Y are real valued. Do you mean the number of samples?
DUET said:The covariance between two jointly distributed real-valued random variables x and y with finite second moments is defined as-
1. cov(x,y)=E[(x-E[x])(y-E[y])]
The covariance between two jointly distributed real-valued random vectors x and y (with m and n dimensional respectively) with finite second moments is defined as
2. cov(x,y)=E[(x-E[x])(y-E[y])T]
What is the difference between #1 & #2?