Warning: Undefined variable $type in /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php on line 3

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/1/sub.jp-asate/web/wiki/includes/json/FormatJson.php on line 297

Warning: Trying to access array offset on value of type bool in /home/users/1/sub.jp-asate/web/wiki/includes/Setup.php on line 660

Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/users/1/sub.jp-asate/web/wiki/includes/Setup.php on line 834

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /home/users/1/sub.jp-asate/web/wiki/includes/session/PHPSessionHandler.php on line 126

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /home/users/1/sub.jp-asate/web/wiki/includes/session/PHPSessionHandler.php on line 127

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/users/1/sub.jp-asate/web/wiki/includes/session/PHPSessionHandler.php on line 133

Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /home/users/1/sub.jp-asate/web/wiki/includes/session/PHPSessionHandler.php on line 140

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/1/sub.jp-asate/web/wiki/languages/LanguageConverter.php on line 773

Warning: Cannot modify header information - headers already sent by (output started at /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php:3) in /home/users/1/sub.jp-asate/web/wiki/includes/Feed.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php:3) in /home/users/1/sub.jp-asate/web/wiki/includes/Feed.php on line 300

Warning: Cannot modify header information - headers already sent by (output started at /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php:3) in /home/users/1/sub.jp-asate/web/wiki/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php:3) in /home/users/1/sub.jp-asate/web/wiki/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php:3) in /home/users/1/sub.jp-asate/web/wiki/includes/WebResponse.php on line 46
https:///mymemo.xyz/wiki/api.php?action=feedcontributions&feedformat=atom&user=133.1.90.125 miniwiki - 利用者の投稿記録 [ja] 2024-05-28T18:49:00Z 利用者の投稿記録 MediaWiki 1.31.0 残差平方和 2016-02-04T01:12:52Z <p>133.1.90.125: </p> <hr /> <div>[[統計学]]において、&#039;&#039;&#039;残差平方和&#039;&#039;&#039;(ざんさへいほうわ、{{lang-en-short|residual sum of squares, &#039;&#039;&#039;RSS&#039;&#039;&#039;}})は、[[残差]]の平方(二乗)の[[和]]である。残差二乗和、SSR(sum of squared residuals)やSSE(sum of squared errors of prediction)とも呼ばれる。残差平方和はデータと推定モデルとの間の不一致を評価する尺度である。小さいRSSの値はデータに対してモデルがぴったりとフィットしていること示している。<br /> <br /> 一般的に、総平方和 = 説明された平方和 + 残差平方和である。<br /> <br /> ==説明変数==<br /> 単一の説明変数を持つモデルでは、RSSは以下の式で与えられる。<br /> :&lt;math&gt;RSS = \sum_{i=1}^n (y_i - f(x_i))^2, &lt;/math&gt;<br /> この時&#039;&#039;y&#039;&#039;&lt;sub&gt;&#039;&#039;i&#039;&#039;&lt;/sub&gt;は&#039;&#039;i&#039;&#039;番目の変数の値、&#039;&#039;x&#039;&#039;&lt;sub&gt;&#039;&#039;i&#039;&#039;&lt;/sub&gt;は&#039;&#039;i&#039;&#039;番目の説明変数の値、&lt;math&gt;f(x_i)&lt;/math&gt;は&#039;&#039;y&#039;&#039;&lt;sub&gt;&#039;&#039;i&#039;&#039;&lt;/sub&gt;(&lt;math&gt;\hat{y_i}&lt;/math&gt;とも)の予測値である。標準線形単純[[回帰分析|回帰モデル]]では、 &lt;math&gt;y_i = a+bx_i+\varepsilon_i\,&lt;/math&gt;(&#039;&#039;a&#039;&#039;および&#039;&#039;b&#039;&#039;は[[係数]]、&#039;&#039;y&#039;&#039;および&#039;&#039;x&#039;&#039;はそれぞれ[[従属変数]]および[[独立変数]]、&amp;epsilon;は誤差項)である。残差平方和は&amp;epsilon;&lt;sub&gt;&#039;&#039;i&#039;&#039;&lt;/sub&gt;の[[推定量]]の平方の和であり以下の式で表わされる。<br /> :&lt;math&gt;RSS = \sum_{i=1}^n (\epsilon_i)^2 = \sum_{i=1}^n (y_i - (\alpha + \beta x_i))^2, &lt;/math&gt;<br /> この時、αは定数項&lt;math&gt;a&lt;/math&gt;の推定値、βは回帰係数&#039;&#039;b&#039;&#039;の推定値である。<br /> <br /> &lt;!--<br /> ==OLS残差平方和の行列表現==<br /> &#039;&#039;n&#039;&#039;個の観測値と&#039;&#039;k&#039;&#039;個の一般回帰モデル<br /> The general regression model with &#039;&#039;n&#039;&#039; observations and &#039;&#039;k&#039;&#039; explanators, the first of which is a constant unit vector whose coefficient is the regression intercept, is <br /> <br /> :&lt;math&gt; y = X \beta + e&lt;/math&gt;<br /> <br /> where &#039;&#039;y&#039;&#039; is an &#039;&#039;n&#039;&#039; × 1 vector of dependent variable observations, each column of the &#039;&#039;n&#039;&#039; × &#039;&#039;k&#039;&#039; matrix &#039;&#039;X&#039;&#039; is a vector of observations on one of the &#039;&#039;k&#039;&#039; explanators, &lt;math&gt;\beta &lt;/math&gt; is a &#039;&#039;k&#039;&#039; × 1 vector of true coefficients, and &#039;&#039;e&#039;&#039; is an &#039;&#039;n&#039;&#039;× 1 vector of the true underlying errors. The [[ordinary least squares]] estimator for &lt;math&gt;\beta&lt;/math&gt; is<br /> <br /> :&lt;math&gt; \hat \beta = (X^T X)^{-1}X^T y.&lt;/math&gt;<br /> <br /> The residual vector &lt;math&gt;\hat e&lt;/math&gt; is &lt;math&gt;y - X \hat \beta = y - X (X^T X)^{-1}X^T y&lt;/math&gt;, so the residual sum of squares &lt;math&gt;\hat e ^T \hat e&lt;/math&gt; is, after simplification,<br /> <br /> :&lt;math&gt; RSS = y^T y - y^T X(X^T X)^{-1} X^T y = y^T [I - X(X^T X)^{-1} X^T] y.&lt;/math&gt;<br /> --&gt;<br /> ==関連項目==<br /> *[[残差]]<br /> *[[自由度]]<br /> *[[カイ二乗分布]]<br /> <br /> {{DEFAULTSORT:さんさへいほうわ}}<br /> [[Category:回帰分析]]<br /> [[Category:最小二乗法]]<br /> [[Category:統計学]]<br /> [[Category:数学に関する記事]]</div> 133.1.90.125
Warning: Cannot modify header information - headers already sent by (output started at /home/users/1/sub.jp-asate/web/wiki/extensions/HeadScript/HeadScript.php:3) in /home/users/1/sub.jp-asate/web/wiki/includes/WebResponse.php on line 46