Skip to content

Mean

Mean(list)

returns the statistical mean of list.

See:

Mean can be applied to the following distributions:

BernoulliDistribution, BinomialDistribution, DiscreteUniformDistribution, ErlangDistribution, ExponentialDistribution, FrechetDistribution, GammaDistribution, GeometricDistribution, GumbelDistribution, HypergeometricDistribution, LogNormalDistribution, NakagamiDistribution, NormalDistribution, PoissonDistribution, StudentTDistribution, WeibullDistribution

Examples

>> Mean({26, 64, 36})
42
>> Mean({1, 1, 2, 3, 5, 8})
10/3
>> Mean({a, b})
1/2*(a+b)

The mean of the normal distribution is

>> Mean(NormalDistribution(m, s))
m

Implementation status

  • ✅ - full supported

Github