moments: Compute the moments of a random variable.

Description Usage Arguments See Also Examples

Description

Compute the moments of a random variable.

Usage

1
2
3
4
5
E(x)

VAR(x)

SD(x)

Arguments

x

random variable to summarise

See Also

Z to standardise an rv by subtracting off mean and dividing by standard deviation

Examples

1
2
3
4
dice <- rv(1:6)
E(dice)
VAR(dice)
SD(dice)

almartin82/rv2alm documentation built on May 10, 2019, 10:25 a.m.