跳转到内容

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,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

    变量及其所服从的分布,供概率和期望读取。