VHW

Spezifitaet

sensi = 0.9 (slider from 0 to 1)
spezi = 0.9 (slider from 0 to 1)
Praevalenz = 0.11 (slider from 0 to 1, step 0.01)
pVHW: ((Praevalenz * sensi)) / ((Praevalenz * sensi) + ((1 - Praevalenz) * (1 - spezi)))
A: (Praevalenz, pVHW)
Sensitivitaet = Textfield(sensi)
Eingabefeld1 = Textfield(spezi)
nVHW: (((1 - Praevalenz) * spezi)) / ((Praevalenz * (1 - sensi)) + ((1 - Praevalenz) * spezi))
B: (Praevalenz, nVHW)
posVHW(prae) = If[0 ≤ prae ≤ 1, ((prae * sensi)) / ((prae * sensi) + ((1 - prae) * (1 - spezi)))]
negVHW(prae) = If[0 ≤ prae ≤ 1, (((1 - prae) * spezi)) / ((prae * (1 - sensi)) + ((1 - prae) * spezi))]
f: y = Praevalenz
g(x) = If[0 ≤ x ≤ 1, ((-(x(f) / y(f))) * x) - z(f) / y(f)]