WLJS LogoWLJS Notebook

Mean

Mean[data] gives the arithmetic mean of the elements in data.

Mean[dist] gives the mean of the distribution dist.

Examples

Mean of a list:

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

Mean of a distribution:

Mean[NormalDistribution[0, 1]]
(* 0 *)

Please visit the official Wolfram Language Reference for more details.

On this page