WLJS LogoWLJS Notebook

Moment

Moment[data, r] gives the order r moment μ_r of data.

Moment[dist, r] gives the moment of the distribution dist.

Examples

Compute moment of data:

Moment[{1, 2, 3, 4, 5}, 2]
(* 11 *)

Moment of a distribution:

Moment[NormalDistribution[0, 1], 2]
(* 1 *)

Please visit the official Wolfram Language Reference for more details.

On this page