<?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>生存解析</anon>
    <anon>R</anon>
  </categories>
  <description>n &lt;- 1000 # ランダムに脱落する prob &lt;- c(0.5,0.5) censor &lt;- sample(0:1,n,replace=TRUE,prob=prob) # 指数乱数で死亡時刻が決まる #times &lt;- cumsum(rexp(n)) times &lt;- sort(rexp(n)) x &lt;- ((n-1):0)/(n:1) v &lt;- rep(1,length(x)) v[which(censor == 1)] &lt;- x[which(censor ==1)] #par(mfcol = c(1,2)) #plot(times,cumprod(v),type=&quot;s&quot;,ylim …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20140304%2F1393903280&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/ryamada22/20140304/20140304122243.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-04 12:21:20</published>
  <title>イベント集積に関するメモ</title>
  <type>rich</type>
  <url>https://ryamada22.hatenablog.jp/entry/20140304/1393903280</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
