Question 1. Consider a p-dimensional response variable j, containing p variables, with n observation vectors 1,..., In. The sample mean vecior of these observation vectors is denoted by j = (1/n) E1 Fi. a) Given that the sample covariance matrix, S, is defined by 1 S = (或一司) (五一)", n-1 1=1 i) Show that 1 S = n - 1 i=1 ii) Using the above result, show that S can alternatively be defined as - ) "צ דה - 1 Y 1 S = Y, where Y is the data matrix, I is the identity matrix and J is a matrix of 1's. [Hint: Consider re-writing the mean vector in terms of the data matrix (see lecture notes).)
Question 1. Consider a p-dimensional response variable j, containing p variables, with n observation vectors 1,..., In. The sample mean vecior of these observation vectors is denoted by j = (1/n) E1 Fi. a) Given that the sample covariance matrix, S, is defined by 1 S = (或一司) (五一)", n-1 1=1 i) Show that 1 S = n - 1 i=1 ii) Using the above result, show that S can alternatively be defined as - ) "צ דה - 1 Y 1 S = Y, where Y is the data matrix, I is the identity matrix and J is a matrix of 1's. [Hint: Consider re-writing the mean vector in terms of the data matrix (see lecture notes).)
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Please solve correctly part (b) Only in half hour please show neat and clean work
![Question 1. Consider a p-dimensional response variable j, containing p variables, with n observation
vectors j1, ..., n. The sample mean vector of these observation vectors is denoted by = (1/n)E1 Fi.
a) Given that the sample covariance matrix, S, is defined by
n
1
(5i – 5) (7. – 5)" ,
S
-
1=1
i) Show that
S =
i=1
ii) Using the above result, show that S can alternatively be defined as
s=" (1-) .
yT
Y,
n -
where Y is the data matrix, I is the identity matrix and J is a matrix of 1's.
[Hint: Consider re-writing the mean vector g in terms of the data matrix (see lecture notes).
b) Consider the following (3x3) data matrix, containing three observations of three variables y1, y2 and y3:
5 2 2
1 3 5
6 4 1
Y =
Calculate
i) The sample covariance matrix S (by hand);
ii) The sample correlation matrix R (by hand) using the equation
R= D,-SD,-',
and comment on each of the three elements in the first column of this matrix.
[Hint: Recall how to find the inverse of a diagonal matrix.]](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff8268f00-1e22-49fe-9b99-9cbbb3c8020a%2Fe32724c9-b14f-4739-8c32-5889a9e03c78%2Fsoxzuo2_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Question 1. Consider a p-dimensional response variable j, containing p variables, with n observation
vectors j1, ..., n. The sample mean vector of these observation vectors is denoted by = (1/n)E1 Fi.
a) Given that the sample covariance matrix, S, is defined by
n
1
(5i – 5) (7. – 5)" ,
S
-
1=1
i) Show that
S =
i=1
ii) Using the above result, show that S can alternatively be defined as
s=" (1-) .
yT
Y,
n -
where Y is the data matrix, I is the identity matrix and J is a matrix of 1's.
[Hint: Consider re-writing the mean vector g in terms of the data matrix (see lecture notes).
b) Consider the following (3x3) data matrix, containing three observations of three variables y1, y2 and y3:
5 2 2
1 3 5
6 4 1
Y =
Calculate
i) The sample covariance matrix S (by hand);
ii) The sample correlation matrix R (by hand) using the equation
R= D,-SD,-',
and comment on each of the three elements in the first column of this matrix.
[Hint: Recall how to find the inverse of a diagonal matrix.]
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman