<?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 の続きです。 今回はTable2、世帯主の年齢で暮らし向きに違いがあるかどうかを調べましょう。まずは、前回と同じように、Table2のマトリックスを作成します。 今回は、Bestの列の数が少ないので、BestとBetterを合計して、Goodに、WorseとWorstを合計してBadにしましょう。Good, Same, Badの３つで分析します。 Table2bという名前のマトリックスを作りました。 比率で棒グラフを描いてみましょう。barplot関数です。 Goodを見ると、年齢がわかいほど比率が多いことがわかりますね。 それでは、chisq.testで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2020%2F04%2F07%2F181423&quot; title=&quot;消費動向調査のデータ分析２ - 世帯主の年齢で暮らし向きに違いがあるか。 - 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/20200407/20200407174735.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-07 18:14:23</published>
  <title>消費動向調査のデータ分析２ - 世帯主の年齢で暮らし向きに違いがあるか。</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2020/04/07/181423</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
