sens_student: Adjust Student's t Distribution Parameters for Sensitivity...

View source: R/sens.R

sens_studentR Documentation

Adjust Student's t Distribution Parameters for Sensitivity Analyses

Description

Expands (sd_mult > 1) or reduces (sd_mult < 1) the standard deviation of the Student's t distribution. Because the variance of this distribution is not defined for every degree of freedom, the adjustment to the standard deviation is approximate, and the mean of the adjusted distribution can be expected to have shifted.

Usage

sens_student(mean, sd, theta, sd_mult = 2)

Arguments

mean

A numeric vector of the means.

sd

A non-negative numeric vector of the standard deviations.

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.

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_pois(), sens_skewnorm()

Examples

sens_student(10, 3, 0.1, 2)
sens_student(10, 3, 0.1, 0.8)

extras documentation built on Sept. 11, 2024, 5:25 p.m.