Description Usage Arguments Value
View source: R/make_ruleoutTable-pre.R
make.ruleoutTable.pre
creates the times and costs of a diagnositic pathway for
suspected active TB with and without an initial rule-out test, split by Dosanjh category.
1 2 3 4 5 6 | make.ruleoutTable.pre(thresh = seq(from = 1, to = 0.8, by = -0.01),
Ctest = c(200, 300), FNcost = 0, FNtime = 42, ruleouttime = 1L,
pathreturn = 1L, qaly = 0.67, A = 55, npatients = nrow(data),
cat4percent = table(data$DosanjhGrouped)[4] * 100/npatients,
comb = NA, cat3TB = TRUE, cat4propfollowup = 0,
prop_highrisk = 0.4, stat = "Median", model = "pretest.fixed")
|
thresh |
test sensitivity and specificity |
Ctest |
cost of rule-out test |
FNcost |
false negative cost of true diagnosis or cost to start of standard pathway |
FNtime |
false negative time to true diagnosis or start of pathway |
ruleouttime |
time taken for rule-ou test result |
pathreturn |
does a ruled-out individual return to the pathway? false positives return to standard pathway Y=1/N=0 |
qaly |
QALY for disease |
A |
cost of one day in full health |
npatients |
number of patients in cohort |
cat4percent |
percent of patients in Dosanjh category 4 |
comb |
combined sensitivity, specificity and rule-out test cost array |
cat3TB |
are Dosanjh category 3 patients all active TB? |
cat4propfollowup |
proportion of negative Dosanjh category 4 patients, not immediately on standard pathway, who are followed-up at 6 weeks (alpha). We assume that all active TB cases are certain to be followed-up. |
prop_highrisk |
Minimum predictive probability of TB risk score (delta) |
stat |
Which statistic to use for time and cost estimate (e.g. Mean, Median, 1st Qu.) |
model |
Which model structure/tree design to use (
|
[previously, |
proportion of patients put on standard pathway by clinical judgment (gamma)], |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.