Calculate the increase in a specific quantile for a distribution on y when residual variability is added
Source:R/add_ruv_to_quantile.R
add_ruv_to_quantile.Rd
Calculate the increase in a specific quantile for a distribution on y when residual variability is added
Usage
add_ruv_to_quantile(y, sd_y, log_scale = FALSE, q = NULL, ruv = list(), ...)
Arguments
- y
y with
- sd_y
standard deviation of y without residual variability added. Will add normally distributed variability (potentially on log-scale).
- log_scale
add variability on log scale (FALSE by default, DEPRECATED!).
- q
quantile
- ruv
list of residual variability (`prop` and `add`)
- ...
passed arguments