Learn R Programming

extras (version 0.7.3)

sens_gamma_pois: Adjust Gamma-Poisson Distribution Parameters for Sensitivity Analyses

Description

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

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_zi(), sens_lnorm(), sens_neg_binom(), sens_norm(), sens_pois(), sens_skewnorm(), sens_student()

Examples

Run this code
sens_gamma_pois(10, 0.1, 2)

Run the code above in your browser using DataLab