<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>seinzumtode</author_name>
  <author_url>https://blog.hatena.ne.jp/seinzumtode/</author_url>
  <blog_title>how to code something</blog_title>
  <blog_url>https://seinzumtode.hatenadiary.jp/</blog_url>
  <categories>
    <anon>統計学</anon>
  </categories>
  <description>まずは単回帰分析から。 単回帰分析：１変量から１変量を予測する 各営業所の売上と宣伝費のデータが以下のように与えられている。 営業所 宣伝費（ｘ）(百万円) 売上（ｙ）(千万円) 1 5.5 73 2 4.5 59 3 4.1 56 4 3.5 31 5 2.5 28 6 2.3 31 7 2.7 30 8 2.8 25 このとき、売上yと宣伝費xの間の関係をうまく表したい。 Yを売上yの推定値として、 Y=ax+b と表した時のaとbの最適値を求める。 推定値Yと実測値yの残差を以下のように定義する。 残差 また、の残差平方和Qを以下のように定義する。 にを代入して、 極値条件、を用いると …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseinzumtode.hatenadiary.jp%2Fentry%2F20110909%2F1315570141&quot; title=&quot;回帰分析 - how to code something&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-09-09 21:09:01</published>
  <title>回帰分析</title>
  <type>rich</type>
  <url>https://seinzumtode.hatenadiary.jp/entry/20110909/1315570141</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
