<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cross_hyou</author_name>
  <author_url>https://blog.hatena.ne.jp/cross_hyou/</author_url>
  <blog_title>Rで何かをしたり、読書をするブログ</blog_title>
  <blog_url>https://www.crosshyou.info/</blog_url>
  <categories>
    <anon>データ分析</anon>
  </categories>
  <description>www.crosshyou.info の続きです。 今回はR言語のlm関数で回帰分析をしてみます。 2014年のincome(二人以上の世帯の年間収入のジニ係数)を、2009年のジニ係数で回帰分析してみます。 はじめに2014年のincome, 2009年のincomeのベクトルを作ります。 income2014とincome2009の散布図を描いてみましょう。 普通にplot(income2009, income2014)で散布図は描けますが、今回はggplot2のgeom_point関数で散布図を作成してみました。あんまり相関関係は無いようですね。 cor.test関数で相関係数を確認して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2020%2F09%2F19%2F101536&quot; title=&quot;都道府県別のジニ係数の分析６ - R言語のlm関数で回帰分析 - Rで何かをしたり、読書をするブログ&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/c/cross_hyou/20200919/20200919094738.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-09-19 10:15:36</published>
  <title>都道府県別のジニ係数の分析６ - R言語のlm関数で回帰分析</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2020/09/19/101536</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
