<?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関数で回帰分析をしてみます。 response variableはforeign:海外旅行の年間行動者率、explanatory variableはtravel:旅行・行楽の年間行動者率にしてみます。 まずは、簡単にplot関数でX軸をtravel, Y軸をforeignにして散布図を描きます。 右肩上がりの散布図ですね。 cor.test関数で相関があるかどうかの検定をしてみます。 相関係数は0.4488278で、95%信頼区間の相関係数は0.3267022 ~ 0.5562115 です。 p値は1.047e-10と0.0…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2021%2F01%2F14%2F200003&quot; title=&quot;都道府県別の旅行・行楽の年間行動者率のデータの分析４ - R言語のsample関数とfor関数でモンテカルロシミュレーション - 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/20210114/20210114193207.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-14 20:00:03</published>
  <title>都道府県別の旅行・行楽の年間行動者率のデータの分析４ - R言語のsample関数とfor関数でモンテカルロシミュレーション</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2021/01/14/200003</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
