| multi_bound | R Documentation | 
Function 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  | 
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.
Returns the value of the bound formed as a function of the provided parameters.
multi_bound(multi_bias(confounding()),
            RRAUc = 2.2, RRUcY = 1.7)
biases <- 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.