<?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言語でみてみましょう。 まず、plot関数で散布図マトリックスをみてみましょう。 変数がいっぱいありすぎて、どれがどれだかわからないですね。。。 前年同月比のほうも作成してみます。 こちらは売上品目の構成比率が無いぶんだけわかりやすいですね。 cor関数で相関マトリックスをだしてみます。 一番左側の列、全店売上高との相関に着目すると、一番相関の高いのは、既存店売上高です。相関係数は0.98972236です。逆に非食品はマイナス相関で-0.35668010です。 前年同月比のデータも相関マトリックスを作成しましょう。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2019%2F01%2F25%2F123459&quot; title=&quot;JFAコンビニエンスストア統計調査月報データの分析４ - R言語で相関関係を分析 - 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/20190125/20190125120948.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-25 12:34:59</published>
  <title>JFAコンビニエンスストア統計調査月報データの分析４ - R言語で相関関係を分析</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2019/01/25/123459</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
