<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="et">
	<id>http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Iti0210ex91</id>
	<title>Iti0210ex91 - Redigeerimiste ajalugu</title>
	<link rel="self" type="application/atom+xml" href="http://www.lambda.ee/w/index.php?action=history&amp;feed=atom&amp;title=Iti0210ex91"/>
	<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Iti0210ex91&amp;action=history"/>
	<updated>2026-10-28T12:31:02Z</updated>
	<subtitle>Selle lehekülje redigeerimiste ajalugu</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://www.lambda.ee/w/index.php?title=Iti0210ex91&amp;diff=17061&amp;oldid=prev</id>
		<title>PriitJ: Uus lehekülg: &#039;= Bayesi teoreem =  Bayesi valem:  Bayesi valem  Täistõenäosuse valem (õpikus: &#039;&#039;conditioning&#039;&#039;):  Täistõenäosuse valem...&#039;</title>
		<link rel="alternate" type="text/html" href="http://www.lambda.ee/w/index.php?title=Iti0210ex91&amp;diff=17061&amp;oldid=prev"/>
		<updated>2020-03-31T08:17:29Z</updated>

		<summary type="html">&lt;p&gt;Uus lehekülg: &amp;#039;= Bayesi teoreem =  Bayesi valem:  &lt;a href=&quot;/wiki/Fail:Iti0210ex9a.png&quot; title=&quot;Fail:Iti0210ex9a.png&quot;&gt;Bayesi valem&lt;/a&gt;  Täistõenäosuse valem (õpikus: &amp;#039;&amp;#039;conditioning&amp;#039;&amp;#039;):  &lt;a href=&quot;/wiki/Fail:Iti0210ex9b.png&quot; title=&quot;Fail:Iti0210ex9b.png&quot;&gt;Täistõenäosuse valem&lt;/a&gt;...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uus lehekülg&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Bayesi teoreem =&lt;br /&gt;
&lt;br /&gt;
Bayesi valem:&lt;br /&gt;
&lt;br /&gt;
[[Image:Iti0210ex9a.png|Bayesi valem]]&lt;br /&gt;
&lt;br /&gt;
Täistõenäosuse valem (õpikus: &amp;#039;&amp;#039;conditioning&amp;#039;&amp;#039;):&lt;br /&gt;
&lt;br /&gt;
[[Image:Iti0210ex9b.png|Täistõenäosuse valem]]&lt;br /&gt;
&lt;br /&gt;
== Ülesanne ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Ülikoolis on 10282 üliõpilast, kellest 80 õpivad informaatika 2. kursusel. Teise kursuse informaatika üliõpilastest teavad Bayesi teoreemi 50%, ülejäänud üliõpilastest ainult 5%.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Juhuslikult valitud üliõpilase käest küsiti, kas ta teab Bayesi teoreemi, vastus oli &amp;quot;Jah.&amp;quot; Arvuta tõenäosus, et see oli 2. kursuse informaatika üliõpilane.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:500px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Lahendus&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Juhuslikud muutujad:&lt;br /&gt;
* &amp;lt;code&amp;gt;IAIB4&amp;lt;/code&amp;gt; - üliõpilane on informaatika 2. kursusel (jah/ei)&lt;br /&gt;
* &amp;lt;code&amp;gt;TeabBayest&amp;lt;/code&amp;gt; - teab Bayesi teoreemi (jah/ei)&lt;br /&gt;
Vaja leida &amp;lt;code&amp;gt;P(IAIB4=jah|TeabBayest=jah)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ette on antud:&lt;br /&gt;
* &amp;lt;code&amp;gt;P(TeabBayest=jah|IAIB4=jah) = 0.5&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;P(TeabBayest=jah|IAIB4=ei) = 0.05&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lihtne arvutus annab&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
P(IAIB4=jah) = 80/10282 = 0.0078&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bayesi valemi jaoks on puudu veel &amp;lt;code&amp;gt;P(TeabBayest=jah)&amp;lt;/code&amp;gt;. Selle leiame täistõenäosuse valemist.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
P(TeabBayest=jah) =&lt;br /&gt;
   = P(TeabBayest=jah|IAIB4=jah)P(IAIB4=jah) +&lt;br /&gt;
     P(TeabBayest=jah|IAIB4=ei)P(IAIB4=ei) =&lt;br /&gt;
   = 0.5 * 0.0078 + 0.05 * (1 - 0.0078) = 0.054&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nüüd saab Bayesi valemisse numbrid sisse panna:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
P(IAIB4=jah|TeabBayest=jah) =&lt;br /&gt;
  = (0.5 * 0.0078) / 0.054 = 0.072&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Vastus: tõenäosus, et see on teise kursuse informaatika üliõpilane, on 7.2%.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Iti0210]]&lt;/div&gt;</summary>
		<author><name>PriitJ</name></author>
	</entry>
</feed>