<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jnobuyuki</author_name>
  <author_url>https://blog.hatena.ne.jp/jnobuyuki/</author_url>
  <blog_title>jnobuyukiのブログ</blog_title>
  <blog_url>https://webbeginner.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>R言語</anon>
    <anon>一般</anon>
  </categories>
  <description>今回は、回帰分析の細かいモデルの話を中学校で習う「三平方の定理」を利用して考えてみます。 最小2乗法による推定 回帰分析では、最小２乗法という計算方法で、回帰直線をひくための２つの推定値（切片と傾き）を決めます。何を最小にするかというと実際に観測したデータとモデルによる推定値の間に生まれる誤差（残差と呼びます）を最小にしたいわけです。２乗というのは以下のような計算方法で残差を計算することによります。 予測したモデルにおける推定値と観測した値を引き算する。 引き算の答えを２乗する。この段階で、推定値が大きくなる場合でも、小さくなる場合でも、２乗した後の値の符号がプラスになります。 ２乗した値を全…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwebbeginner.hatenablog.com%2Fentry%2F2016%2F12%2F12%2F073000&quot; title=&quot;三平方の定理で理解する回帰分析における分散の分解 - jnobuyukiのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/j/jnobuyuki/20161211/20161211142704.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-12-12 07:30:00</published>
  <title>三平方の定理で理解する回帰分析における分散の分解</title>
  <type>rich</type>
  <url>https://webbeginner.hatenablog.com/entry/2016/12/12/073000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
