[methods] start statistics notes (conditional prob)
authorAndrew Lorimer <andrew@lorimer.id.au>
Mon, 22 Jul 2019 00:44:36 +0000 (10:44 +1000)
committerAndrew Lorimer <andrew@lorimer.id.au>
Mon, 22 Jul 2019 00:44:36 +0000 (10:44 +1000)
methods/statistics.pdf [new file with mode: 0644]
methods/statistics.tex [new file with mode: 0644]
diff --git a/methods/statistics.pdf b/methods/statistics.pdf
new file mode 100644 (file)
index 0000000..8fb6a89
Binary files /dev/null and b/methods/statistics.pdf differ
diff --git a/methods/statistics.tex b/methods/statistics.tex
new file mode 100644 (file)
index 0000000..590e547
--- /dev/null
@@ -0,0 +1,37 @@
+\documentclass[a4paper]{article}
+\usepackage[a4paper,margin=2cm]{geometry}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{tcolorbox}
+\usepackage{fancyhdr}
+\usepackage{pgfplots}
+\usepackage{tabularx}
+
+\pagestyle{fancy}
+\fancyhead[LO,LE]{Unit 3 Methods Statistics}
+\fancyhead[CO,CE]{Andrew Lorimer}
+
+\setlength\parindent{0pt}
+
+\begin{document}
+
+  \title{Statistics}
+  \author{}
+  \date{}
+  \maketitle
+
+  \section{Conditional probability}
+
+  \[ \Pr(A|B) = \frac{\Pr(A \cap B)}{\Pr(B)} \quad \text{where } \Pr(B) \ne 0 \]
+  
+  \[ \Pr(A) = \Pr(A|B) \cdot \Pr(B) + \Pr(A|B^{\prime}) \cdot \Pr(B^{\prime}) \tag{law of total probability} \]
+
+  For independent events:
+  
+  \begin{itemize}
+    \item \(\Pr(A \cap B) = \Pr(A) \cdot \Pr(B)\)
+    \item \(\Pr(A|B) = \Pr(A)\)
+    \item \(\Pr(B|A) = \Pr(B)\)
+  \end{itemize}
+
+\end{document}