introduction to probability
1 - What is Probability?
1.1 - Experiments
An experiment is a procedure, subject to uncertainty, which necessarily produces an outcome.
A collection of outcomes is called an event.
The collection of all outcomes is called the sample space.
The collection of all events to be considered is the event space.
An event is said to occur if it contains the observed outcome.
Probability concerns events and how likely they are to occur.
1.2 - Probability Axioms
Probability is axiomatized by the probability axioms:
- the probability of an event is a non-negative real number
- the probability of the entire sample space is 1
- any mutually exclusive events have probability which is additive
1.3 - Probability as a Measure
A model is a mathematical tool which systematizes a set of axioms to something which can be manipulated. See probability space for the rigorous model in the most technical language.
1.3.1 - Definitions
Here, we define
- the sample space
is the set of all outcomes, - an event
is a subset of outcomes, - the set of all events
is the event space
Then the probability measureis a measure (a type of function) which takes an event and assigns it a real number .
1.3.2 - Interpreting the Axioms
Now, the probability axioms can be rewritten
for all events for mutually exclusive events
1.3.3 - Corollaries to the Axioms
1.4 - Competing Interpretations
Plainly: For each event
Under the frequentist interpretation of probability,
Under the statistical interpretation of probability,
Both interpretations are compatible with the set-theoretic model used throughout this document.
1.5 - Set Theory
Consider the sample space as the set of all outcomes in an experiment, and an event as a subset of the sample space.
As such, for any two events, we can take their union and intersection with the standard conventions of disjunction and conjunction, respectively.
We define the complement of an event
1.5.1 - Properties of Set Operations
- involutivity:
- commutativity:
and - associativity:
and - distributivity:
and
1.5.2 - Probability's Inclusion-Exclusion Principle
The inclusion-exclusion principle can be used to show that
which is equivalent to "removing the double-counted".
1.6 - Classifying Events
1.6.1 - Mutually Exclusive Events
Two events are mutually exclusive if they cannot occur simultaneously.
Formally, as sets of outcomes, mutually exclusive events are disjoint sets. This is equivalent to saying that events
1.6.2 - Independent Events
Let
which, by the definition of conditional probability, is equivalent to saying
when events
"Knowing that one event occurs gives no information to whether the other also occurs."
1.6.3 - Relationship between Mutual Exclusivity and Independence
Let
Events
Events
So mutually exclusive events
Therefore, if events
1.7 - Conditional Probability
The conditional probability of event
1.7.1 - Law of Total Probability
Let
For any event
This is known as the law of total probability.
1.7.2 - Bayes's Theorem
Given events
This is known as Bayes's theorem.
1.8 - Random Variables
A random variable is a function
1.9 - Probability Distribution
A probability distribution maps the values or ranges of values of outcomes of a random variable to the respective probabilities of the events they represent. They are the probability mass function and probability density function for discrete and continuous random variables, respectively.