Skip to contents

Negative binomial from its mean and variance

Usage

negative_binomial_count_from_mean_variance(mean, variance)

Arguments

mean

Mean number of claims; finite and positive.

variance

Variance; must exceed the mean.

Value

A negative_binomial_count object.

Examples

negative_binomial_count_from_mean_variance(10, 30)
#> <negative_binomial_count> r = 5, beta = 2