Description Usage Arguments Value Author(s) See Also Examples
Compute the expectation of a probability distribution.
1 | expectation(object)
|
object |
A probability distribution. |
The expectation of the probability distribution.
Petter Mostad <mostad@chalmers.se>
1 2 | expectation(normal(3, log(2)))
expectation(binomialdistribution(7, 0.3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.