コンテンツへスキップ

This page is also in English.

Read it in English

Esta página también está en español.

Léela en español

本页也有简体中文版本。

阅读简体中文版本

正規分布(normal_distribution)

平均 mu、標準偏差 sigma の正規分布。

書き方

normal_distribution(mu, sigma)

mu
平均。式を受け取ります。
sigma
標準偏差。0 より大きい。式を受け取ります。

例題

  • normal_distribution⁡(0,1)\displaystyle \operatorname{normal\_distribution}(0, 1)
    normal_distribution(0, 1)ソルバーで開く
  • P(x>1), x∼N(0,1)=1−erf⁡(22)2\displaystyle P(x > 1),\ x \sim \mathcal{N}(0, 1) = \frac{1-\operatorname{erf}\left(\frac{\sqrt{2}}{2}\right)}{2}
    probability(x > 1, distributed(x, normal_distribution(0, 1)))

    ソルバーでは、probability(x > 1, distributed(x, normal_distribution(0, 1))) の答えは (1 - erf(sqrt(2)/2))/2 です。

    ソルバーで開く

例題で使っている関数

  • probability

    変数にある分布があるとき、条件が成り立つ確率。

  • distributed

    確率と期待値が読むところの、変数とそれが従う分布。