
Adjust Skew-Lognormal Distribution Parameters for Sensitivity Analyses
Source:R/sens.R
sens_skewlnorm.RdExpands (scale_mult > 1) or reduces (scale_mult < 1) the scale parameter
of the Skew-Lognormal distribution while preserving its mean and shapelog.
The adjustment is made on the natural scale (i.e. for x, not for
log(x)), mirroring sens_lnorm(), to which it reduces when shapelog = 0.
Usage
sens_skewlnorm(
locationlog,
scalelog,
shapelog,
scale_mult = 2,
...,
meanlog,
sdlog,
shape,
sd_mult
)Arguments
- locationlog
A numeric vector of location parameters of
log(x).- scalelog
A non-negative numeric vector of scale parameters of
log(x).- shapelog
A numeric vector of shape parameters of
log(x). Negative values result in leftward skew, while positive values result in rightward skew.- scale_mult
A non-negative multiplier on the scale of the distribution.
- ...
Unused.
- meanlog
A numeric vector of location parameters of
log(x). Described as "a numeric vector of the means on the log scale" prior to v. 0.10.1. Will be removed in a future version.- sdlog
A non-negative numeric vector of scale parameters of
log(x). Described as "a non-negative numeric vector of the standard deviations on the log scale" prior to v. 0.10.1. Will be removed in a future version.- shape
A numeric vector of shape parameters of
log(x). Will be removed in a future version.- sd_mult