ESS210B
Prof. Jin-Yi Yu
Multiple Regression (shown before)
qIf we want to regress y with more than one variables (x1, x2, x3,…..xn):
q
qAfter perform the least-square fit and remove means from all variables:
q
q
qSolve the following matrix to obtain the regression coefficients: a1, a2, a3, a4,….., an: