<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amarui</author_name>
  <author_url>https://blog.hatena.ne.jp/amarui/</author_url>
  <blog_title>丸井綜研</blog_title>
  <blog_url>https://marui.hatenablog.com/</blog_url>
  <categories>
    <anon>LISP</anon>
  </categories>
  <description>統計に使える関数の実装を続けています。2月のLISPもくもく会では二項分布の確率質量関数（dbinom）を実装しました。今度は累積分布関数（pbinom）が欲しいところです。 marui.hatenablog.com 原理どおりに動くのであれば確率質量関数を累積加算すると累積分布関数が作れるのですが、計算機内で累積計算していくと誤差も累積されて正しい答えから外れてしまうというのが普通です。試しに下記のようにp=1/2の条件下で10試行のうち8回以下の回数で成功する確率（と20万試行のうち10万回以下の回数で成功する確率）を計算してみましょう。 (defun pbinom (x n &amp;optio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmarui.hatenablog.com%2Fentry%2F2023%2F06%2F01%2F111208&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-01 11:12:08</published>
  <title>二項分布の累積分布関数（と正則化不完全ベータ関数）</title>
  <type>rich</type>
  <url>https://marui.hatenablog.com/entry/2023/06/01/111208</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
