作者left (881 forever)
看板Math
標題[線代] 線性回歸的一個證明
時間Mon Aug 29 15:29:54 2016
H = X(X^tX)^-1X^t
X : an N by d+1 real matrix
X^t : the transpose of X
X^-1: the inverse of X
e : an N by 1 error real matrix
w,w^*: an d+1 by 1 real matrix
Suppose the inverse of (X^tX) exists
Consider y = Xw^*+ e and y’= Xw
Show that
||y-y'||^2
=||(I-H)e||^2
=(N-d-1)||e||^2
ps: The following has been proven.
a. H^t=H
b. H^k = H for any positive integer k
c. (I-H)^k = (I-H) for any positive integer k
d. trace(H)=d+1
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.220.35.20
※ 文章網址: https://www.ptt.cc/bbs/Math/M.1472455798.A.462.html
※ 編輯: left (61.220.35.20), 08/29/2016 15:36:15
→ kerwinhui : How are w and w^* related? 08/29 17:40
→ left : w^* is given in advance, so we can get a noisy 08/29 18:17
→ left : signal y. And, then we want to search a w to get 08/29 18:18
→ left : a estimate of y through y'. 08/29 18:19