<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML">
<head>
<OBJECT ID="mathplayer" CLASSID="clsid:32F66A20-7614-11D4-BD11-00104BD3F987"> <!--comment required to prevent this becoming an empty tag--></OBJECT>
<?IMPORT NAMESPACE="m" IMPLEMENTATION="#mathplayer" ?>
<!--
 <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML" />
-->
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>


<meta name="GENERATOR" content="TtM 3.72" />
 <style type="text/css">
 div.p { margin-top: 7pt; }
 span.roman {font-family: serif; font-style: normal; font-weight: normal;} 
</style>
<title>V.II.10.7</title>
<link rel="stylesheet" href="/mathdisplay.css" type="text/css" />
</head>
<body>
<div class="feladat">
<b>Feladat: 10.7.</b><br /> <a name="5valszamvegyeskeszmatemelt97o504fel" />[<a href="bib_box.php?mode=sne-s-j-&amp;citation_num=199" target="bib_box" onclick="mutat('bib_box.php?mode=sne-s-j-&amp;citation_num=199'); return false;">199</a>]  A tébécé korai felismerésére alkalmazott röntgenszűrésnél a tapasztalatok szerint hibák is előfordulnak. A kezdeti állapotban a betegek körülbelül <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>10</m:mn><m:mi>%</m:mi></m:mrow></m:math>-át nem veszi észre a teszt, míg körülbelül <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>20</m:mn><m:mi>%</m:mi></m:mrow></m:math>-ban egyébként egészséges embernél is pozitív eredmény (azaz valami gyanús folt a tüdőn) adódik. Tudjuk, hogy hazánkban a tébécé előfordulása <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>3</m:mn><m:mi>%</m:mi></m:mrow></m:math>.

<div class="p"><!----></div>

<b>a)</b> Egy pozitív teszteredmény után mi az esélye, hogy tényleg tébécés az illető?

<div class="p"><!----></div>

<b>b)</b> Ha negatív az eredmény, akkor mi az esélye, hogy tébécés?

<div class="p"><!----></div>

<b>c)</b> Mindezek fényében vajon mire való ez a teszt?
<br />&nbsp;<br /></div>
<div class="feladat">
<a name="_solution_5valszamvegyeskeszmatemelt97o504fel" /><b>Megoldás: 10.7</b><br />
<a name="5valszamvegyeskeszmatemelt97o504felmeg01" /><b>1. megoldás.</b>  Ábrázoljuk a hazai lakosságot, benne a tébécések és a nem tébécések valamint a pozitív illetve negatív teszteredményt produkálók halmazát az elemszámokkal területarányos ábrán.

<div class="p"><!----></div>

<a name="fig:5valszamvegyeskeszmatemelt97o504felmeg01a" /><div align="center"><img src="/cache/figures/chs_v_ii/5valszamvegyeskeszmatemelt97o504felmeg01a.png" /><br />1. ábra</div>

<div class="p"><!----></div>

A vastagvonalú alaphalmaz jelképeti hazánk lakosságát. A bal oldali vonalkázott rész az egészségeseket (azaz a nem tébécések részhalmazát), a jobb oldali ,,sima" rész a tébécéseket.

A szürke terület a pozitív tesztet produkálók részhalmaza. 

<div class="p"><!----></div>

Az egyes tartományok területe az egészhez képest:

<div class="p"><!----></div>

fehér vonalkázott: <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>997</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>8</m:mn><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>7976</m:mn></m:mrow></m:math>;

szürke vonalkázott: <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>997</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1994</m:mn></m:mrow></m:math>;

fehér sima: <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>003</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0003</m:mn></m:mrow></m:math>;

szürke sima: <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>0</m:mn><m:mo>.</m:mo><m:mn>003</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>9</m:mn><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0027</m:mn></m:mrow></m:math>;

<div class="p"><!----></div>

Az egyes kérdések megfelelői az ábrán:

<div class="p"><!----></div>

<b>a)</b> A szürke rész hanyad része sima? <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow>

<m:mfrac><m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0027</m:mn></m:mrow>

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0027</m:mn><m:mo>+</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1994</m:mn></m:mrow>

</m:mfrac>

<m:mo>&ap;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0133597229</m:mn><m:mo>.</m:mo></m:mrow></m:math>

Tehát pozitív teszt esetén <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>33597229</m:mn><m:mi>%</m:mi></m:mrow></m:math> a betegség esélye.

<div class="p"><!----></div>

<b>b)</b> A fehér rész hanyad része sima? <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow>

<m:mfrac><m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0003</m:mn></m:mrow>

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0003</m:mn><m:mo>+</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>7976</m:mn></m:mrow>

</m:mfrac>

<m:mo>&ap;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0003759870</m:mn><m:mo>.</m:mo></m:mrow></m:math>

Tehát negatív teszt esetén csak <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>03759870</m:mn><m:mi>%</m:mi></m:mrow></m:math> a betegség esélye.

<div class="p"><!----></div>

<b>c)</b> 

A pozitív teszt több mint négyzseresére növelte a betegség esélyét, a negatív teszt a kilencedére csökkentette. Csak pozitív teszt esetén érdemes az alaposabb (és feltehetően drágább) vizsgálatokat elvégezni.
<br />&nbsp;<br /><b>2. megoldás.</b>  Jelölje ,,<m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mi>B</m:mi></m:mrow></m:math>" és ,,<m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mo>+</m:mo></m:mrow></m:math>" azt az eseményt, hogy egy véletlenül választott ember beteg (tébécés), illetve azt, hogy pozitív a tesztje. ,,<m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mo>&not;</m:mo><m:mi>B</m:mi></m:mrow></m:math>" és ,,<m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mo>-</m:mo></m:mrow></m:math>" ezek komplementer eseményét jelöli, tehát azt, hogy az ember nem tébécés, illetve azt, hogy teszteredménye negatív.

<div class="p"><!----></div>

A megadott adatok a valószínűségek nyelvén: 

<br />

<table width="100%"><tr><td align="center">

    <m:math xmlns="http://www.w3.org/1998/Math/MathML">

    <m:mstyle displaystyle="true"><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>+</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>9</m:mn><m:mo>,</m:mo><m:mi>&emsp;&emsp;&emsp;</m:mi><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>+</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mi>&emsp;&emsp;&emsp;</m:mi><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>003</m:mn><m:mi>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;</m:mi><m:mo>&rArr;</m:mo></m:mrow>

    </m:mstyle></m:math>

</td></tr></table>

<br />

<br />

<table width="100%"><tr><td align="center">

    <m:math xmlns="http://www.w3.org/1998/Math/MathML">

    <m:mstyle displaystyle="true"><m:mrow><m:mo>&rArr;</m:mo><m:mi>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;</m:mi><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>-</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mi>&emsp;&emsp;&emsp;</m:mi><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>-</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>8</m:mn><m:mo>,</m:mo><m:mi>&emsp;&emsp;&emsp;</m:mi><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>997</m:mn><m:mo>.</m:mo></m:mrow>

    </m:mstyle></m:math>

</td></tr></table>

<br />

Az a) feladat a <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">&verbar;</m:mo><m:mo>+</m:mo><m:mo stretchy="false">)</m:mo></m:mrow></m:math>, a b) feladat pedig a <m:math xmlns="http://www.w3.org/1998/Math/MathML">

<m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">&verbar;</m:mo><m:mo>-</m:mo><m:mo stretchy="false">)</m:mo></m:mrow></m:math> feltételes valószínűség kiszámítása. Ezek Bayes tételével adódnak:

<br />

<table width="100%"><tr><td align="center">

    <m:math xmlns="http://www.w3.org/1998/Math/MathML">

    <m:mstyle displaystyle="true"><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">&verbar;</m:mo><m:mo>+</m:mo><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo>

<m:mfrac><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>+</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo></m:mrow>

<m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>+</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>+</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>+</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo></m:mrow>

</m:mfrac>

<m:mo>=</m:mo>

<m:mfrac><m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>9</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>003</m:mn></m:mrow>

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>9</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>003</m:mn><m:mo>+</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>997</m:mn></m:mrow>

</m:mfrac>

<m:mo>=</m:mo></m:mrow>

    </m:mstyle></m:math>

</td></tr></table>

<br />

 <br />

<table width="100%"><tr><td align="center">

    <m:math xmlns="http://www.w3.org/1998/Math/MathML">

    <m:mstyle displaystyle="true"><m:mrow><m:mo>=</m:mo>

<m:mfrac><m:mrow><m:mn>27</m:mn></m:mrow>

<m:mrow><m:mn>2021</m:mn></m:mrow>

</m:mfrac>

<m:mo>&ap;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0133597229</m:mn><m:mo>,</m:mo></m:mrow>

    </m:mstyle></m:math>

</td></tr></table>

<br />

<br />

<table width="100%"><tr><td align="center">

    <m:math xmlns="http://www.w3.org/1998/Math/MathML">

    <m:mstyle displaystyle="true"><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">&verbar;</m:mo><m:mo>-</m:mo><m:mo stretchy="false">)</m:mo><m:mo>=</m:mo>

<m:mfrac><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>-</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo></m:mrow>

<m:mrow><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>-</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mo>+</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>-</m:mo><m:mo stretchy="false">&verbar;</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo><m:mi>p</m:mi><m:mo stretchy="false">(</m:mo><m:mo>&not;</m:mo><m:mi>B</m:mi><m:mo stretchy="false">)</m:mo></m:mrow>

</m:mfrac>

<m:mo>=</m:mo>

<m:mfrac><m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>003</m:mn></m:mrow>

<m:mrow><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>003</m:mn><m:mo>+</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>8</m:mn><m:mo>&middot;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>997</m:mn></m:mrow>

</m:mfrac>

<m:mo>=</m:mo></m:mrow>

    </m:mstyle></m:math>

</td></tr></table>

<br />

 <br />

<table width="100%"><tr><td align="center">

    <m:math xmlns="http://www.w3.org/1998/Math/MathML">

    <m:mstyle displaystyle="true"><m:mrow><m:mo>=</m:mo>

<m:mfrac><m:mrow><m:mn>3</m:mn></m:mrow>

<m:mrow><m:mn>1979</m:mn></m:mrow>

</m:mfrac>

<m:mo>&ap;</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>0003759870</m:mn></m:mrow>

    </m:mstyle></m:math>

</td></tr></table>

<br />

<div class="p"><!----></div>

A c) kérdésre a <a href="chapter.php?mode=sne-s-j-&amp;volume=v_ii&amp;code=V.II&amp;chapter=chs_v_ii/v_ii_felt&amp;chapternum=10&amp;topic=Valószínűségszámítás és statisztika&amp;yearpair=9--10#5valszamvegyeskeszmatemelt97o504felmeg01" target="_blank">10.7M1</a>. megoldásban olvasható a válasz.
<br />&nbsp;<br />&nbsp;<br /></div>
</body></html>
