Moment
The raw moment .
Moment(dist, r)exact for via Mean/Variance (); stays unevaluated for every distribution EXCEPT BernoulliDistribution, which has an order-independent identity — a distribution-specific formula this generic layer doesn't otherwise have, not an approximation.Typed signatures
| Type | Package | Applies |
|---|---|---|
(distribution, integer) -> real | statistics | always |
Details
- Generic over every distribution this package's Mean/Variance answer, old or new.
- BernoulliDistribution(): so identically for any , giving at every order, not just .
Examples
About
| Examples | 5 |
|---|
See also: CentralMoment, FactorialMoment, Cumulant, Mean, Variance