multi_bound.RdFunction used to calculate the maximum factor by which a risk ratio is biased, given possible values for each of the parameters that describe the bias factors for each type of bias.
multi_bound( biases, RRAUc = NULL, RRUcY = NULL, RRUsYA1 = NULL, RRSUsA1 = NULL, RRUsYA0 = NULL, RRSUsA0 = NULL, RRAUscS = NULL, RRUscYS = NULL, RRAYy = NULL, ORYAa = NULL, RRYAa = NULL, RRAYyS = NULL, ORYAaS = NULL, RRYAaS = NULL, RRAUsS = NULL, RRUsYS = NULL )
| biases | A set of biases (or single bias) to include in the calculation
of the bound. A single object constructed with the |
|---|---|
| RRAUc | Named parameter values with which to calculate a bound. Names must
correspond to the parameters defining the biases provided by |
| RRUcY | See |
| RRUsYA1 | See |
| RRSUsA1 | See |
| RRUsYA0 | See |
| RRSUsA0 | See |
| RRAUscS | See |
| RRUscYS | See |
| RRAYy | See |
| ORYAa | See |
| RRYAa | See |
| RRAYyS | See |
| ORYAaS | See |
| RRYAaS | See |
| RRAUsS | See |
| RRUsYS | See |
Returns the value of the bound formed as a function of the provided parameters.
The names of the parameters in the bound can be found for a given
set of biases with print(biases). Running summary(biases) shows the
equivalent notation used in the output of the multi_evalue() function.
#> [1] 1.289655biases <- multi_bias(confounding(), selection("S = U"), misclassification("exposure", rare_outcome = TRUE, rare_exposure = FALSE))#>print(biases)#> #>multi_bound(biases, RRAUc = 3, RRUcY = 2, RRSUsA1 = 2.3, RRSUsA0 = 1.7, ORYAaS = 5.2)#> [1] 30.498