Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Lesson 3 — Probability Foundations in Context (with Simulation)

Why this matters (motivation)

In business/economics, you rarely get certainty. You get risk:

Probability gives a disciplined way to think about these questions.


Probability as a language for uncertainty

Frequentist intuition (what we use today)

If you repeat a process many times (real or simulated), probability is the long-run proportion of outcomes.


Random variables (intuitive definitions)

Two core quantities


Common business distributions (light intuition)

Bernoulli (yes/no outcomes)

Binomial (number of successes out of n)

Arrivals (count per time, intuition only)


Simulation (Monte Carlo): your practical workhorse

Why simulation is powerful


Mini case 1: Capacity planning (arrivals)

Scenario: A café has capacity for 40 customers per hour.
You want to estimate: P(arrivals>40)P(\text{arrivals} > 40).

Steps:

  1. Choose a simple model for arrivals (we’ll start with a reasonable assumption).

  2. Simulate many hours.

  3. Count the share of hours where arrivals exceed 40.


Mini case 2: Marketing conversion (binomial)

Scenario: Conversion rate is about 5%. You contact 200 customers.
What is:

This is a binomial-style situation, and simulation gives quick answers.


Mini-lab (Google Colab)

In-class tasks (checkpoints)

  1. Simulate 10,000 Bernoulli trials and estimate a probability.

  2. Simulate a binomial process (conversions out of nn) and summarize the distribution.

  3. Compute:

    • an estimated probability of a “bad outcome” (e.g., conversions ≤ threshold),

    • an expected value,

    • and a simple uncertainty summary (e.g., 5th–95th percentile).

  4. Write a short interpretation in business language:

    • “What is likely?”

    • “What is risky?”

    • “What action would you take?”

Submission


AI check (responsible use for probability work)

Good prompt examples

Bad prompt example


Review questions (quiz / reflection)

  1. What is the difference between expected value and most likely outcome?

  2. Why can simulation be useful even when a formula exists?

  3. In a conversion campaign, which risk matters more: unusually low conversions or unusually high conversions? Why?