Learn R Programming

extras (version 0.7.3)

sens_pois: Adjust Poisson Distribution Parameters for Sensitivity Analyses

Description

Expands (sd_mult > 1) or reduces (sd_mult < 1) the standard deviation of the Poisson distribution. Due to the parameterization of this distribution, adjusting the standard deviation necessarily changes the mean value.

Usage

sens_pois(lambda, sd_mult = 2)

Value

A named list of the adjusted distribution's parameters.

Arguments

lambda

A non-negative numeric vector of means.

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

Examples

Run this code
sens_pois(10, 2)
sens_pois(10, 0.8)

Run the code above in your browser using DataLab