chain_rules
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| chain_rules [2026/03/10 22:00] – [e.g.] hkimscil | chain_rules [2026/03/10 22:11] (current) – [e.g.] hkimscil | ||
|---|---|---|---|
| Line 40: | Line 40: | ||
| \end{eqnarray*} | \end{eqnarray*} | ||
| - | For SSR 을 intercept | + | intercept, a 에 대한 SSR의 |
| \begin{eqnarray*} | \begin{eqnarray*} | ||
| \widehat{y} & = & a + b * x \\ | \widehat{y} & = & a + b * x \\ | ||
| \text{a} & = & \text{intercept} \\ | \text{a} & = & \text{intercept} \\ | ||
| \text{residual} & = & (y - \widehat{y}) \\ | \text{residual} & = & (y - \widehat{y}) \\ | ||
| - | \dfrac{\text{d.[SSR]}^2}{\text{d.a}} & = & | + | \text{SSR} & = & \sum {\text{residual}^2} = \sum{(y - (a + b x))^2} |
| - | \dfrac{\text{d.[SSR]}^2}{\text{d.Res}} * \dfrac{\text{d.Res}}{\text{d.a}} \\ | + | \dfrac{\text{d.SSR}}{\text{d.a}} & = & |
| + | \dfrac{\text{d.SSR}}{\text{d.Res}} * \dfrac{\text{d.Res}}{\text{d.a}} \\ | ||
| & = & (2 * \text{residual}) * \dfrac{ \text{d.Res}} {\text{d.intercept}} \\ | & = & (2 * \text{residual}) * \dfrac{ \text{d.Res}} {\text{d.intercept}} \\ | ||
| & = & (2 * \text{residual}) * \dfrac{y - (a + b * x)} {\text{d.intercept}} \\ | & = & (2 * \text{residual}) * \dfrac{y - (a + b * x)} {\text{d.intercept}} \\ | ||
| Line 55: | Line 56: | ||
| \end{eqnarray*} | \end{eqnarray*} | ||
| - | SSR 을 b를 가지고 | + | slope, |
| \begin{eqnarray*} | \begin{eqnarray*} | ||
| \widehat{y} & = & a + b * x \\ | \widehat{y} & = & a + b * x \\ | ||
| \text{b} & = & \text{slope} \\ | \text{b} & = & \text{slope} \\ | ||
| \text{residual} & = & (y - \widehat{y}) \\ | \text{residual} & = & (y - \widehat{y}) \\ | ||
| - | \dfrac{\text{d.[SSR]}^2}{\text{d.a}} & = & | + | \text{SSR} & = & \sum {\text{residual}^2} = \sum{(y - (a + b x))^2} |
| - | \dfrac{\text{d.[SSR]}^2}{\text{d.Res}} * \dfrac{\text{d.Res}}{\text{d.b}} \\ | + | \dfrac{\text{d.SSR}}{\text{d.a}} & = & |
| + | \dfrac{\text{d.SSR}}{\text{d.Res}} * \dfrac{\text{d.Res}}{\text{d.b}} \\ | ||
| & = & (2 * \text{residual}) * \dfrac{ \text{d.Res}} {\text{d.b}} \\ | & = & (2 * \text{residual}) * \dfrac{ \text{d.Res}} {\text{d.b}} \\ | ||
| & = & (2 * \text{residual}) * \dfrac{y - (a + b * x)} {\text{d.b}} \\ | & = & (2 * \text{residual}) * \dfrac{y - (a + b * x)} {\text{d.b}} \\ | ||
| & = & 2 * \text{residual} * -x \\ | & = & 2 * \text{residual} * -x \\ | ||
| - | & = & -2 * x * \text{residual} \\ | + | & = & -2 x * \text{residual} \\ |
| - | & = & -2 * x * (y - (a + b * x)) \\ | + | & = & -2 x * (y - (a + b * x)) \\ |
| - | & = & -2 * x * (y - \widehat{y}) \\ | + | & = & -2 x * (y - \widehat{y}) \\ |
| \end{eqnarray*} | \end{eqnarray*} | ||
| + | |||
chain_rules.1773180038.txt.gz · Last modified: by hkimscil
