3.1 - Introduction to probability
Introduction to Probability
Conducting Inferential Statistics
Population -
Interest - proportion of vowels in population
Sampling method - simple random sampling with
Sample space
Sample space is a groupd of every possible outcome
Definitions
A random experiment is a phenomenon in which a single outcome will occur from a set of possible outcomes - sample space
If we are using SRS, by definition every sample of size 3 has an equal likelihood of occuring. When every outcome is equally likely, we are in the realm of classical probability
What makes the sample unbiased? - If the sample statistic is equal to the population parameter. The bolded are unbiased
Probability notation
If A is an event for some random experiment, the probability of A occuring, that is one of the outcomes in A, is denoted as
Examples
Complement
If A is an event for some random experiment, the complement of A, denoted as
Complements are SETS. Probablitity of a complement is a percentage
Examples
A - sample contains no vowels
B - sample contains at least 2 vowels
C - sample contains one or three consonants
D - sample contains more than 2 consonants
Probability rules
Given any event A
If
If
Examples
A - Sample contains both vowels and consonants
B - Sample contains equal numbers of vowels and consonants
Methods of probability
We utilize classial probability when every outcome in our sample space is reasonably understood to be equally likely
We utilize empirical probability when we estimate probabilities through repeated trials of the random experiment
Nobody told us that when rolling the dice is equal, but after playing with it for some time, we can deduct it by doing number of rolls
We engage in subjective probability when we assign a numerical value to value the probability of an event occuring based on personal judgment using past experiences and opinions
Foundations of Empirical Probability
The probability of an event A remains constant across all previous, current, and future trials
The computed relative frequency of an event A approaches the 'true' probability of the event as the number of trials increases
This is called the Law of Large Numbers
Examples
For each random experiment, identify the sample space and determine which method of probability would be most approximate to utilize
A married couple planning on having 4 children
sample space size -
Technically there are more women born, so it should be empirical probability
The Chiefs playing out the 2026 preseason games
sample space size -
Taking that Chiefs have 50% of W/L, it's classical probability
Rolling a pair of two standard, fair, six-sided dice
sample space size -
A - getting at least one 1 -
B - getting a prime sum -
C - getting different numbers on each dice -
D - sum being odd number, or product > 34 -
Counting
Basic Counting of Events
Fundamental Counting Principle
A random sample is formed using identical and independent random sampling (i.i.d.) when each member of a sample is chosen one-by-one with replacement where each member is equally likely for each selection
Basically - i.i.d. is SRS allowing repetition
Exercise
Sample space from i.i.d. of 3 letters from the first 6 letters of the alphabet
each sample is created from choosing one of the 6 letters, so the sample space size$$|S| = 6 \cdot 6 \cdot 6 = 6^3 = 216 $$
Is the classical probability method appropriate
Yes, it is appropriate as we can easily create the whole sample space and work on it
Determine the size of the sample space for random experiment consisting of conducting i.i.d. random sampling of size
Counting and order
Determine if the selection order matters
Musical pieces for a dance - YES
Starting players on a basketball team - NO
Members of a simple random sample - NO
Members of an i.i.d. sample - YES
Examples
Band has 20 songs, and is planning a 10 song concert with an encore piece. How many different concerts do they choose from?
Permutation
The number of ways that
In excel, we can use {excel} =permut(n, r) to calculate the permutation value
Combinations
Counting when order does not matter
Determine the sample space for SRS of size 3 from population with 5
We divide by 6, because in SRS we would take samples
In excel, we can use {excel}=combin(n, r)
Examples
A co-ed softball team with 5 men and 5 women. League requires that all members of the team must bat, and batters must alternate by gender.
Determine the number of possible batting orders
Number of passwords of length 5 consisting of only lower case letters
Number of passwords of length 5 with both lower and upper case
Number of passwords of length 5 with lower, upper case and digits
A small university of 250 students has 150 STEM major students. A SRS sample of 75 students
Determine the probability of the event that the sample is unbiased with respect to the proportion of STEM students
Event -
So to choose 45 STEM students -
30 non-STEM students -
So the complete probability
Determine the probability that the sample contains no STEM majors
Determine the probability that the sample contains only STEM majors
A volunteer needs 20 unique prices for a ring toss. Quarter of prizes should be soda, another quarter - Pringles, the rest half will be candy. The local store has 12 types of soda, 10 flavors of Pringles, and 20 different candy bars.
Determine the number of possible prize combinations
Soda -
Pringles -
Candy -
Total combinations -
Counting with Indistinguishable Objects
What happens when we want to arrange 3 silver and 2 golden coins, and we cannot distinguish ones made from the same material?
Our sample space would look something like this
Notice that we don't distinguish between separate golden or silver coins
To count the size of that sample space, we have to use following formula
Where
So for our situation, we have 5 coins in total, 3 silver and 2 gold