Learn R Programming

extras (version 0.7.3)

sens_gamma_pois_zi: Adjust Zero-Inflated Gamma-Poisson Distribution Parameters for Sensitivity Analyses

Description

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)

Value

A named list of the adjusted distribution's parameters.

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.

See Also

Other sens_dist: sens_beta(), sens_exp(), sens_gamma(), sens_gamma_pois(), sens_lnorm(), sens_neg_binom(), sens_norm(), sens_pois(), sens_skewnorm(), sens_student()

Examples

Run this code
sens_gamma_pois_zi(10, 0.1, 0.3, 2)

Run the code above in your browser using DataLab