備忘ログ

チラシの裏的備忘録&メモ

決定係数の話の続き

決定係数 R^ 2の話の続き。
indenkun.hatenablog.com


tss: Total sum of squares: 全平方和
rss: residual sum of squares: 残差平方和
mss: model sum of squaress: 回帰平方和

 tss = rss +mss

 1- \dfrac{rss}{rss+mss} = 1- \dfrac{rss}{tss}

 \begin{align} 
1- \dfrac{rss}{rss+mss} &= \dfrac{rss+mss}{rss+mss} - \dfrac{rss}{rss+mss}\\
&= \dfrac{rss + mss -rss}{rss + mss}\\
&= \dfrac{mss}{rss+mss}
\end{align}

\dfrac{mss}{rss+mss}= \dfrac{mss}{tss}

(一部修正)