Skip to contents

Expands (sd_mult > 1) or reduces (sd_mult < 1) the standard deviation of the Zero-Inflated Gamma-Poisson distribution.

Usage

sens_gamma_pois_zi(lambda, theta, prob, 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).

prob

A numeric vector of values between 0 and 1 of the probability of success.

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_gamma_pois_zi(10, 0.1, 0.3, 2)
#> $lambda
#> [1] 10
#> 
#> $theta
#> [1] 1.6
#> 
#> $prob
#> [1] 0.3
#>