No notes for first lecture part of lecture video.

Probability Basics

Sample space

The sample space, , of the experiment is the set of all possible outcomes $$ S/\Omega = \{ s_1, s_2, ..., s_n \} $$

Link to original

Probability space

is a sample point (atomic event)

A probability space is a sample space with an assignment for every such that:

Link to original

Event

An event is a subset of the [[Sample space|sample space]], or otherwise a set of possible outcomes.

Link to original

Random Variable

A random variable on is a measurement of a random outcome .

The probability that a random variable takes the value is given by:

It follows similarly that:

Link to original

Propositions

Proposition

A proposition is a **declarative sentence** of which we can meaningfully ask whether it is true $(T)$ or false $(F)$.

Sample syntax:

  • Propositional / boolean random variables:
  • Discrete random variables (finite or infinite) Given is one of "" is a proposition
  • Continuous random variables (bounded or unbounded) ; ;
Link to original

Conditional probability

The conditional probability of event given another event occurs is $$ P(a\vert b) = \frac{p(a \land b)}{p(b)} \text{ if } p(b) > 0$$

Link to original

Probability distribution

A probability distribution in the sample space is a function $p$ assigning a number $p(s_i)$ to each possible outcome $s_i$ in $S$ (the probability of $s_i$), such that:

  • values are exhaustive (cover everything)
  • values are mutually exclusive (no overlap)
  • , for all
  • All probability values add up to .

This means, for example: .

Link to original

Joint Probabilities

Joint probability distribution

Joint probability distribution for a set of random variables gives the probability of every atomic event on those random variables (every sample point).

is a matrix of values

Which is interpreted as:

Link to original

Conditional Probability

Conditional probability

The conditional probability of event given another event occurs is $$ P(a\vert b) = \frac{p(a \land b)}{p(b)} \text{ if } p(b) > 0$$

Link to original

Joint probability distribution using conditional probability

We can use the product rule to formulate conditional probability in the form:

A general version holds for joint distributions:

(we interpret this as set of equations, not using matrix math)

Link to original

Chain Rule

Chain Rule (probabilities)

Chain rule is successive application of the product rule:

In general:

Link to original

How to compute posterior joint distribution? (inference by enumeration)

Let be all of the variables. We want to find the posterior joint distribution of the query variables given specific values for the evidence variables . Let the hidden variables be .

Then, the required summation of joint entries is done by summing out hidden variables:

The terms in the summation are joint entries because , , and together exhaust the set of random variables.

Normalisation

Normalisation (probabilities)

We can use (calculation not necessary) to normalise the following:

The source of these numbers is from the follow joint distribution table:

Link to original

Independence and Conditional Independence

Preamble

We saw with joint distribution tables that we can calculate any probability, but this has multiple problems such as:

  • Worst-case time complexity is where is the largest arity
  • Space complexity to store the joint distribution
  • We must find numbers for entries

To get efficient probabilistic computations, we need:

  1. (Conditional) independence
  2. Bayes rule

Independence

Two events and are said to be independent if the occurrence of one of the events gives no information about the probability of the other event. $$ \boxed{p(E | F) = p(E)} \text{ or } \boxed{p(F | E) = p(F)} $$

Using conditional probability, we can obtain that and are independent events whenever $p(E) \cdot p(F)$.

Link to original

Decomposing variables

If we have the variables Cavity, Toothache, Catch, Weather:

  • We may store them naively, requiring
  • We may decompose them into two independent groups of Cavity, Toothache, Catch and Weather, now we can reduce the values to .

For independent biased coins, .

Conditional Independence

We say is conditionally independent of given :

We write this as .

Link to original

Bayes’ Rule

Bayes' Rule

Bayes’ Rule provides the probability hypothesis h is true given that some event e has occurred.

Link to original

Bayes' Theorem

Bayes’ Theorem states that $$ p(F | E) = \frac{p(E|F)p(F)}{p(E|F)p(F) + p(E|\bar F)p(\bar F)} $$

Short form:

Link to original

When do we use Bayes’ Theorem?

  • and are events from the same sample space .
  • We can easily compute but we want .
  • Often easier to access causal probabilities: Visualised as:
    graph LR
    	Cause-->Effect
    

1 item under this folder.