Dose Response Formula
As previously discussed, Colossus features a term composed of the sum of multiple linear and non-linear term which can be used to define many dose response curves used in radiation epidemiology. These terms are referred to as dose response terms, but there is nothing prohibiting them from being used for non-dose covariates. The following formula are available, reproduced from the starting description vignette.
For every subterm type there are between 1 and 3 parameters which fully define the curve. The Linear-Quadratic and Linear-Exponential curves are continuously-differentiable, so there are only 2-3 parameters which can be set.
Using The Different subterms
Subterm | tform Entry | Description |
---|---|---|
Exponential | loglin_top | parameter in the exponent of the term, |
Exponential | loglin_slope | parameter multiplied by the exponential assumed to be 1 if not given, |
Linear Threshold | lin_slope | slope for the linear term, |
Linear Threshold | lin_int | intercept for the linear term, |
Step Function | step_slope | step function value, |
Step Function | step_int | step function intercept, |
Quadratic | quad_slope | parameter multiplied by the squared value, |
Linear-Exponential | lin_exp_slope | Linear slope term, |
Linear-Exponential | lin_exp_int | Intercept between linear to exponential, |
Linear-Exponential | lin_exp_exp_slope | Slope term in the exponential, |
Linear-Quadratic | lin_quad_slope | Linear slope term, |
Linear-Quadratic | lin_quad_int | Intercept between linear to quadratic, |
The linear-exponential and linear-quadratic curves must be either completely fixed or completely free. In contrast the exponential, linear threshold, and step function curves can be partially fixed. The exponential term can be provided with only the covariate in the exponent and assume the magnitude to be 1. The linear threshold and step functions can be provided a fixed threshold covariate, which can be used to define a linear-no-threshold model or a combination of linear and step functions with a known threshold.
One issue with these dose response formulas is that the order is important. For instance, loglin_slope should be listed prior to loglin_top if both are used. The slope for the Linear Threshold and Step Functions should be given prior to the intercepts. Slopes are listed prior to intercept for the Linear-Quadratic and Linear-Exponential models and lin_exp_exp_slope is listed last. The “Correct_Formula_Order” function has been provided to handle the correct order. Colossus automatically calls this function prior to regression.
term_n <- c(0, 1, 1, 0, 0)
tform <- c("loglin", "quad_slope", "lin", "lin_int", "lin_slope")
keep_constant <- c(0, 0, 0, 1, 0)
a_n <- c(1, 2, 3, 4, 5)
names <- c("a", "a", "a", "a", "a")
val <- Correct_Formula_Order(term_n, tform, keep_constant, a_n, names)
term_n <- val$term_n
tform <- val$tform
keep_constant <- val$keep_constant
a_n <- val$a_n
der_iden <- val$der_iden
names <- val$names