Learn R Programming

RcmdrPlugin.EBM (version 1.0-10)

fncEBMPostTest: Computes post test probability to have a dissease based on the pre-test probability and the likelihood ratio of the diagnostic test

Description

This dialog box permits you to define the probability of a patient to have a disease before performing a diagnostic test (pre-test probability), and the likelihood ratio of the diagnostic test. Based on these two, the post-test probability to actually have the disease is computed. This is computed the following way: pre-test odds <- pre-test probability / (1 - pre-test probability) post-test odds <- pre-test odds * likelihood ratio post-test probability<- post-test odds / (post-test odds + 1)

Usage

fncEBMPostTest(.pretest, .LR)

Arguments

.pretest
Pre-test probability.
.LR
Likekihood ratio of the diagnostic test.

Value

The post-test probability of having the dissease.

Examples

Run this code
fncEBMPostTest(.12, 5.7)

Run the code above in your browser using DataLab