Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Stochastic Modeling

Lecture Notes

ZHAW School of Engineering

Basic definitions

Random events

Special events

The following operations on events are fundamental:

Probability measure

Consider a random experiment with sample space Ω\Omega. Recall that we write A\mathcal{A} for the set of all possible events EE. A probability on Ω\Omega is a function which assigns to every event EAE \in \mathcal{A} a real number P(E)P(E) and satisfies the following properties known as the Axioms of Kolmogorov:

We gather now some simple consequences which can be derived from the axioms of a probability measure.

Conditional probabilities

In general, the conditional probability is defined in the following manner:

In the preceding display, we have used that P(EF)=P(F)P(EF)P(E \cap F) = P(F) P(E|F). This rule is called multiplication rule and generalizes to the intersection of three (and in fact more) events:

The concept of conditional probabilities can be used to calculate probabilities in the following manner:

Let {Ak}1kn\{A_k\}_{1 \leq k \leq n} be a finite partition of the sample space Ω\Omega (i.e., k=1nAk=Ω\biguplus_{k=1}^n A_k = \Omega, AjAi=A_j \cap A_i = \emptyset for iji \neq j and P(Aj)>0P(A_j) > 0 for every 1jn1 \leq j \leq n).

If EE is an arbitrary event, we may write

E=EΩ=E(A1˙A2˙˙An)=(EA1)˙(EA2)˙˙(EAn)E = E \cap \Omega = E \cap \left(A_1 \dot{\cup} A_2 \dot{\cup} \cdots \dot{\cup} A_n\right) = (E \cap A_1) \dot{\cup} (E \cap A_2) \dot{\cup} \cdots \dot{\cup} (E \cap A_n)

If we apply the multiplication rule nn times, we obtain the law of total probabilities:

Another useful formula is named after Thomas Bayes. This formula is applied when we have to quantify the likelihood of a hypothesis AA given an event EE (i.e., instead of P(EA)P(E|A) we are interested in P(AE)P(A|E)).

A simple application of the definition of conditional probabilities followed by a formal multiplication by one yields

P(AE)=P(AE)P(E)P(A)P(A)=P(EA)P(A)P(E)P(A|E) = \frac{P(A \cap E)}{P(E)} \cdot \frac{P(A)}{P(A)} = \frac{P(E|A)P(A)}{P(E)}

Now, if we partition Ω\Omega into the events AA and AcA^c and calculate P(E)P(E) using the law of total probabilities, we get Bayes’ rule: