<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.if.pw.edu.pl/~lgraczyk/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?action=history&amp;feed=atom&amp;title=KADD_2022_Laboratorium_2_EN</id>
		<title>KADD 2022 Laboratorium 2 EN - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?action=history&amp;feed=atom&amp;title=KADD_2022_Laboratorium_2_EN"/>
		<link rel="alternate" type="text/html" href="http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?title=KADD_2022_Laboratorium_2_EN&amp;action=history"/>
		<updated>2026-04-15T00:11:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?title=KADD_2022_Laboratorium_2_EN&amp;diff=2861&amp;oldid=prev</id>
		<title>Lgraczyk: /* Results */</title>
		<link rel="alternate" type="text/html" href="http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?title=KADD_2022_Laboratorium_2_EN&amp;diff=2861&amp;oldid=prev"/>
				<updated>2022-03-07T12:14:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Results&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:14, 7 March 2022&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Output:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Output:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; P(5&amp;lt;X&amp;lt;10) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;z gestosci&lt;/del&gt;: 0.245723&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; P(5&amp;lt;X&amp;lt;10) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;from the density&lt;/ins&gt;: 0.245723&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; P(5&amp;lt;X&amp;lt;10) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;z dystrybuanty&lt;/del&gt;: 0.245723&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; P(5&amp;lt;X&amp;lt;10) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;from the cumulative distribution&lt;/ins&gt;: 0.245723&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Srednia z funkcji &lt;/del&gt;TF1: 5.98798&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Mean from the function &lt;/ins&gt;TF1: 5.98798&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Srednia analitycznie&lt;/del&gt;: 6&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Mean analytically&lt;/ins&gt;: 6&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Wariancja z funkcji &lt;/del&gt;TF1: 35.3988&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Variance from &lt;/ins&gt;TF1: 35.3988&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Wariancja analitycznie&lt;/del&gt;: 36&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Variance analytically&lt;/ins&gt;: 36&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Moda&lt;/del&gt;: 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Mode&lt;/ins&gt;: 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; x0.25: 1.74&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; x0.25: 1.74&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; x0.5: 4.16&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; x0.5: 4.16&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; x0.75: 8.32&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; x0.75: 8.32&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lgraczyk</name></author>	</entry>

	<entry>
		<id>http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?title=KADD_2022_Laboratorium_2_EN&amp;diff=2860&amp;oldid=prev</id>
		<title>Lgraczyk: Created page with &quot;{| align=&quot;right&quot; | __TOC__ |}  ==Zadanie==  Let X be a random variable that has a probability distribution function f(x): File:wzor_lab2.png  Please do: * Draw the probabilit...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.if.pw.edu.pl/~lgraczyk/wiki/index.php?title=KADD_2022_Laboratorium_2_EN&amp;diff=2860&amp;oldid=prev"/>
				<updated>2022-03-07T12:13:29Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| align=&amp;quot;right&amp;quot; | __TOC__ |}  ==Zadanie==  Let X be a random variable that has a probability distribution function f(x): &lt;a href=&quot;/~lgraczyk/wiki/index.php/File:Wzor_lab2.png&quot; title=&quot;File:Wzor lab2.png&quot;&gt;File:wzor_lab2.png&lt;/a&gt;  Please do: * Draw the probabilit...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Zadanie==&lt;br /&gt;
&lt;br /&gt;
Let X be a random variable that has a probability distribution function f(x):&lt;br /&gt;
[[File:wzor_lab2.png]]&lt;br /&gt;
&lt;br /&gt;
Please do:&lt;br /&gt;
* Draw the probability distribution function f(x) (0.5 pkt)&lt;br /&gt;
* Draw the cumulative distribution F(x). Cumulative distribution has to be drawn numerically and analytically. (1 pkt)&lt;br /&gt;
* Calculate the probability P(5 &amp;lt;= X &amp;lt;= 10) (0.5 pkt)&lt;br /&gt;
* Calculate the expected value E(X) and compare with the analytic result (1 pkt)&lt;br /&gt;
* Calculate the variance V(X) and compare with the analytic result(1 pkt)&lt;br /&gt;
* Calculate mode (0.5 pkt)&lt;br /&gt;
* Calculate quantiles: (0.5 pkt)&lt;br /&gt;
** lower quartile&lt;br /&gt;
** median&lt;br /&gt;
** upper quartile&lt;br /&gt;
&lt;br /&gt;
==Results==&lt;br /&gt;
Plots:&lt;br /&gt;
[[File:lab2_3.png]]&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
  P(5&amp;lt;X&amp;lt;10) z gestosci: 0.245723&lt;br /&gt;
  P(5&amp;lt;X&amp;lt;10) z dystrybuanty: 0.245723&lt;br /&gt;
  Srednia z funkcji TF1: 5.98798&lt;br /&gt;
&lt;br /&gt;
  Srednia analitycznie: 6&lt;br /&gt;
  Wariancja z funkcji TF1: 35.3988&lt;br /&gt;
  Wariancja analitycznie: 36&lt;br /&gt;
  Moda: 0&lt;br /&gt;
  x0.25: 1.74&lt;br /&gt;
  x0.5: 4.16&lt;br /&gt;
  x0.75: 8.32&lt;/div&gt;</summary>
		<author><name>Lgraczyk</name></author>	</entry>

	</feed>