<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada/</author_url>
  <blog_title>ryamadaのコンピュータ・数学メモ</blog_title>
  <blog_url>https://ryamada.hatenadiary.jp/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>Rの0初心者の伴走→次の伴走記事 「手取り足とり」ではなく、ひたすら、「やりたいこと」だけできるようになるためのメモ 今日の課題 シミュレーションとは、現象を予測するための１方法 Rを使ったシミュレーションを以下の手順に分けて学ぶ 「乱数」を使う 「乱数を使って現象を疑似発生する関数」を作る 「繰り返す」 「集計する」 「現象」 k種類、各n枚の総数枚から、m枚をランダムに取り出し、m枚の総和がp以上であれば「勝ち」というゲームの勝率をシミュレーション推定する 「乱数発生」 一様乱数関数runif()を用いて、サンプリングを実装する sample()関数を用いる 「関数作成」 function…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20140827%2F1408950388&quot; title=&quot;0から速効R - ryamadaのコンピュータ・数学メモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-08-27 16:06:28</published>
  <title>0から速効R</title>
  <type>rich</type>
  <url>https://ryamada.hatenadiary.jp/entry/20140827/1408950388</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
