Suppose we observe (Xi, Yi) ∼ f (x, y) independently for i = 1, ..., n. Let ̄X = ∑n i=1 Xi/n, and ̄Y = ∑n i=1 Yi/n. Let ̃Xi = Xi − ̄X, and ̃Yi = Yi − ̄Y . Let X be the vector formed by ( ̃Xi, i = 1, ..., n), and Y be the vector formed by ( ̃Yi, i = 1, ..., n). For the following scatterplots of (Xi, Yi), i = 1, ..., n, where each (Xi, Yi) is a point, (1) Write down the possible value of correlation for each scatterplot. You do not need to be precise. (2) Plot the vectors of X and Y for each scatterplot. (3) Plot the regression line ̃Y = β ̃X on each scatterplot. Let ei = ̃Yi − β ̃Xi, and let e be the vector formed by (ei, i = 1, ..., n). Suppose β is obtained by minimizing |e|2 = ∑n i=1 e2 i (the so-called least squares estimation, which geometrically amounts to a projection of Y on X). Plot βX and e for each vector plot in (2).

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter1: Vectors
Section1.3: Lines And Planes
Problem 18EQ
icon
Related questions
Question

Please no written by hand solution

Suppose we observe (Xi, Yi) ∼ f (x, y) independently for i = 1, ..., n. Let ̄X = ∑n i=1 Xi/n, and ̄Y = ∑n i=1 Yi/n. Let ̃Xi = Xi − ̄X, and ̃Yi = Yi − ̄Y . Let X be the vector formed by ( ̃Xi, i = 1, ..., n), and Y be the vector formed by ( ̃Yi, i = 1, ..., n). For the following scatterplots of (Xi, Yi), i = 1, ..., n, where each (Xi, Yi) is a point, (1) Write down the possible value of correlation for each scatterplot. You do not need to be precise. (2) Plot the vectors of X and Y for each scatterplot. (3) Plot the regression line ̃Y = β ̃X on each scatterplot. Let ei = ̃Yi − β ̃Xi, and let e be the vector formed by (ei, i = 1, ..., n). Suppose β is obtained by minimizing |e|2 = ∑n i=1 e2 i (the so-called least squares estimation, which geometrically amounts to a projection of Y on X). Plot βX and e for each vector plot in (2).

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 50 images

Blurred answer
Recommended textbooks for you
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning