Probability and Types of Events in Statistics
Course Administration and SPSS Update
FAQ Forum: Students are encouraged to post questions or struggling topics on the FAQ forum so that the instructor can create content covering those areas. No posts have been made yet.
Standard Deviation: A video explaining the concept of standard deviation will be posted.
SPSS Licensing Issues:
The university has only concurrent licenses for SPSS, which is insufficient for a large student body (approximately students).
Solutions:
Single Device Access: Students must ensure they are only trying to access SPSS on one device at a time. Using multiple devices simultaneously consumes additional licenses.
Partner Work: If single device access doesn't resolve the issue, students should work in partners (or small groups of ) on one computer, sharing a single SPSS license and collaborating on assignments.
SPSS Exam: The SPSS exam will involve using SPSS. The focus will be on understanding what SPSS does (conceptual understanding), not on memorizing how to use specific commands or syntax.
Introduction to Probability
Definition: Probability is the likelihood that a particular event or outcome will occur. It is used to predict outcomes, but these are not certainties ( guarantee).
Everyday Examples:
Rain Forecast: A chance of rain is a probability, not a certainty. The actual outcome may differ.
Gestational Diabetes by Maternal Age (Canada Data):
The risk of gestational diabetes increases with maternal age.
For pregnant individuals aged and over, approximately develop gestational diabetes.
This indicates a higher risk for individuals in older age groups, but does not guarantee an individual will develop it. We are trying to predict outcomes based on group probabilities.
Rolling a Die: The probability of rolling a one on a standard six-sided die is . This is a population-level probability, not a guarantee for any small number of rolls.
Medical/Test-Related Probabilities:
Sensitivity: The probability that a test will correctly identify a truly sick individual as positive (true positive).
Example: If a person really has COVID, what is the chance their COVID test says "positive" (yes, you have it)?
We want sensitivity to be high; a low sensitivity (e.g., ) means many false negatives (sick people testing negative).
This concept is related to Type I and Type II errors in hypothesis testing, which will be covered later.
Specificity: The probability that a test will correctly identify a truly healthy individual as negative (true negative).
Example: If a person really does not have COVID, what is the chance their COVID test says "negative" (no, you don't have it)?
This was a concern during the early stages of COVID to avoid false negatives (a person testing negative but actually being sick).
There are often trade-offs between sensitivity and specificity in test design. Both are expressed as probabilities.
Formal Statistical Perspective
Random Event: Any event where more than one outcome is possible.
Sample Space: A comprehensive list of all possible outcomes for a random event.
Example 1: Sex of a Newborn: Sample space = {Male, Female}. (Acknowledged rare cases of ambiguous genitalia are typically excluded for simplification).
Example 2: Flipping a Coin Times: Sample space = {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}. There are possible outcomes.
Calculating the Probability of an Event ():
Example 1: Probability of a Baby Girl: Sample space has outcomes. One way to get a girl. or .
Example 2: Probability of at Least Two Heads in Coin Flips:
Outcomes with at least two heads: {HHH, HHT, HTH, THH} (which is ways).
Total outcomes: .
or .
Probability Range (Math Check):
Probabilities are always between and , inclusive. (i.e., ).
Probabilities are always positive.
A probability closer to means the event is more likely; closer to means less likely.
means the event is certain to happen.
If any calculation yields a probability greater than or less than , an error has been made.
Types of Events
Independent Events: The occurrence of one event has no influence on the probability of subsequent events.
Example 1: Coin Flips: Each coin flip is independent of the previous ones.
Example 2: Drawing Cards with Replacement: If a card is drawn and then put back into the deck before drawing again, the draws are independent.
Example 3: Unrelated Purchases: One person in Calgary buying an iPhone does not influence another person in Ottawa buying one (if they are unrelated).
Dependent Events: The occurrence of one event does influence the probability of subsequent events.
Example 1: Drawing Cards Without Replacement: If a card is drawn and not replaced, the probabilities for subsequent draws change.
.
.
Example 2: Influenced Purchases: A person buying an iPhone and telling their brother about it, leading the brother to buy one, is a dependent event.
Mutually Exclusive Events: Two events are mutually exclusive if they cannot occur at the same time. The occurrence of one precludes the occurrence of the other. The probability of both occurring is zero ().
Example 1: Height: A person cannot be both taller than six feet and shorter than six feet simultaneously.
Example 2: Drawing an Ace vs. a Non-Ace: If you draw an Ace, it cannot be a non-Ace.
Venn Diagram: Mutually exclusive events are represented by separate, non-overlapping circles.
Not Mutually Exclusive Events: Two events are not mutually exclusive if they can occur at the same time; there is an overlap.
Example: Drawing an Ace or a Heart from a Deck:
There are cards that are Aces but not Hearts (e.g., Ace of Spades).
There are cards that are Hearts but not Aces (e.g., Two of Hearts).
There is a card that is both an Ace and a Heart (Ace of Hearts).
Venn Diagram: Represented by overlapping circles, where the overlap signifies the co-occurrence of both events.
.
.
or .
Exhaustive Events: A set of events is exhaustive if it includes all possible outcomes in the sample space. The sum of their probabilities equals . This requires the events to also be mutually exclusive.
Example: Suits in a Deck of Cards: Drawing a Heart, Club, Spade, or Diamond comprises all possibilities.
.
If events are not mutually exclusive, adding their individual probabilities will result in a sum greater than due to double-counting.
Relative Frequency: Another term for how often an event is expected to occur in relation to all possibilities. It is the practical interpretation of probability.
Calculating Probabilities for Multiple Events
Complementary Events: Two events, A and B, are complementary if they are mutually exclusive and exhaustive. This means one must occur if the other does not.
.
Therefore, .
Example: Ace vs. Non-Ace Draw: . Then . The sum is .
Additive Rule (for "OR" statements): Used when calculating the probability of either event A or event B occurring.
For Mutually Exclusive Events: .
Multiplicative Rule (for "AND" statements): Used when calculating the probability of both event A and event B occurring.
For Independent Events: .
Example: Drawing two 10s with replacement: .
For Dependent Events (e.g., without replacement): , where is the conditional probability of B given A.
Example: Drawing two 10s without replacement: On the first draw, . If a 10 is drawn, there are now tens left out of cards. So, .
Conditional Probabilities
Definition: The probability of an event occurring given that another event has already occurred. This indicates a dependency between the events.
Notation: , read as "the probability of A given B."
Example: Driver's License and Age:
(A child cannot have a license).
(Not all adults have licenses, but it's possible).
(If you have a license, you cannot be a child).
Conditional probabilities do not simply flip around; what is given changes the sample space.
Using Tables for Conditional Probabilities (Example: Depression and Contraceptive Use):
A study examining depression among adolescent girls:
| | Depressed | Not Depressed | Total |
|:---|:---:|:---:|:---:|
| On Contraceptives | | | |
| Not on Contraceptives | | | |
| Total | | | |Overall Probabilities:
(or ).
(or ).
Conditional Probabilities:
(or ). This means among those on contraceptives, are depressed.
(or ). Among those not on contraceptives, are depressed.
Conclusion: Since , depression is dependent on contraceptive use in this sample.
: Among those who are depressed ( total), are on contraceptives. So, (or ).
Bayesian Statistics (Brief Introduction)
Core Idea: While this course focuses on frequentist statistics, Bayesian statistics offers an alternative approach.
Key Feature: Bayesian statistics incorporates prior probabilities (base rates or existing knowledge from the broader population or previous research) into its calculations of conditional probabilities.
Example: When calculating , a Bayesian approach would also consider the general prevalence of depression in the population (the "prior probability"), not just the sample data in isolation.
Advantage: It leverages historical and broader scientific context, not limiting conclusions purely to the current sample.
Scope: Calculations using Bayes' theorem are beyond the scope of this introductory course, but understanding its core concept and use of prior probabilities is important if pursuing further study.
Practice: GRE Score and Studying
Goal: To demonstrate that studying and GRE score are not independent (i.e., they are dependent).
Data:
High GRE (>1100)
Low GRE (<1100)
Total
Studied
Didn't Study
Total
Conditional Probabilities:
(or ).
(or ).
Conclusion: Since , the probability of achieving a high GRE score depends (is conditional upon) whether a person studied or not. Therefore, studying for the GRE is beneficial and the events are not independent.