Let X and Y be two random variables, denoting the age and weight (in kg), respectively. Consider a random sample of size n = 20 from these two variables: X = {28, 50, 61, 72, 80, 51, 20, 35, 28, 97, 37, 64, 46, 67, 34, 21, 21, 59, 46, 46} Y = {62, 87, 88, 109, 95, 104, 58, 82, 70, 102, 67, 104, 83, 89, 69, 68, 65, 103, 78, 102} (a) Find the mean and median of X. (b) Find the variance of X. (Use population variance, i.e normalize by total number of observations) (c) Find the 2-dimensional mean μ

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Let X and Y be two random variables, denoting the age and weight (in kg), respectively. Consider a
random sample of size n = 20 from these two variables:
X = {28, 50, 61, 72, 80, 51, 20, 35, 28, 97, 37, 64, 46, 67, 34, 21, 21, 59, 46, 46}
Y = {62, 87, 88, 109, 95, 104, 58, 82, 70, 102, 67, 104, 83, 89, 69, 68, 65, 103, 78, 102}
(a) Find the mean and median of X.
(b) Find the variance of X. (Use population variance, i.e normalize by total number of
observations)
(c) Find the 2-dimensional mean μ
(d) Find the covariance matrix between these two variables. (Do not use the built-in function)
(e) Find the eigenvalues and eigenvectors of the covariance matrix. (Do not use the built-in
function)
(f) What is the probability of observing an age of 75 or higher?
(g) What is the correlation between age and weight? (Do not use the built-in function)
(h) Draw the scatter plot of the variable Y versus the variable X.
Transcribed Image Text:Let X and Y be two random variables, denoting the age and weight (in kg), respectively. Consider a random sample of size n = 20 from these two variables: X = {28, 50, 61, 72, 80, 51, 20, 35, 28, 97, 37, 64, 46, 67, 34, 21, 21, 59, 46, 46} Y = {62, 87, 88, 109, 95, 104, 58, 82, 70, 102, 67, 104, 83, 89, 69, 68, 65, 103, 78, 102} (a) Find the mean and median of X. (b) Find the variance of X. (Use population variance, i.e normalize by total number of observations) (c) Find the 2-dimensional mean μ (d) Find the covariance matrix between these two variables. (Do not use the built-in function) (e) Find the eigenvalues and eigenvectors of the covariance matrix. (Do not use the built-in function) (f) What is the probability of observing an age of 75 or higher? (g) What is the correlation between age and weight? (Do not use the built-in function) (h) Draw the scatter plot of the variable Y versus the variable X.
Expert Solution
steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
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…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
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
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman