yi−yˉ=yi−yi^+yi^−yˉ
∑(yi−yˉ)2=∑(yi−yi^)2+∑(yi^−yˉ)2+2∑(yi−yi^)(yi^−yˉ)
(yi−yi^)(yi^−yˉ)=(yi−b0−b1xi)(b0+b1xi−yˉ)=(yi−yˉ+xˉb1−b1xi)(yˉ−xˉb1+b1xi−yˉ)
=(yi−yˉ+(xˉ−xi)b1)(b1xi−xˉb1)
=(yi−yˉ−(xi−xˉ)b1)b1(xi−xˉ)
=b1(yi−yˉ)(xi−xˉ)−b12(xi−xˉ)2
We know that b1=Var(X)Cov(X,Y)
so we will have
∑(yi−yi^)(yi^−yˉ)=Var(X)Cov(X,Y)Cov(X,Y)−(Var(X)Cov(X,Y))2Var(X)=0
We call ∑(yi−yˉ)2 total variation without the knowledge of x and ∑(yi−yi^)2 total variation remaining with the knowledge of x and ∑(yi^−yˉ)2 total variation explained with the knowledge of x