Description Usage Arguments Value Examples
A type of bias. Declares that (differential) misclassification will be a component of interest in the sensitivity analysis. Generally used within other functions; its output is returned invisibly.
1 2 3 4 5 6 |
... |
Arguments describing the type of misclassification. Currently two options: "outcome" or "exposure". |
outcome_rare |
Logical. Is the outcome rare enough that outcome odds ratios approximate risk ratios? Only needed when considering exposure misclassification. |
exposure_rare |
Logical. Is the exposure rare enough that exposure odds ratios approximate risk ratios? Only needed when considering exposure misclassification. |
message |
Logical. If |
Invisibly returns a list with components whose values depend on the
options chosen: n
(the degree of the polynomial in the numerator), d
(the degree of the polynomial in the denominator), m
(the parameters in
the bias factor), mess
(any messages/warnings that should be printed for
the user), and bias
("misclassification").
1 2 3 4 5 6 7 8 | misclassification("exposure", outcome_rare = TRUE, exposure_rare = FALSE)
output <- misclassification("outcome")
output
# Calculate an E-value for misclassification
calculate_evalue(RRobs = 4,
biases = misclassification("exposure",
outcome_rare = TRUE, exposure_rare = TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.