(polygon[GRID.polygon.1], polygon[GRID.polygon.2], polygon[GRID.polygon.3], polygon[GRID.polygon.4], text[GRID.text.5], text[GRID.text.6], text[GRID.text.7], text[GRID.text.8])
28 Apr 2026
Sofia is a UCSC environmental studies student working with a campus sustainability organization…
Her mission: Increase student participation in climate action programs
The Challenge: With limited resources, how can she predict which students are most likely to participate? 🤔
Today’s goal: Use probability to make strategic decisions about outreach!
By the end of this lecture, you will be able to:
Probability measures the likelihood that an event will occur.
Scale: Always between 0 and 1 (or 0% to 100%)
Sofia’s question: “What’s the probability a randomly selected UCSC student will join our bike-sharing program?”
In real life, we use probability constantly:
Probability helps us make informed decisions under uncertainty! 🎲
Sofia’s Experiment: Select one random UCSC student and ask about their climate action participation.
Possible Outcomes:
Sample Space (S): {Bike-sharing, Zero-waste, Garden, Workshops, None}
Event E: “Student participates in at least one program”
E = {Bike-sharing, Zero-waste, Garden, Workshops}
When all outcomes are equally likely:
\[P(E) = \frac{\text{Number of outcomes in } E}{\text{Total number of outcomes in } S}\]
Example: Roll a fair six-sided die
When outcomes are NOT equally likely, we use observed data:
\[P(E) = \frac{\text{Number of times } E \text{ occurred}}{\text{Total number of trials}}\]
Sofia’s real data: She surveyed 500 UCSC students
P(Uses bike-sharing) = 125/500 = 0.25 or 25%
Sofia’s survey results (n = 500 students):
| Program | Count | Probability |
|---|---|---|
| Bike-sharing | 125 | 125/500 = 0.25 |
| Zero-waste dining | 200 | 200/500 = 0.40 |
| Community garden | 75 | 75/500 = 0.15 |
| Climate workshops | 100 | 100/500 = 0.20 |
Question: What’s the probability a random student does NOT use bike-sharing?
Answer: P(No bike-sharing) = 1 - 0.25 = 0.75 or 75%
Complement Rule:
\[P(E^c) = 1 - P(E)\]
Why? The total probability must equal 1:
\[P(E) + P(E^c) = 1\]
Sofia’s data: P(Participates in zero-waste) = 0.40
Find: P(Does NOT participate in zero-waste)
Solution:
P(Does NOT participate) = 1 - P(Participates)
P(Does NOT participate) = 1 - 0.40 = 0.60 or 60%
Interpretation: 60% of students are not currently participating in zero-waste dining - a potential target for outreach! 🎯
Probability Practice with Real Data:
Sofia surveyed 400 students about their primary transportation to campus:
Calculate:
Discuss with a partner: How could Sofia use these probabilities to plan bike infrastructure improvements?
Sofia needs to understand how events relate to each other:
Two critical concepts:
Important: These are DIFFERENT concepts! Many students confuse them! ⚠️
Definition: Two events are mutually exclusive (or disjoint) if they cannot occur at the same time.
\[\text{If } A \text{ and } B \text{ are mutually exclusive: } P(A \text{ and } B) = 0\]
Key insight: If one happens, the other CANNOT happen!
Example 1: Student’s primary residence
Event A: “Lives on campus”
Event B: “Lives off campus”
Are they mutually exclusive? YES! ✅
A student cannot live both on AND off campus simultaneously.
Example 2: Student’s participation
Event C: “Uses bike-sharing”
Event D: “Participates in zero-waste dining”
Are they mutually exclusive? NO! ❌
A student can do BOTH! These events can overlap.
Venn Diagram - Mutually Exclusive:
(polygon[GRID.polygon.1], polygon[GRID.polygon.2], polygon[GRID.polygon.3], polygon[GRID.polygon.4], text[GRID.text.5], text[GRID.text.6], text[GRID.text.7], text[GRID.text.8])
No overlap = Mutually exclusive!
Definition: Two events are independent if the occurrence of one event does NOT affect the probability of the other event.
\[\text{If } A \text{ and } B \text{ are independent: } P(A \text{ and } B) = P(A) \times P(B)\]
Key insight: Knowing one happened tells you NOTHING about whether the other happened!
Example 1: Two different students
Event A: “Student 1 uses bike-sharing”
Event B: “Student 2 uses bike-sharing”
Are they independent? YES! ✅
What Student 1 does doesn’t affect what Student 2 does.
Example 2: Same student, related behaviors
Event C: “Student lives on campus”
Event D: “Student uses bike-sharing”
Are they independent? Probably NO! ❌
Students living on campus might be MORE likely to bike (campus is closer). These events are likely dependent.
CRITICAL DISTINCTION:
Mutually Exclusive
Example: “Lives on campus” and “Lives off campus”
Independent
Example: Flipping a coin twice - first flip doesn’t affect second
False statement: “If events are mutually exclusive, they must be independent.”
Truth: If events are mutually exclusive, they are DEPENDENT!
Why? If you know A happened, you KNOW B did not happen!
Exception: If P(A) = 0 or P(B) = 0 (impossible events)
Question: What’s the probability that at least one of two events occurs?
General Addition Rule:
\[P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)\]
Why subtract P(A and B)?
To avoid counting the overlap twice! 🎯
If A and B are mutually exclusive: P(A and B) = 0
Simplified Addition Rule:
\[P(A \text{ or } B) = P(A) + P(B)\]
Example: Student’s primary residence
Makes sense! Every student lives somewhere.
Example: Sofia’s survey (n = 500)
Find: P(Student uses bike-sharing OR participates in zero-waste)
Solution:
P(Bike OR Zero-waste) = P(Bike) + P(Zero-waste) - P(Both)
= 125/500 + 200/500 - 50/500
= 0.25 + 0.40 - 0.10
= 0.55 or 55%
Venn Diagram - With Overlap:
(polygon[GRID.polygon.9], polygon[GRID.polygon.10], polygon[GRID.polygon.11], polygon[GRID.polygon.12], text[GRID.text.13], text[GRID.text.14], text[GRID.text.15], text[GRID.text.16], text[GRID.text.17])
Green + Blue + Overlap (counted once) = Total students doing at least one!
Sofia’s expanded data (n = 800 students):
Verify with Addition Rule:
P(B or Z) = 0.30 + 0.40 - 0.10 = 0.60
Check: 240 + 320 - 80 = 480 students
480/800 = 0.60 ✅
Question: What’s the probability that both of two events occur?
General Multiplication Rule:
\[P(A \text{ and } B) = P(A) \times P(B|A)\]
Where P(B|A) means “probability of B given that A occurred”
For independent events, this simplifies!
If A and B are independent: P(B|A) = P(B)
Simplified Multiplication Rule:
\[P(A \text{ and } B) = P(A) \times P(B)\]
Example: Two random students
P(Both use bike-sharing) = 0.25 × 0.25 = 0.0625 or 6.25%
For three independent events:
\[P(A \text{ and } B \text{ and } C) = P(A) \times P(B) \times P(C)\]
Example: Three random students
P(All three use bike-sharing) = 0.25 × 0.25 × 0.25 = 0.0156 or 1.56%
Notice: As we add more independent events, the probability of ALL occurring gets smaller! 📉
Sofia’s outreach strategy:
She sends emails to students. From past data:
Find: P(Student opens email AND clicks link)
Solution:
P(Opens and Clicks) = P(Opens) × P(Clicks | Opens)
= 0.40 × 0.30 = 0.12 or 12%
Addition Rule
Use when finding: “A OR B”
Formula:
P(A or B) = P(A) + P(B) - P(A and B)
If mutually exclusive:
P(A or B) = P(A) + P(B)
Multiplication Rule
Use when finding: “A AND B”
Formula:
P(A and B) = P(A) × P(B|A)
If independent:
P(A and B) = P(A) × P(B)
Real-World Probability Challenge:
Sofia’s climate action survey (n = 600):
Tasks:
Post your analysis on Ed Discussion with your group members’ names!
Using probability to improve outreach:
Finding 1: P(Uses bike-sharing | Lives on campus) = 0.35
P(Uses bike-sharing | Lives off campus) = 0.12
Action: Focus bike infrastructure near dorms! 🚲
Finding 2: P(Attends workshop AND volunteers in garden) = 0.05
P(Attends workshop) × P(Garden volunteer) = 0.20 × 0.15 = 0.03
Insight: These activities are NOT independent - students who do one are more likely to do the other! Create combined programs! 🌿
Complement Rule: \[P(E^c) = 1 - P(E)\]
Addition Rule (for A or B): \[P(A \text{ or } B) = P(A) + P(B) - P(A \text{ and } B)\]
If mutually exclusive: P(A or B) = P(A) + P(B)
Multiplication Rule (for A and B): \[P(A \text{ and } B) = P(A) \times P(B|A)\]
If independent: P(A and B) = P(A) × P(B)
Example dataset in columns A-C:
| Student ID | Uses Bike | Zero-Waste |
|---|---|---|
| 1 | Yes | Yes |
| 2 | No | Yes |
| … | … | … |
Count events:
=COUNTIF(B:B, "Yes") - counts bike users=COUNTIFS(B:B, "Yes", C:C, "Yes") - counts bothCalculate probability:
=COUNTIF(B:B, "Yes")/COUNTA(B:B) - P(Bike)Visual tool for sequential events:
How probability transformed her outreach:
✅ Targeted campaigns: Focused on on-campus students for bike-sharing (35% participation vs 12% off-campus)
✅ Bundle programs: Created combined workshop + garden volunteer events (since they’re not independent!)
✅ Realistic goals: Expected 12% email click rate instead of overestimating
✅ Impact: Increased overall climate action participation by 28% in one semester! 🌱
Next Class: Conditional Probability and Contingency Tables
This week’s assignment: Analyze probability scenarios using real campus data! 📊
Questions? Probability can be tricky - office hours are here to help! 🤝
Rate your confidence (1-5) on Ed Discussion:
If you rated anything 3 or below, please visit office hours! 🤗
Questions? Office hours information on Canvas.
Next up: Conditional Probability & Bayes’ Theorem!
![]()
STAT 17 – Fall 2025