Home
Nach oben


Rechenformular zur Beschreibung der Vertrauensbereiche des Bayes-Kernels (LR, likelihood ratio).
Ein mathematisches Modell zur schrittweisen Simulation der Einzelprozeduren, die sich bei der Übertragung der kollektiven Testerfahrung
auf die Krankheitswahrscheinlichkeit eines einzelnen Patienten in der klinischen Anwendung eines diagnostischen Tests abspielen
(evidence based diagnostic) .
Tabelle 1) Die statische Beschreibung der Testreferenz in der H0-Hypothese.
Die Definition des Bayes-Kernels (LR, zentrale Kenngrösse der Test-Diskriminationskraft) als Risikorelation (RR)
der senkrechten disease-attributablen Risiken.
Bayes
Theorem
Disease
+
Disease
∑ horizontal risk
r=h/(h+1)
hazard
h=r/(1-r)
Test + a=PV*SE
a
TP**
TP=n*a
b=[1-PV]*[1-SP]
b
fp
fp=n*b
QS1
a+b
TP+fp
n*(a+b)
PPV
=a/(a+b)

=TP/(TP+fp)
PPVhazard
=PV/[1-PV]*pLR

= a/b = TP/fp


Test − c=PV*[1-SE]
c
fn
fn=n*c
d=[1-PV]*[SP]
d
TN
TN=n*d
QS2
c+d
fn+TN
n*(c+d)
[1-NPV]
=c/(c+d)

=fn/(fn+TN)
[1-NPV]hazard
=PV/[1-PV]*nLR

= c/d = fn/TN


∑ vertical
Hypothesis
H0
a+c=PV
PV
TP+fn
TP+fn=n*PV
b+d=[1-PV]
[1-PV]
fp+TN
fp+TN=n*[1-PV]
a+b+c+d
PV+[1-PV]
n **
n=TP+fp+fn+TN
PV
=(a+c)/(a+c+b+d)
**
=fn/(fn+TN)
PVhazard=PV/[1-PV]
=(a+c)/(b+d)

= (TP+fn)/(fp+TN)
Function
Quality
SEnsitivity
**
=TP/(TP+fn)
SPecificity
**
=TN/(TN+fp)
LR = RR vertical of
disease attributed
risks
pLR

= SE/[1-SP]
nLR

= [1-SE]/SP
Tabelle 2a) Die dynamische Berechnung der posttest POD nach einem positiven Test (PPV) anhand der Fagan-Kalkulation unter Andwendung der pLR auf eine variable pretestPOD (PV) in der Arbeitshypothese A1. Die LR funktioniert als hazard ratio (HR) der wagrechten test-attributablen hazards.
Bayes
Fagan
Disease
+
Disease
∑ horizontal risk
r=h/(h+1)
hazard
h=r/(1-r)
posttestPOD
PPV
TP
fp
TP+fp
**
PPV
PPVhazard
pretestPOD
PV
TP+fn
fp+TN
TP+fp+fn+TN
**
PV **
PVhazard
∑ vertical
Hypothesis
HA1
TP+TP+fn
fp+fp+TN
n
A1 risk
A1 hazard
pLR=SE/[1-SP]
RRCI-UL
[
RRCI-OL
]
pLR≡HR≡OR
=PPVh/PVh
HRCI-UL
[
HRCI-OL
]
PPV-CI
Limiten
PPV-UL
[
PPV-OL
]
PPVh=PVh*pLR
PPV-UL
[
PPV-OL
]
PPV-CI
Wilson-Limiten
[ ] PPV-CI
Newcombe
[ ]
1234567890123 1234567890 1234567890 123456789012 1234567890 1234567890
Tabelle 2b) Die dynamische Berechnung der posttest POD nach einem negativen Test (1-NPV) anhand der Fagan-Kalkulation unter Andwendung der nLR auf eine variable pretestPOD (PV) in der Arbeitshypothese A2. Die LR funktioniert als hazard ratio (HR) der wagrechten test-attributablen hazards.
Bayes
Fagan
Disease
+
Disease
∑ horizontal risk
r=h/(h+1)
hazard
h=r/(1-r)
posttestPOD
[1-NPV]
fn
TN
fn+TN
**
[1-NPV]
[1-NPV]h
pretestPOD
PV
TP+fn
fp+TN
TP+fp+fn+TN
**
PV **
PVhazard
∑ vertical
Hypothesis
HA2
fn+TP+fn
TN+fp+TN
n
A2 risk
A2 hazard
nLR=[1-SE]/SP
RRCI-UL
[
RRCI-OL
]
nLR≡HR≡OR=
[1-NPV]h/PVh
HRCI-UL
[
HRCI-OL
]
[1-NPV]-CI
Limiten
UL
[
OL
]
PVh*nLR
UL
[
OL
]
[1-NPV]-CI
Wilson-Limiten
[ ] [1-NPV]-CI
Newcombe
[ ]
1234567890123 1234567890 1234567890 123456789012 1234567890 1234567890
   

Eine kurze und angemessene Definition des Begriffes "Bayes-Kernel" als Kerngrösse des Bayes-Theorems zur mathematischen Beschreibung der Diskriminationskraft eines Tests könnte etwa folgendermassen lauten:
Der Bayeskernel, genannt "likelihood ratio (LR)", ist ein doppelseitiger, zweidimensional vernetzter RR-OR-Operator, der in der vertikalen Ebene als risk ratio (RR) der Disease attributablen Risiken einen positiven Test (pLR) oder negativen Test (nLR) aufzuweisen definiert wird und gleichzeitig in seiner Kernfunktion als hazard ratio (HR) der posttest/pretest Krankheitsprobabilität agiert als odds-Operator zur Berechnung der Test attributablen Krankheits-Oddsprobabilitäten in der horizontalen Ebene. Diese komplizierte und schwer verständliche Sentenz lässt sich mathematisch formulieren mit den simplen Gleichungen
pLR = SE / [1−SP] ≡ PPVodds / PVodds ;
nLR = [1−SE] / SP ≡ [1-NPV]odds / PVodds .


In dieser Tabellenkalkulation wird am statistisch-mathematischen Modell die Übertragung der Qualitätsdaten eines Testreferenz-Kollektivs (Sensitivität, Spezifiät) auf das prätest-Krankheitsrisiko einer Einzelperson simuliert − ein in der klinischen Diagnostik und Prognostik alltäglicher Vorgang beim Abschätzen der individuellen posttest-Krankheitswahrscheinlichkeit eines einzelnen Patienten anhand eines Testresultats.

Das Bayes-Theorem zur Beschreibung Testreferenz-Qualität wird in der Null-Hypothese H0 (Definitionsebene, Tabelle 1) formuliert. Die Berechnung der posttest-POD (Krankheitswahrscheinlichkeit) mittels der likelihood ratio (LR = "Bayes-Kernel") in der Fagan-Kalkulation erfolgt in der Arbeitshypothese HA (Funktionsebene des Bayes-Kernels, Tabelle 2). Die strikte Trennung von Definition und Funktion der likelihood ratio ermöglicht es den komplexen Vorgang der Bayes-Fagan-Kalkulation eines diagnostischen Tests in Einzelschritten mathematisch nachzuvollziehen .

Dieses mathematische Modell liefert die rationale Begründung, warum für das Konfidenzintervall des zweidimensionalen, hypothesenübergreifenden Bayes-Kernels in seiner Fagan-Funktion die Konfidenzvarianz des relativen Risikos (RR-Varianz) der Defintionsebene und nicht die Konfidenzvarianz der hazard ratio (HR-Varianz, HR ist die odds ratio OR horizontaler odds) der Funktionsebene verwendet werden sollte .
     

A short and appropriate definition of the Bayes kernel would be :
The Bayes kernel, called likelihood ratio (LR) is a doubelsided, two dimensional networking RR-OR-operator, defined in the vertical direction as the risk ratio (RR) of the disease attributed risks to have a positive test (pLR) or to have a negative test (nLR), but acting simultaneously as the odds ratio (OR) posttest/pretest probability of disease to compute the test attributed odds-POD in horizontal direction. . This complicate and hardly to understand sentence is mathematically formulated by the simple equations
pLR = SE / [1−SP] ≡ PPVodds / PVodds ;
nLR = [1−SE] / SP ≡ [1-NPV]odds / PVodds .


This statistic-mathematical model - a tablecalculation program - simulates the transmission of the quality parameters (sensitivity, specificity) from a testreference cohort to the pretest probability of disease (pretest-POD) of a single person - a most common procedure in clinical use of a diagnostic test to estimate the individual posttest-POD of a patient .

The Bayes-Theorem, used to describe the quality of the testreference, is mathematically formulated in the zero-hypothesis H0 (table 1, dimension of definition, definition of the likelihood ratio LR). The functional dimension of the LR, used in the Fagan-calculation to estimate the posttest-POD depending on the pretest-POD, is formulated in an alternative working hypothesis (HA, table 2, Bayes-kernel in function). The strict separation of the Bayes-kernel definition and function allows it, to describe the complex procedure of the Bayes-Fagan-calculation step by step in a simple mathematical model .

This model illustrates the rational reason, why the confidence interval of the two dimensional Bayes kernel (= LR, likelihood ratio) functioning as the operator of the Fagan calculation should be based on the variance of the risk ratio (RR-variance) of the disease attributed risks (pLR = SE/[1-SP] and nLR = [1-SE]/SP) described by the Bayes theorem (see table 1, dimension of definition) and should not be based on Woolf's variance for the hazard ratio (HR-variance) posttest-/pretest-POD in the functional dimension of the Fagan calculation (table 2, working hypothesis HA). For the individual posttest-POD of a patient the confidence interval based on the Woolf's HR-variance is so enormously large, that one would not trust the Fagan calculation any more.
   


→ zurück zum I N D E X


Autor:
Dr. med. Franz Ackermann-Ball
Spezialarzt FMH Innere Medizin
Ziegelfeldstr. 30 , CH-4600 Olten.


11. November 2006
Letzte Revision 11.11.2006
BayesKernel.html , Version 1.0 (Javascript integriert) für Internet Explorer & Netscape

Special Edition kardiolab Olten
Dr. med. M. Romanens , Kardiologie FMH


freeware