Calculating Mean and Covariance Matrix with New Variables?

In summary, the conversation involves discussing mean vectors and covariance matrices for randomly distributed variables. The professor has not covered one topic and expects students to solve a problem using that topic. The new variables are defined as y1 = z1 + 2z3, y2 = z1 + z2 - z3, and y3 = 2z1 + z2 + z3 - 7. The mean vector and covariance matrix for these new variables can be found by applying a linear transformation to the original mean vector. The covariance matrix can also be transformed using general rules.
  • #1
retspool
36
0
My professor sucks
she hasnt gone over mean vector and she expects up to solve this

let z1, z2, z3 be the random variables with mean vector and covariance matrix given below

mean vector = [1 2 3]T. T = transpose

covariance vector

3 2 1
2 2 1
1 1 1


Define the new variables
y1 = z1 + 2z3; y2 = z1 + z2 - z3; y3 = 2z1 + z2 + z3 - 7
(a) Find the mean vector and the covariance matrix of (y1; y2; y3).
(b) Find the mean and variance of
y =(y1 + y2 + y3)/3

Thanks
 
Physics news on Phys.org
  • #2
i assume you are talking about multivariate guassian distributed random variables, see below
http://en.wikipedia.org/wiki/Multivariate_normal_distribution

the means will sum directly, though you'll have to think a bit more about the covariances...

you could either consider each element of the covariance directly or you could write the sum oand try and manipulate it into the normal form
 
  • #3
"she hasnt gone over mean vector and she expects up to solve this"

I'm skeptical of that comment.

You can write the new vector [tex] (y_1, y_2, y_3)' [/tex] as a linear transformation of the original variables, then apply the same transformation to the original mean vector.
There are general rules for transforming a covariance matrix (not covariance vector) from one set of variables to another - more matrix multiplication. The processes do not depend on the assumption of normality.
 

1. What is the meaning of mean and covariance matrix?

The mean and covariance matrix is a statistical tool used to measure the central tendency and variability of a set of data. The mean is the average or most typical value of the data, while the covariance matrix shows how the different variables in the data are related to each other.

2. How is the mean and covariance matrix calculated?

The mean is calculated by adding up all the values in a dataset and dividing by the total number of values. The covariance matrix is calculated by taking the differences between each variable and the mean, multiplying those differences, and then dividing by the total number of values.

3. What is the purpose of using a mean and covariance matrix?

The mean and covariance matrix can provide valuable insights into the distribution and relationships of a dataset. It is commonly used in data analysis, machine learning, and statistical modeling to identify patterns, make predictions, and assess the accuracy of a model.

4. How is the mean and covariance matrix used in machine learning?

In machine learning, the mean and covariance matrix are used to calculate the probability distribution of a dataset and to determine the relationship between different variables. This information is then used to train models and make predictions based on new data.

5. Can the mean and covariance matrix be affected by outliers?

Yes, outliers, or extreme values, can greatly affect the mean and covariance matrix. Outliers can skew the mean and make it an inaccurate representation of the data. They can also have a large impact on the covariance matrix, causing it to show stronger or weaker relationships between variables than actually exist in the data.

Similar threads

  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
14
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
894
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
985
  • Linear and Abstract Algebra
Replies
17
Views
4K
  • Calculus and Beyond Homework Help
Replies
15
Views
3K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top