<?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の続きです。 今回は曜日 x 退院済フラグでクロス表を作ります。 これは、不要なデータを削除する必要はないですね。 prop.table関数で比率を見ましょう。 金曜日が退院済フラグが0、退院していない人が多いです。 barplot関数でグラフにします。 prop.table(曜日退x院済フラグ, margin = 2)[ , 1]と[ , 1]を付けて1列目だけをグラフにしています。金曜日が高いのがよくわかります。 chisq.test関数でこの金曜日の比率の高さは偶然の範囲なのかどうか検定します。 p-value = 0.0005599と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%2F200126&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/20200606194906.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-06-06 20:01:26</published>
  <title>東京都の新型コロナ陽性者数のデータ分析５ - R言語のchisq.test関数で曜日と退院済フラグのクロス表分析をする。</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2020/06/06/200126</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
