posttestOdds | R Documentation |
Estimate posttest odds and posttest probability.
posttestOdds(
TP,
TN,
FP,
FN,
pretestProb = NULL,
SN = NULL,
SP = NULL,
likelihoodRatio = NULL
)
posttestProbability(
TP,
TN,
FP,
FN,
pretestProb = NULL,
SN = NULL,
SP = NULL,
likelihoodRatio = NULL
)
TP |
Number of true positive cases. |
TN |
Number of true negative cases. |
FP |
Number of false positive cases. |
FN |
Number of false negative cases. |
pretestProb |
Pretest probability (prevalence/base rate/prior probability) of characteristic, as a number between 0 and 1. |
SN |
Sensitivity of the test at a given cut point, as a number between 0 and 1. |
SP |
Specificity of the test at a given cut point, as a number between 0 and 1. |
likelihoodRatio |
Likelihood ratio of the test at a given cut point. |
Estimates posttest odds or posttest probability.
The requested posttest odds or pottest probability.
Other accuracy:
accuracyAtCutoff()
,
accuracyAtEachCutoff()
,
accuracyOverall()
,
nomogrammer()
,
optimalCutoff()
posttestOdds(
TP = 26,
TN = 56,
FP = 14,
FN = 14)
posttestOdds(
pretestProb = 0.3636364,
SN = 0.65,
SP = 0.80)
posttestOdds(
pretestProb = 0.3636364,
likelihoodRatio = 3.25)
posttestProbability(
TP = 26,
TN = 56,
FP = 14,
FN = 14)
posttestProbability(
pretestProb = 0.3636364,
SN = 0.65,
SP = 0.80)
posttestProbability(
pretestProb = 0.3636364,
likelihoodRatio = 3.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.