Probability basics

Author

Oleguer Canal

Published

February 15, 2024

Refresher of the very basics of probability theory.

1 Check here for a more formal definition

2 Notation goes: \(P(A)\)-> probability of event \(A\), \(p(x) = P(X = x)\) -> defines the PMF

3 I purposly use loose notation to ease the reading, more strictly: \(E [X] = \sum_{x \in X} P(X = x) \cdot x\)

\[\begin{equation} p(Y | X) = \frac{p(X | Y) p(Y)}{p(X)} \end{equation}\]

Naming goes: Posterior: \(p(y \mid x)\). Likelihood: \(p(x \mid y)\). Prior: \(p(y)\). Evidence: \(p(x)\).