<?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の続きです。 今回は、曜日と性別でクロス表分析をします。 まずは普通にtable関数で集計します。 調査中と不明は削除しましょう。 集計用に作成した曜日と性別で集計します。 prop.table関数で男女の比率を見てみます。 prop.table関数でmargin = 1 とすると行ごとに比率を計算します。火曜日は女性の比率が他の曜日と比べて低く、日曜日は高いです。 barplot関数でグラフにしてみます。 それほど大きな違いとは見えないです。 chisq.test関数でカイ二乗検定をします。 p-value =0.2172と0.05よりも大きいです。曜日に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2020%2F06%2F06%2F121744&quot; title=&quot;東京都の新型コロナ陽性者数のデータ分析４ - R言語のchisq.test関数で曜日と性別のクロス表分析をする。 - 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/20200606/20200606120942.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-06 12:17:44</published>
  <title>東京都の新型コロナ陽性者数のデータ分析４ - R言語のchisq.test関数で曜日と性別のクロス表分析をする。</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2020/06/06/121744</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
