Skip to contents

Expands (sd_mult > 1) the standard deviation of the Negative Binomial distribution. This function does not currently have the option to reduce the standard deviation.

Usage

sens_neg_binom(lambda, theta, sd_mult = 2)

Arguments

lambda

A non-negative numeric vector of means.

theta

A non-negative numeric vector of the dispersion for the mixture models (student, gamma-Poisson and beta-binomial).

sd_mult

A non-negative multiplier on the standard deviation of the distribution.

Value

A named list of the adjusted distribution's parameters.

Examples

sens_neg_binom(10, 0.1, 2)
#> $lambda
#> [1] 10
#> 
#> $theta
#> [1] 0.7
#>