Returns the variance of the occupancy distribution based on a multinomial distribution.

1 |

`n` |
number of attempts in the multinomial distribution |

`p` |
probabilities for landing in a specific bin |

`iter` |
number of iterations used in the Monte-Carlo approximation |

`seed` |
seed for the random number generator |

`experimental` |
access to other functions of multinomials |

This functions computes the variance of the occupancy distribution for a multinomial. In other words, the expected number of bins with at least one ball. The experimental argument "oneBall" computes variance of bins with exactly one ball and the experimental argument "nextTo" computes the variance of bins with one ball next to a bin with zero balls. Consider any functionality through the experimental argument untested.

Returns a numeric

Oliver Will owill4@yahoo.com

See the book chapter O. Will (**) in ** for specific details about
this package or Johnson, N. L. and Kotz, S. (1977) *Urn Models and Their
Application: An Approach to Modern Discrete Probability Theory*.
John Wiley & Sons, New York, NY.

1 2 3 4 5 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.