Skip to content

Defined in: packages/distribution/src/distribution.ts:77

The moment operations provided by named distributions and probability tables.

readonly mean: number

Defined in: packages/distribution/src/distribution.ts:79

The expected value.


readonly variance: number

Defined in: packages/distribution/src/distribution.ts:81

The expected squared deviation from the mean.


readonly rawMoment: (order) => number

Defined in: packages/distribution/src/distribution.ts:86

The expected value of the outcome raised to order. The zeroth moment is 1.

number

number

With INVALID_MOMENT_ORDER outside the supported integer orders.