Explained sum of squares: Difference between revisions

Content deleted Content added
Line 95:
 
Thus,
:<math> TSS = |\|y - \bar y|\|_2^2 = |\|y - {\hat y} + {\hat y} - \bar y|\|_2^2 </math>
:<math> TSS = |\|y - {\hat y}|\|_2^2 + |\|{\hat y} - \bar y|\|_2^2 + 2 <y - {\hat y}, {\hat y} - {\bar y}> </math>
:<math> TSS = RSS + ESS + 2 y^T {\hat y} -2 {\hat y}^T {\hat y} - 2 y^T {\bar y} + 2 {\hat y}^T{\bar y} </math>
:<math> TSS = RSS + ESS - 2 y^T {\bar y} + 2 {\hat y}^T{\bar y} </math>