Introduction to Probability
STA6349: Applied Bayesian Analysis
Spring 2025
Introduction
The first few lectures come from Mathematical Statistics with Applications, by Wackerly.
- We must understand the underlying probability and random variable theory before moving into the Bayesian world.
We will be covering the following chapters:
- Chapter 2: probability theory
- Chapter 3: discrete random variables
- Chapter 4: continuous random variables
2.2: Probability and Inference
In statistics we use probabilities to make inference, or draw conclusions.
Consider a gambler who wishes to make an inference concerning the balance, or fairness, of a die.
- If the die were perfectly balanced, one-sixth of the measurements in this population would be 1s, one-sixth would be 2s, one-sixth would be 3s, etc.
2.2: Probability and Inference
- Using the scientific method, the gambler proposes the hypothesis that the die is balanced, and he seeks observations from nature to contradict the theory, if false.
- A sample of ten tosses is selected from the population by rolling the die ten times.
- All ten tosses result in 1s. 🧐
- The gambler looks upon this output and concludes that his hypothesis is not in agreement with nature and, thus, the die is not balanced.
- The gambler rejected his hypothesis not because it is impossible to throw ten 1s in ten tosses of a balanced die, but because it is highly improbable.
2.3: Review of Set Notation
Suppose the elements a_1, a_2, and a_3 are in the set A, we will write A = \left\{ a_1, a_2, a_3 \right\}
- Notation: capital letters \to sets of points.
We can denote the set of all elements under consideration with S, the universal set.
2.3: Review of Set Notation
A \subset B:
- For any two sets A and B, we say that A is a subset of B if every point in A is also in B.
2.3: Review of Set Notation
- A \cup B:
- The union of A and B is the set of all points in either A or B.
- i.e., the union has all points that are in at least one of the sets.
2.3: Review of Set Notation
- A \cap B:
- The intersection of A and B is the set of all points in both A and B.
- i.e., the intersection is where the two sets overlap.
2.3: Review of Set Notation
- \bar{A} or A^c:
- The complement of A is the set of points that are in S, but not in A.
- A \cup \bar{A} = S.
2.3: Review of Set Notation
- A \cap B = \emptyset:
- A and B, are said to be disjoint or mutually exclusive when they have no points in common.
- Related: for any set A, we know that A and \bar{A} are mutually exclusive.
2.3: Review of Set Notation
- Fast forwarding through set algebra, we need to know these distributive laws:
\begin{align*}
A \cap (B \cup C) &= (A \cap B) \cup (A \cap C) \\
A \cup (B \cap C) &= (A \cup B) \cap (A \cup C) \\
\overline{(A \cap B)} &= \overline{A} \cup \overline{B} \\
\overline{(A \cup B)} &= \overline{A} \cap \overline{B}
\end{align*}
2.3: Review of Set Notation
Suppose two dice are tossed and the numbers on the upper faces are observed.
Let S denote the set of all possible pairs that can be observed.
- e.g., (2, 3) indicates that a 2 was observed on the first die and a 3 on the second.
Define the following subsets of S and list their points:
- A: The number on the second die is even.
- B: The sum of the two numbers is even.
- C: At least one number in the pair is odd.
List the points in the following:
- A \cup B
- A \cap \bar{B}
- \bar{A} \cap C
2.3: Review of Set Notation
- Define the following subsets of S and list their points:
- A: The number on the second die is even.
- B: The sum of the two numbers is even.
- C: At least one number in the pair is odd.
- List the points in the following:
- A \cup B
- A \cap \bar{B}
- \bar{A} \cap C
2.4: A Probabilistic Model for an Experiment
- Experiment: the process by which an observation is made.
- Examples:
- coin and die tossing,
- measuring the systolic blood pressure of an individual,
- determine the number of bacteria per cubic centimeter in a serving of processed food.
- Events: the outcomes possible in an experiment.
- Notation: capital leters
- Examples for bacteria observation:
- A: Exactly 110 bacteria are present.
- B: More than 200 bacteria are present.
- C: The number of bacteria present is between 100 and 300.
2.4: A Probabilistic Model for an Experiment
Sample space, S: the set consisting of all possible sample points.
The following Venn diagram shows the six simple events in S,
S = \{E_1, E_2, E_3, E_4, E_5, E_6 \}
2.4: A Probabilistic Model for an Experiment
Compound event: A collection of sample points in a discrete sample space, S.
e.g., suppose we define two events, A and B,
2.4: A Probabilistic Model for an Experiment
Suppose S is a sample space associated with an experiment.
To every event A in S (i.e., A \subset S), we assign a number, P[A], called the probability of A, such that the follow axioms hold:
- Axiom 1: P[A] \ge 0.
- Axiom 2: P[S] = 1.
- Axiom 3: If A_1, A_2, ..., A_n form a sequence of pairwise mutually exclusive events in S
- Remember, mutually exclusive: A_i \cap A_j = \emptyset if i \ne j
P[A_1 \cup A_2 \cup \ ... \cup \ A_n] = \sum_{i=1}^n P[A_i]
2.4: A Probabilistic Model for an Experiment
- Suppose a sample space consists of five simple events, E_1, E_2, E_3, E_4, and E_5.
- If P[E_1] = P[E_2] = 0.15, P[E_3] = 0.4, and P[E_4] = 2P[E_5], find the probabilities of E_4 and E_5.
- If P[E_1] = 3P[E_2] = 0.3, find the probabilities of the remaining simple events if you know that the remaining simple events are equally probable.
2.5: Calculating the Probability of an Event
- The following are steps used to find the probability of an event:
- Define the experiment and clearly determine how to describe one simple event.
- Define S: list the simple events associated with the experiment.
- Assign reasonable probabilities to the sample points in S; remember that P[E_i] \ge 0 and \sum_i P[E_i] = 1.
- Define the event of interest, A, as a specific collection of sample points.
- Find P[A] by summing the probabilities of the sample points in A.
2.5: Calculating the Probability of an Event
- Suppose we toss a balanced coin three times. Find the probability that 2/3 tosses result in heads.
- Define the experiment and clearly determine how to describe one simple event.
- Define S: list the simple events associated with the experiment.
- Assign reasonable probabilities to the sample points in S; remember that P[E_i] \ge 0 and \sum_i P[E_i] = 1.
- Define the event of interest, A, as a specific collection of sample points.
- Find P[A] by summing the probabilities of the sample points in A.
2.5: Calculating the Probability of an Event
- The odds are two to one that when A and B play tennis, A wins. Suppose that A and B play two matches. Find the probability that A wins at least one match.
- Define the experiment and clearly determine how to describe one simple event.
- Define S: list the simple events associated with the experiment.
- Assign reasonable probabilities to the sample points in S; remember that P[E_i] \ge 0 and \sum_i P[E_i] = 1.
- Define the event of interest, A, as a specific collection of sample points.
- Find P[A] by summing the probabilities of the sample points in A.
Homework
- 2.15
- 2.18
- 2.32
- 2.33
- 2.51
- 2.54