I believe there is a small typo in the expression for RSS in the second sentence of the subsection 'Least squares, maximum likelihood, and Bayesian inference' on p.146. Specifically, the expression given for RSS is:
RSS = \sum_{i=1}^{n}(y_i - X\hat{\beta})^2.
However, yi is a number, and X\hat{\beta} is a vector of length n. Perhaps the expression is supposed to be:
RSS = \sum{i=1}^{n}(yi - X{i}\hat{\beta})^2
(that is, with X_{i}, the i^th row of X, instead of X itself).
Hi there,
I believe there is a small typo in the expression for RSS in the second sentence of the subsection 'Least squares, maximum likelihood, and Bayesian inference' on p.146. Specifically, the expression given for RSS is: RSS = \sum_{i=1}^{n}(y_i - X\hat{\beta})^2. However, yi is a number, and X\hat{\beta} is a vector of length n. Perhaps the expression is supposed to be: RSS = \sum{i=1}^{n}(yi - X{i}\hat{\beta})^2 (that is, with X_{i}, the i^th row of X, instead of X itself).
Thanks,
Ravi