Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


distr6 (version 1.3.5)

mean.Distribution: Distribution Mean

Description

Arithmetic mean for the probability distribution.

Usage

# S3 method for Distribution
mean(x, ...)

Arguments

x

Distribution.

...

Additional arguments.

Value

Mean as a numeric.

R6 Usage

$mean()

Details

The arithmetic mean of a (discrete) probability distribution X is the expectation EX(X)=pX(x)x with an integration analogue for continuous distributions.

If an analytic expression isn't available, returns error. To impute a numerical expression, use the CoreStatistics decorator.

See Also

CoreStatistics, decorate and genExp.