<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>MikuHatsune</author_name>
  <author_url>https://blog.hatena.ne.jp/MikuHatsune/</author_url>
  <blog_title>驚異のアニヲタ社会復帰の予備</blog_title>
  <blog_url>https://mikuhatsune.hatenadiary.com/</blog_url>
  <categories>
    <anon>野球</anon>
    <anon>Rを使いこなす</anon>
    <anon>R</anon>
  </categories>
  <description>野球の続き。チームの人数を複数にしたとき、誰が先頭打者になって、そこから何人が打席に立つかで、1イニングに取る得点が変わるだろう、ということを考えた。 この日は、全イニングの平均を出したので、1番バッターが多いのは当たり前だね。 シミュレーション的に、各イニングで誰が先頭打者になっているか、1000000回試行してみよう。 #team&lt;- rdirichlet(people,c(5,rep(1,Nbase))) team&lt;- matrix(c(1/2,rep(1/8,Nbase)),nr=people,nc=5,byrow=T) hitp&lt;- 1-colMeans(team)[1] Vnum&lt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmikuhatsune.hatenadiary.com%2Fentry%2F20110121%2F1295535961&quot; title=&quot;どのイニングに誰が先頭打者になりやすいか - 驚異のアニヲタ社会復帰の予備&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.d.st-hatena.com/diary/MikuHatsune/2011-01-21.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-01-21 00:06:01</published>
  <title>どのイニングに誰が先頭打者になりやすいか</title>
  <type>rich</type>
  <url>https://mikuhatsune.hatenadiary.com/entry/20110121/1295535961</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
