- data
A data frame, with at least "Test" and "Disease" variables.
- test
The "Test" variable name, i.e. the test result. The variable must be in binary; positive = 1, negative = 0 format.
- disease
The "Disease" variable name, i.e. the true disease status. The variable must be in binary; positive = 1, negative = 0 format.
- covariate
The name(s) of covariate(s), i.e. other variables associated with either test or disease status.
Specify as name vector, e.g. c("X1", "X2") for two or more variables. The variables must be in formats acceptable to GLM.
- saturated_model
Set as TRUE to obtain the original Begg and Greenes' (1983) when all possible interactions are included.
- ci
View confidence interval (CI). The default is FALSE.
- ci_level
Set the CI width. The default is 0.95 i.e. 95% CI.
- ci_type
Set confidence interval (CI) type. Acceptable types are "norm", "basic", "perc", and "bca",
for bootstrapped CI. See boot.ci for details.
- R
The number of bootstrap samples. Default R = 999.
- seednum
Set the seed number for the bootstrapped CI. The default is not set, so it depends on the user
to set it outside or inside the function.
- show_fit
Set to TRUE to view model fit summary for the logistic regression model.
- show_boot
Set to TRUE to show bootstrap iterations.
- r_print_freq
Print the current bootstrap sample number at each specified interval.
Default r_print_freq = 100.
- description
Print the name of this analysis. The default is TRUE. This can be turned off for repeated analysis, for example in bootstrapped results.