[1] 0.828125
Probability
Trent University

(there is another philosophical way of thinking about probability called the Bayesian interpretation; we will not use this in this course)
Which of the following events would you be most surprised by?
Which of the following events would you be most surprised by?
Which of the following events would you be most surprised by?
Why did you think that?
The Law of Large Numbers states that as more observations are collected, the proportion of occurrences with a particular outcome, \(\hat{p}_n\), converges to the probability of that outcome, \(p\).
Parameters and Estimates
\(\hat{p}_{n}\) is the number of times the outcome was observed divided by the number of total observations (\(n\) observations).
\(p\) is the true proportion, a population parameter.
\(\hat{p}_{n}\) is an estimate of \(p\) based on a sample of size \(n\).
The Law of Large Numbers states that as more observations are collected, the proportion of occurrences with a particular outcome, \(\hat{p}_n\), converges to the probability of that outcome, \(p\).
Tip
\(\hat{p}_{n}\) is the number of times the outcome was observed divided by the number of total observations.
Therefore, if you want to estimate the probability of some outcome then:
When tossing a fair coin, if heads comes up on each of the first 10 tosses, what do you think the chance is that another head will come up on the next toss? 0.5, less than 0.5, or more than 0.5?


Two processes are said to be independent of one another if knowing the outcome of one provides no useful information about the outcome of the other.
Two processes are said to be independent of one another if knowing the outcome of one provides no useful information about the outcome of the other.
Two processes are said to be independent of one another if knowing the outcome of one provides no useful information about the outcome of the other.
Important
Independence is an idea we will come back to constantly over the rest of MATH 1051 and throughout MATH 1052.
A probability distribution lists all possible outcomes and the probabilities with which they occur.
| Event | Probability |
|---|---|
| Heads | 0.5 |
| Tails | 0.5 |
A probability distribution lists all possible outcomes and the probabilities with which they occur.
The fairness of a coin might be hugely consequential for high stakes games, but it isn’t often in life that we flip coins and care about the outcome. So why bother studying the statistics of coin flips? Because coin flips are a surrogate for myriad other real-life events that we do care about.
For a given type of heart surgery, we may classify the patient outcome as survived more than a year or not, and we may want to know what is the probability that patients survive more than one year. For a given type of drug, we may classify the outcome as having a headache or not, and we may want to know the probability of headache. For a survey question, the outcome might be agree or disagree, and we want to know the probability of each response. In a two-candidate election, the two outcomes are candidate A and candidate B, and before the election itself we want to estimate, from a poll, the probability that candidate A will win. Or perhaps you are studying arithmetic ability by measuring accuracy on a multi-item exam, for which the item outcomes are correct or wrong.
Whenever we are discussing coin flips, which might not be inherently fascinating to you, keep in mind that we could be talking about some domain in which you are actually interested! The coins are merely a generic representative of a universe of analogous applications.
A probability distribution lists all possible outcomes and the probabilities with which they occur.
| Event | HH | TT | HT | TH |
| Probability | 0.25 | 0.25 | 0.25 | 0.25 |
Note
The order is important!
Observing a H on the first flip and a T on the second is not the same outcome as observing a T on the first flip and a H on the second.
In a survey, 52% of respondents said that they voted in the last election. What is the probability that a randomly selected respondent from this sample did not vote?
In a survey, 52% of respondents said that they voted in the last election. What is the probability that a randomly selected respondent from this sample did not vote?
The sample space is the set of all possible outcomes of a random experiment.
Events are subsets of the sample space.
Mutually Exclusive events are events that cannot happen at the same time.
Complementary events are two mutually exclusive events whose probabilities that add up to 1.
The sample space is the set of all possible outcomes of a random experiment.
Events are subsets of the sample space.
Mutually Exclusive events are events that cannot happen at the same time.
Complementary events are two mutually exclusive events whose probabilities that add up to 1.
Do the sum of probabilities of two disjoint events always add up to 1?
Not necessarily, there may be more than 2 events in the sample space, e.g. party affiliation.
Do the sum of probabilities of two disjoint events always add up to 1?
Not necessarily, there may be more than 2 events in the sample space, e.g. party affiliation.
Do the sum of probabilities of two complementary events always add up to 1?
Do the sum of probabilities of two disjoint events always add up to 1?
Not necessarily, there may be more than 2 events in the sample space, e.g., party affiliation (Liberal, Conservative, NDP, Green, BQ, … ).
Do the sum of probabilities of two complementary events always add up to 1?
Yes, that’s the definition of complementary,
e.g., heads and tails; or has a dog and does not have a dog.
The random variable is the fundamental building block of statistics. Almost everything we do can be considered a random variable.
Gather some data and compute the mean? That sample mean is a random variable.
The random variable is the fundamental building block of statistics. Almost everything we do can be considered a random variable.
Gather some data and compute the mean? That sample mean is a random variable.
In addition:
If we have random variables, then:
A Bernoulli trial is one of the simplest distributions – it has two possible outcomes:
Example 1: Flipping a coin where getting a heads is a “success” and tails is “failure”.
Example 2: Check a tire to see if it is flat (“success”), or inflated (“failure”).
The distribution (sometimes called a Probability Mass Function) of a Bernoulli random variable (R.V.) is:
\[ P(X = x) = p(x) = \begin{cases}1 - p & \text{if } x = 0 \\ p & \text{if } x = 1 \\ 0 & else \end{cases} \]
So two cases: “success” (probability \(p\)) and “failure” (probability \(1-p\)).
This is the mathematical model for our simplest probability example: coin flips! This is general enough to allow for non-fair coins - the probability of heads does not have to be the same as the probability of tails. They just have to add up to 1.
A very important discrete distribution is the binomial distribution, which results when we have:
Definition: the binomial distribution counts the number of successes in \(n\) independent trials of an experiment with fixed probability of success, \(p\). In other words, a binomial is what happens when we have a number \(n\) of independent Bernoulli trials.
If \(X\) is a Binomial random variable then we would use the notation:
\[ X \sim \text{Binomial}(n, p) \]
Suppose you have no idea how to answer the questions on a True/False test with 10 questions, and you decide to just flip a coin for each one. You then count how many questions you actually got correct.
In this situation, what is the probability of getting at least 6/10?
According to Statistics Canada, as of the last census in 2016, 86.3% of Canadians between the ages of 25 and 64 have a completed high school diploma, or equivalent. If we randomly select 15 Canadians aged 25-64, what is the probability distribution of the number of sampled people who have completed a high school diploma?
Find the probability that at least 8 out of 15 randomly selected Canadians aged 25-64 will have such a diploma.
Example:
This gives the probability of getting six or less correct answers in ten trials, with a 50/50 probability (like Example 1).
Example:
This gives the probability of getting MORE THAN SIX correct answers in ten trials, again with a 50/50 probability (like Example 1).
Note: this is not “greater than or equal to”, it is strictly greater than 6.
For the probability associated with a specific number of successes:
For the probability associated with observing one of a set of successes:
We would use a vector to represent the “set of successes”.
Either c(1,9,10) or, if we have a sequence of successes, 3:6.
OR, both! c(1, 3, 8:10)
