Skip to content

Commit 68dc763

Browse files
committed
50008: Added notes and first lecture
1 parent 7f37eac commit 68dc763

24 files changed

+549
-0
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
2+
\documentclass{report}
3+
\title{50008 - Probability and Statistics}
4+
\author{Oliver Killane}
5+
\date{17/01/23}
6+
7+
\usepackage[a4paper, total={7in, 10in}]{geometry}
8+
\input{../common/common.tex}
9+
10+
% As this is a port from the old tex, some commands have been added (very
11+
% common and takes time to remove/amend)
12+
13+
% Used to highlight keywords, here we use italics
14+
\newcommand{\keyword}[1]{\textit{#1}}
15+
16+
% Creates an item in an itemize or enumerate, with a paragraph after
17+
% \begin{itemize}
18+
% \bullpara{title}{contents}
19+
% \end{itemize}
20+
\newcommand{\bullpara}[2]{\item \textbf{#1} \ #2}
21+
22+
% \centerimage{options}{image}
23+
\newcommand{\centerimage}[2]{\begin{center}
24+
\includegraphics[#1]{#2}
25+
\end{center}}
26+
27+
%For ease in writing stylized proofs with numbers
28+
\newcommand{\stepno}[1]{\textcolor{red}{\textbf{#1}}}
29+
30+
\newenvironment{proof}
31+
{\begin{center}\begin{tabular}{r l l }}
32+
{\end{tabular}\end{center}}
33+
34+
%\proofstep{step}{workings}{description}
35+
\newcommand{\proofstep}[3]{\stepno{(#1)} & #2 & #3 \\}
36+
37+
\begin{document}
38+
\include{titlepage/titlepage}
39+
40+
\tableofcontents
41+
\newpage
42+
43+
\addchapter{introduction}
44+
45+
\addchapter{elementary_probability_theory}
46+
47+
\addchapter{credit}
48+
49+
\end{document}
50+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
# 50008 - Probability and Statistics
3+
## Module Description
4+
5+
## Lecturers
6+
7+
## Resources
8+

50008 - Probability and Statistics/credit/code/.gitkeep

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
\chapter{credit}

50008 - Probability and Statistics/credit/diagrams/.gitkeep

Whitespace-only changes.

50008 - Probability and Statistics/credit/images/.gitkeep

Whitespace-only changes.

50008 - Probability and Statistics/elementary_probability_theory/code/.gitkeep

Whitespace-only changes.

50008 - Probability and Statistics/elementary_probability_theory/diagrams/.gitkeep

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<mxfile host="65bd71144e">
2+
<diagram id="LhrZNeXZUZBdw_skD0wq" name="Page-1">
3+
<mxGraphModel dx="506" dy="566" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="2" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;" vertex="1" parent="1">
8+
<mxGeometry x="30" y="40" width="310" height="160" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="11" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#6a00ff;fontColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
11+
<mxGeometry x="150" y="40" width="40" height="160" as="geometry"/>
12+
</mxCell>
13+
<mxCell id="10" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#0050ef;fontColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
14+
<mxGeometry x="30" y="90" width="310" height="40" as="geometry"/>
15+
</mxCell>
16+
<mxCell id="4" value="E" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=28;" vertex="1" parent="1">
17+
<mxGeometry x="140" y="10" width="60" height="30" as="geometry"/>
18+
</mxCell>
19+
<mxCell id="5" value="F" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=28;" vertex="1" parent="1">
20+
<mxGeometry y="95" width="30" height="30" as="geometry"/>
21+
</mxCell>
22+
<mxCell id="8" value="P(F|E)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=21;" vertex="1" parent="1">
23+
<mxGeometry x="140" y="210" width="60" height="30" as="geometry"/>
24+
</mxCell>
25+
<mxCell id="9" value="P(E|F)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=21;" vertex="1" parent="1">
26+
<mxGeometry x="350" y="95" width="60" height="30" as="geometry"/>
27+
</mxCell>
28+
<mxCell id="12" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a20025;fontColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
29+
<mxGeometry x="150" y="90" width="40" height="40" as="geometry"/>
30+
</mxCell>
31+
</root>
32+
</mxGraphModel>
33+
</diagram>
34+
</mxfile>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<mxfile host="65bd71144e">
2+
<diagram id="YD6RFlZg2_KDlZwBcC-1" name="Page-1">
3+
<mxGraphModel dx="1264" dy="1415" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="5" value="1, 2, 3, 4" style="rounded=1;whiteSpace=wrap;html=1;fontSize=50;strokeColor=#000000;" vertex="1" parent="1">
8+
<mxGeometry x="10" y="280" width="220" height="80" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="6" value="5, 6" style="rounded=1;whiteSpace=wrap;html=1;fontSize=50;strokeColor=#000000;" vertex="1" parent="1">
11+
<mxGeometry x="305" y="280" width="130" height="80" as="geometry"/>
12+
</mxCell>
13+
<mxCell id="7" value="E" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=50;" vertex="1" parent="1">
14+
<mxGeometry x="90" y="220" width="60" height="30" as="geometry"/>
15+
</mxCell>
16+
<mxCell id="8" value="E" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=50;" vertex="1" parent="1">
17+
<mxGeometry x="345" y="220" width="60" height="30" as="geometry"/>
18+
</mxCell>
19+
<mxCell id="9" value="" style="endArrow=none;html=1;fontSize=50;strokeWidth=3;strokeColor=#000000;" edge="1" parent="1">
20+
<mxGeometry width="50" height="50" relative="1" as="geometry">
21+
<mxPoint x="355" y="210" as="sourcePoint"/>
22+
<mxPoint x="395" y="210" as="targetPoint"/>
23+
</mxGeometry>
24+
</mxCell>
25+
<mxCell id="10" value="S" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=50;" vertex="1" parent="1">
26+
<mxGeometry x="210" y="20" width="60" height="30" as="geometry"/>
27+
</mxCell>
28+
<mxCell id="11" value="1, 2, 3, 4, 5, 6" style="rounded=1;whiteSpace=wrap;html=1;fontSize=50;strokeColor=#000000;" vertex="1" parent="1">
29+
<mxGeometry x="60" y="80" width="360" height="80" as="geometry"/>
30+
</mxCell>
31+
<mxCell id="13" value="(6-Sided dice roll)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" vertex="1" parent="1">
32+
<mxGeometry x="115" y="50" width="270" height="30" as="geometry"/>
33+
</mxCell>
34+
<mxCell id="14" value="(Roll Less than 5)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" vertex="1" parent="1">
35+
<mxGeometry x="25" y="250" width="190" height="30" as="geometry"/>
36+
</mxCell>
37+
<mxCell id="15" value="NOT(Roll Less than 5)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" vertex="1" parent="1">
38+
<mxGeometry x="260" y="250" width="220" height="30" as="geometry"/>
39+
</mxCell>
40+
<mxCell id="19" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=20;endArrow=open;endFill=0;endSize=15;" edge="1" parent="1" source="16" target="17">
41+
<mxGeometry relative="1" as="geometry"/>
42+
</mxCell>
43+
<mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=20;endArrow=open;endFill=0;endSize=15;" edge="1" parent="1" source="16" target="18">
44+
<mxGeometry relative="1" as="geometry"/>
45+
</mxCell>
46+
<mxCell id="16" value="Random&lt;br&gt;Experiment" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontSize=20;strokeColor=#000000;" vertex="1" parent="1">
47+
<mxGeometry x="570" y="90" width="110" height="110" as="geometry"/>
48+
</mxCell>
49+
<mxCell id="17" value="2" style="rounded=1;whiteSpace=wrap;html=1;fontSize=50;strokeColor=#000000;" vertex="1" parent="1">
50+
<mxGeometry x="540" y="250" width="60" height="80" as="geometry"/>
51+
</mxCell>
52+
<mxCell id="18" value="5" style="rounded=1;whiteSpace=wrap;html=1;fontSize=50;strokeColor=#000000;" vertex="1" parent="1">
53+
<mxGeometry x="650" y="250" width="60" height="80" as="geometry"/>
54+
</mxCell>
55+
<mxCell id="21" value="s* in E" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" vertex="1" parent="1">
56+
<mxGeometry x="530" y="330" width="80" height="30" as="geometry"/>
57+
</mxCell>
58+
<mxCell id="22" value="s* in ~E" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" vertex="1" parent="1">
59+
<mxGeometry x="640" y="330" width="80" height="30" as="geometry"/>
60+
</mxCell>
61+
</root>
62+
</mxGraphModel>
63+
</diagram>
64+
</mxfile>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<mxfile host="65bd71144e">
2+
<diagram id="vgq-i7IdatK9lFm6PwBN" name="Page-1">
3+
<mxGraphModel dx="1053" dy="1179" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="2" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#000000;" vertex="1" parent="1">
8+
<mxGeometry x="10" y="20" width="640" height="110" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="3" value="" style="endArrow=none;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;" edge="1" parent="1" source="2" target="2">
11+
<mxGeometry width="50" height="50" relative="1" as="geometry">
12+
<mxPoint x="140" y="270" as="sourcePoint"/>
13+
<mxPoint x="190" y="220" as="targetPoint"/>
14+
</mxGeometry>
15+
</mxCell>
16+
<mxCell id="4" value="" style="endArrow=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;" edge="1" parent="1" source="2" target="2">
17+
<mxGeometry width="50" height="50" relative="1" as="geometry">
18+
<mxPoint x="340" y="140" as="sourcePoint"/>
19+
<mxPoint x="179.99999999999977" y="30" as="targetPoint"/>
20+
</mxGeometry>
21+
</mxCell>
22+
<mxCell id="5" value="" style="endArrow=none;html=1;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0.75;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;" edge="1" parent="1" source="2" target="2">
23+
<mxGeometry width="50" height="50" relative="1" as="geometry">
24+
<mxPoint x="340" y="140" as="sourcePoint"/>
25+
<mxPoint x="340" y="30" as="targetPoint"/>
26+
</mxGeometry>
27+
</mxCell>
28+
<mxCell id="7" value="P1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=30;" vertex="1" parent="1">
29+
<mxGeometry x="60" y="70" width="60" height="30" as="geometry"/>
30+
</mxCell>
31+
<mxCell id="8" value="P2" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=30;" vertex="1" parent="1">
32+
<mxGeometry x="240" y="30" width="60" height="30" as="geometry"/>
33+
</mxCell>
34+
<mxCell id="9" value="P3" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=30;" vertex="1" parent="1">
35+
<mxGeometry x="380" y="40" width="60" height="30" as="geometry"/>
36+
</mxCell>
37+
<mxCell id="10" value="P4" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=30;" vertex="1" parent="1">
38+
<mxGeometry x="580" y="90" width="60" height="30" as="geometry"/>
39+
</mxCell>
40+
<mxCell id="11" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=30;fillColor=none;strokeColor=#B20000;dashed=1;" vertex="1" parent="1">
41+
<mxGeometry x="200" y="70" width="160" height="50" as="geometry"/>
42+
</mxCell>
43+
<mxCell id="12" value="E" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=30;fontColor=#B20000;" vertex="1" parent="1">
44+
<mxGeometry x="200" y="90" width="60" height="30" as="geometry"/>
45+
</mxCell>
46+
</root>
47+
</mxGraphModel>
48+
</diagram>
49+
</mxfile>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<mxfile host="65bd71144e">
2+
<diagram id="wswKXhg2QOaiZVvUgI-G" name="Page-1">
3+
<mxGraphModel dx="1264" dy="1415" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0"/>
6+
<mxCell id="1" parent="0"/>
7+
<mxCell id="3" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#f0a30a;fontColor=#000000;strokeColor=#000000;" vertex="1" parent="1">
8+
<mxGeometry x="20" y="30" width="240" height="240" as="geometry"/>
9+
</mxCell>
10+
<mxCell id="4" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#e51400;fontColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
11+
<mxGeometry x="100" y="110" width="80" height="80" as="geometry"/>
12+
</mxCell>
13+
<mxCell id="5" value="π&amp;nbsp;× 1&amp;nbsp;× 1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=19;fontColor=#000000;" vertex="1" parent="1">
14+
<mxGeometry x="85" y="135" width="110" height="30" as="geometry"/>
15+
</mxCell>
16+
<mxCell id="6" value="π&amp;nbsp;× 3 × 3 &lt;br&gt;- π × 1&amp;nbsp;× 1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=19;fontColor=#000000;" vertex="1" parent="1">
17+
<mxGeometry x="80" y="55" width="120" height="30" as="geometry"/>
18+
</mxCell>
19+
<mxCell id="7" value="Bullseye is 1/9 of the circle's area" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=23;fontColor=#000000;" vertex="1" parent="1">
20+
<mxGeometry x="285" y="30" width="140" height="40" as="geometry"/>
21+
</mxCell>
22+
<mxCell id="8" value="P(random point in bullseye) = 1/9" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=23;fontColor=#000000;" vertex="1" parent="1">
23+
<mxGeometry x="260" y="135" width="220" height="30" as="geometry"/>
24+
</mxCell>
25+
</root>
26+
</mxGraphModel>
27+
</diagram>
28+
</mxfile>

0 commit comments

Comments
 (0)