Description Usage Arguments Details Value Author(s) See Also Examples

Random number generation from the conditional distribution of X given X + Y = D, where X ~ NB(r1, p1) and Y ~ NB(r2, p2) are drawn from two negative binomials, independent of each other, and assuming p1/p2 = lambda.

1 |

`n` |
a positive integer. |

`D` |
a positive integer. |

`r1` |
a positive value. |

`r2` |
a positive value. |

`lambda` |
a positive value. |

Need to specify full list of arguments, as default values have not been set.

n iid draws from X|X+Y=D.

Xiaotian Zhu, [email protected]

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.