Skip to content
Prev 361052 / 398506 Next

Matrix multiplications

Roy,

Yes, t(y-X %*% b) is the transpose of y-X %*% b. In principle the product
of  t(y-X %*% b) *(y-X %*% b) is a scalar, I don't know why I have an error
message after the following line:

(t(y-X %*% b)%*%(y-X %*% b)/(length(y)-ncol(X)))*solve(t(X)%*% X)

Thanks


On Sat, May 21, 2016 at 9:10 PM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn at noaa.gov> wrote: