Description Usage Arguments Details Value Author(s) See Also Examples
Calculate the expected value (theoretical mean) of a random variable having a beta binomial distribution.
1 2 3 4 5 |
mo |
For the |
size |
Integer scalar specifying the upper limit of the “support”
of the beta binomial distribution under consideration. The support
is the set of integers |
... |
Not used. |
For the "mleBb"
method, the single argument should really
be called (something like) “object
” and for the
default method the first argument should be called m
.
However the argument lists must satisfy the restrictions that
“A method must have all the arguments of the generic,
including ... if the generic does.” and “A method
must have arguments in exactly the same order as the generic.”
For the "mleBb"
method, the values of m
and size
are extracted from the attributes of mo
.
The expected value of a beta binomial distribution is trivial to calculate “by hand”. These functions are provided for convenience and to preserve parallelism with the db distribution.
Numeric scalar equal to the expected value of a beta binomial distributed random variable with the given parameters.
Rolf Turner r.turner@auckland.ac.nz
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.