Prof. Polly

Data Analytics / Module 3 / Topic 10

Topic 10 · Managerial Decisions

Planning for Chance

Why a plan built on averages can mislead, and how simulation and scenarios show what could really happen.

Tiggie the tiger cub, thinking
Your profit lineAnswer Tiggie to add a point
0 of 8
Sprout & Stem's holiday order. Before the season, the plant shop (made up for this guide) orders holiday wreaths once. Each wreath costs $7 and sells for $15. Wreaths left over after the holidays are cleared at $3. Demand is uncertain: any number from 50 to 110 wreaths is equally likely, so average demand is 80. The owner plans to order 80. Eight short stops.
STOP 1 OF 8

The plan built on the average

If demand is exactly average, the plan looks great.

The idea

Ordering 80 and selling all 80 earns 80 × ($15 − $7) = $640. But demand is rarely exactly average. Real inputs such as demand, cost, and delivery time are uncertain.

Try it: pick a demand

STOP 2 OF 8

The flaw of averages

The average outcome is often not the outcome of the average.

The idea

Look at the shape. When demand is above 80, the shop can still sell only 80, so profit stops at $640. When demand falls short, every unsold wreath loses $4 instead of earning $8, and profit keeps falling. Good surprises are capped. Bad ones are not. So the average profit over many seasons lands below the $640 the plan promised. This trap is called the flaw of averages.

Profit for each demandThe plan: $640
STOP 3 OF 8

Monte Carlo simulation

Play the season many times, with demand drawn at random each time.

The idea

A Monte Carlo simulation draws a random value for each uncertain input, works out the result, and repeats that hundreds or thousands of times. Instead of one number, you get a distribution: the whole range of results and how often each happens.

Try it: run seasons

Seasons run0
Average profit?
Worst season?
Below the $640 plan?
STOP 4 OF 8

Why one short run proves nothing

More trials give a steadier answer.

Try it: run each size five times

RunAverage of 20 seasonsAverage of 1,000 seasons

With exact math, the true long-run average for this order is $548.52. Small runs jump around it. Large runs stay close to it.

STOP 5 OF 8

Read the whole distribution

The spread is the point, not just the average.

What the simulation says (exact long-run values)

MeasureValue
The plan built on average demand$640
Average profit over many seasons$548.52
Best season$640
Worst season$280
Chance of falling short of the plan30 of 61 demand levels, about 49.2%

A manager who hears only "$640" expects too much. The simulation shows the average is about $91.48 lower, no season ever beats $640, and about half of all seasons fall short.

STOP 6 OF 8

Scenario analysis: the lighter option

A few defined cases instead of thousands of draws.

The idea

Scenario analysis looks at a few cases, such as best, base, and worst. Give each case a probability and you can compute the expected value: each result times its chance, added up. It is quick to build when a full simulation is more than you need.

Try it: Sprout & Stem's weekend workshops

CaseChanceProfitChance × profit
Tap the button to fill in the last column.
STOP 7 OF 8

Your assumptions drive everything

A simulation is only as good as what you feed it.

Try it: change the demand range you assume

Lowest demand Highest
Where this is heading: digital twins. Large companies build a digital twin, a computer model that mirrors a real factory, warehouse, or supply chain. They run simulations on the twin to test a decision, such as adding a machine, before making it in the real world.
STOP 8 OF 8

Spot the mistake

Six quick cases. Four are common simulation mistakes, and two are fine.

Nice work. Your profit line is complete!

Now use the tool to test different order sizes and see which one does best over many seasons.

A one-time order simulator. Set the prices, the order, and the demand range, then run thousands of seasons. It starts with Sprout & Stem's wreath numbers, which are made up.

Settings

Demand: every whole number from lowest to highest is equally likely.

Plan at average demand
Average profit
Worst season
Chance of a loss

Do it in Excel

This simulates Sprout & Stem's order of 80 wreaths over 1,000 seasons.

  1. In A1 type Trial, in B1 Demand, in C1 Profit. In A2 type 1 and in A3 type 2. Select both and drag the corner handle down to row 1001: 1,000 trials.
  2. In B2 type =RANDBETWEEN(50,110). Each trial draws the demand for one season.
  3. In C2 type =15*MIN(B2,80)+3*MAX(80-B2,0)-560. The shop sells the smaller of demand or its 80 wreaths at $15, clears leftovers at $3, and paid $560 for the stock.
  4. Select B2 and C2 and double-click the small square at the corner. Excel copies both down to row 1001.
  5. Summarize: =AVERAGE(C2:C1001), =MIN(C2:C1001), and =COUNTIF(C2:C1001,"<640")/1000 for the share of seasons below the $640 plan.
  6. Press F9 (or Formulas, Calculate Now) to draw 1,000 new seasons. The results move a little each time. That is normal.

What you should see: an average near $548.52, not $640. No season beats $640, about half fall short of it, and the worst is close to $280.

Try it yourself

1. A food truck's festival weekend

A food truck's profit depends on the weather: Sunny (50% chance) gives $3,100; Cloudy (35% chance) gives $900; Rainy (15% chance) gives −$1,700.

a) What is the expected profit? $

b) What is the chance of losing money? %

a) 0.50 × $3,100 + 0.35 × $900 + 0.15 × (−$1,700) = $1,550 + $315 − $255 = $1,610.
b) Only the rainy case loses money, so the chance of a loss is 15%.

2. The flaw of averages, by hand

A bakery orders 48 boxes of cupcakes at $4 each, sells them at $11, and clears leftovers at $2. Demand is equally likely to be 33, 48, or 63 boxes, so average demand is 48.

a) What profit does the plan promise if demand is exactly 48? $

b) What is the average profit over the three demand levels? $

The bakery paid 48 × $4 = $192.
Demand 33: 11 × 33 + 2 × 15 − 192 = $201.
Demand 48 or 63: it sells all 48, so 11 × 48 − 192 = $336.
a) The plan promises $336. b) The average is ($201 + $336 + $336) ÷ 3 = $291, which is $45 less. Extra demand earns nothing extra, but low demand costs money.

3. Reading a simulation

A simulation of a new product shows an average profit of $8,000 and a 30% chance of a loss. Which summary is best for the manager?

Questions to discuss

  1. Explain the flaw of averages in your own words, with an example.
  2. What does a simulation show a manager that a single best-guess number does not?
  3. When would a quick scenario analysis (best, base, worst) be enough, instead of a full simulation?
  4. Name a decision you face that depends on an uncertain quantity. What would a range of outcomes tell you?

Practice quiz

Score: 0 of 10

AI can handle the mechanics of a simulation. You judge the assumptions and read the risk. If your class has an AI policy, follow it.

It can help with

  • Listing the uncertain inputs and suggesting a distribution for each
  • Drafting the Excel steps to run many trials
  • Explaining the output, including the chance of a loss
  • Setting up a best, base, and worst scenario table

Always check

  • Do the distributions match what you believe about the inputs?
  • Recompute the average and the chance of a loss yourself
  • Test an extreme case where you know the answer

Watch out for

  • Garbage in, garbage out: wrong inputs make every output wrong
  • Hidden assumptions, such as a bell-shaped distribution that does not fit
  • False confidence from a narrow range built on hopeful inputs

Prompts that help you learn

The best prompts make you do the thinking, with AI as a coach.

How to check any AI answer

  1. Compare it with a result you already know, such as the tool on this page.
  2. Test one number yourself with a calculator.
  3. Ask the AI to explain each step. If a step does not make sense, do not use it.
  4. If the AI and your own work disagree, find out why before you trust either one.

Check the AI: a challenge

Give an AI assistant the wreath problem: order 80, cost $7, price $15, leftovers cleared at $3, demand equally likely to be any whole number from 50 to 110. Ask for the expected profit and the chance of falling short of $640.

Expected profit: about $548.52. Chance of falling short of $640: 30 of 61 demand levels, about 49.2%. If the AI says $640, it plugged in average demand: that is the flaw of averages.
1 / 8