2025-09-29
Define key probability and its relationship to randomness.
Use simple simulations (e.g., coin flips in R) to illustrate randomness in equally likely outcomes.
Identify sample spaces and events for basic experiments, and define probability calculations.
Use simple simulations (e.g., coin flips in R) to illustrate randomness in equally likely outcomes.
Identify sample spaces and events for basic experiments, and define probability calculations.
Researchers say the probability of living past 110 is on the rise
Scientists fine-tune odds of asteroid Bennu hitting Earth through 2300 with NASA probe’s help
Probability requires randomness
Something is random if there are many potential outcomes, but there is uncertainty which outcome will occur
Seeing Theory, Chapter 1: Basic Probability, Chance Events
Flip | Result | Running count of H | Running proportion of H |
---|---|---|---|
1 | H | 1 | 1.000 |
2 | T | 1 | 0.500 |
3 | H | 2 | 0.667 |
4 | T | 2 | 0.500 |
5 | H | 3 | 0.600 |
6 | T | 3 | 0.500 |
7 | T | 3 | 0.429 |
8 | T | 3 | 0.375 |
9 | T | 3 | 0.333 |
10 | T | 3 | 0.300 |
Define key probability and its relationship to randomness.
Use simple simulations (e.g., coin flips in R) to illustrate randomness in equally likely outcomes.
Definition: Outcome
The possible results in a random phenomenon.
Definition: Sample Space
The sample space \(S\) is the set of all outcomes
Definition: Event
An event is a collection of some outcomes. An event can include multiple outcomes or no outcomes (a subset of the sample space).
When thinking about events, think about outcomes that you might be asking the probability of. For example, what is the probability that you get a heads or a tails in one flip? (Answer: 1)
Single coin toss
Suppose you toss one coin.
What are the possible outcomes?
What is the sample space?
What are the possible events?
Suppose you toss one coin.
What are the possible outcomes?
Heads (\(H\))
Tails (\(T\))
Note
When something happens at random, such as a coin toss, there are several possible outcomes, and exactly one of the outcomes will occur.
What is the sample space?
What are the possible events?
Note #1
We use curly brackets (\(\{\}\)) to denote a set (collecting a list of outcomes or values)
Note #2
The total number of possible events is \[2^{|S|}\] where \(|S|\) is the total number of outcomes in the sample space. Also, possible events are not necessarily something that can actually occur (i.e. getting a heads and a tails on a single coin flip)
Suppose you toss two coins.
What is the sample space? Assume the coins are distinguishable
What are some possible events?
\(A =\) exactly one \(H =\)
\(B =\) at least one \(H =\)
Suppose you keep sampling people until you have someone with high blood pressure (BP)
What is the sample space?
Let \(H =\) denote someone with high BP.
Let \(H^C =\) denote someone with not high blood pressure, such as low or regular BP.
If \(S\) is a finite sample space, with equally likely outcomes, then
\[\mathbb{P}(A) = \frac{|A|}{|S|}\]
In human speak:
\[\mathbb{P}(A) = \frac{\text{total number of outcomes in event A}}{\text{total number of outcomes in sample space}}\]
\(\mathbb{P}(A)\) is a function with
Input: event \(A\) from the sample space \(S\), (\(A \subseteq S\))
Output: a number between 0 and 1 (inclusive)
The probability function maps an event (input) to value between 0 and 1 (output)
When we speak of the probability function, we often call the values between 0 and 1 “probabilities”
Lesson 1 Slides