- #1
zollen
- 3
- 0
This problem projects b = (b1,b2...,bm) onto the line through a = (1, 1, 1, ...1). We solve m equations ax = b in 1 unknown (by least squares).
(a) Solve aT a ##\hat{x}## = aT b to show that ##\hat{x}## is the mean (the average) of the b’s.
(b) Find e = b - a ##\hat{x}## and the variance ||e||2 and the standard deviation ||e||
(c) The horizontal line ##\hat{x}## = 3 is closest to b = (1, 2, 6). Check that p = (3, 3 3) is perpendicular to e and find the 3 by 3 projection matrix P.
Ans(a): Because a = (1,1,1,...1), therefore aT a = 1 + 1 + 1 +...+ 1 = 1 * m = m
And aT b = b1 + b2 + ... + bm
So ##\hat{x}## = (b1 + b2 + b3 + ... + bm) / m = bavg
Ans(b): Need help..
Ans(c): Need help..
(a) Solve aT a ##\hat{x}## = aT b to show that ##\hat{x}## is the mean (the average) of the b’s.
(b) Find e = b - a ##\hat{x}## and the variance ||e||2 and the standard deviation ||e||
(c) The horizontal line ##\hat{x}## = 3 is closest to b = (1, 2, 6). Check that p = (3, 3 3) is perpendicular to e and find the 3 by 3 projection matrix P.
Ans(a): Because a = (1,1,1,...1), therefore aT a = 1 + 1 + 1 +...+ 1 = 1 * m = m
And aT b = b1 + b2 + ... + bm
So ##\hat{x}## = (b1 + b2 + b3 + ... + bm) / m = bavg
Ans(b): Need help..
Ans(c): Need help..
Last edited by a moderator: