<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada22</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada22/</author_url>
  <blog_title>ryamadaの遺伝学・遺伝統計学メモ</blog_title>
  <blog_url>https://ryamada22.hatenablog.jp/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>分布</anon>
    <anon>分布のおさらいシリーズ</anon>
  </categories>
  <description>n回目の試行で初めて1回目が起きる確率は？ これは幾何分布 幾何分布では、のように、「幾何」級数的に確率が小さくなる また、なので、確かにとなっていて、は確率密度分布の要件を満たしている n&lt;-1:20 p&lt;-runif(1) f&lt;-dgeom(n,p) plot(n,f,type=&quot;h&quot;) n回目の試行で初めてk回目が起きる確率は？ 累積することで初めて意味を持つような事象の生起確率の分布 これは負の二項分布 k&lt;-10 n&lt;-0:100 p&lt;-runif(1) f&lt;-dnbinom(n,k,p) plot(n,f,type=&quot;h&quot;) sum(f) 幾何分布は負の二項分布のの場合 n&lt;-1:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20110228%2F1298868638&quot; title=&quot;起きるまでの回数が知りたい〜幾何分布・負の二項分布 - 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>2011-02-28 13:50:38</published>
  <title>起きるまでの回数が知りたい〜幾何分布・負の二項分布</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20110228/1298868638</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
