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

Density, distribution function, and random generation for the beta-geometric distribution.

1 2 3 |

`x, q` |
vector of quantiles. |

`n` |
number of observations.
Same as |

`shape1, shape2` |
the two (positive) shape parameters of the standard
beta distribution. They are called |

`log, log.p` |
Logical.
If |

The beta-geometric distribution is a geometric distribution whose
probability of success is not a constant but it is generated from a
beta distribution with parameters `shape1`

and `shape2`

.
Note that the mean of this beta distribution is
`shape1/(shape1+shape2)`

, which therefore is the
mean of the probability of success.

`dbetageom`

gives the density,
`pbetageom`

gives the distribution function, and
`rbetageom`

generates random deviates.

`pbetageom`

can be particularly slow.

T. W. Yee

1 2 3 4 5 6 7 8 |

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.