430. Discrete

430.1. Newsvendor with discrete demand

Relax one dimension from basic newsvendor: demand distribution is no longer continuous. Demand 𝐷 takes integer values (Poisson, empirical histograms, etc.). The critical-ratio rule still applies, but the quantile is found by a discrete lookup instead of inverting a continuous CDF.

430.1.1. Setup

Same costs as basic newsvendor:

Demand 𝐷∈{0,1,2,…} with PMF 𝑝𝑑 and CDF 𝐹(𝑑)=𝑃(𝐷≤𝑑)=∑𝑘=0𝑑𝑝𝑘.

430.1.2. Decision rule

For continuous 𝐹, 𝑄∗=𝐹−1(CR). For discrete 𝐹, the CDF jumps — there may be no 𝑄 with 𝐹(𝑄)=CR exactly. Take the smallest 𝑄 that gets you to (or above) CR:

𝑄∗=min{𝑄∈{0,1,2,…}:𝐹(𝑄)≥CR}

Equivalent statements:

Why this is correct: the marginal-analysis derivation from the basic newsvendor still holds. The expected marginal profit of one more unit at level 𝑄 is (1−𝐹(𝑄))𝐶𝑢−𝐹(𝑄)𝐶𝑜. Order while this is ≥0, i.e., while 𝐹(𝑄)≤CR. Stop at the first 𝑄 where 𝐹(𝑄)≥CR.

Example: Empirical demand from sales records

Given: 6 weeks of sales for a perishable item.

  • Sale price: 𝑃 = $10
  • Purchase cost: 𝐶 = $4
  • Salvage value: 𝑆 = $1
  • Empirical demand counts:
Demand 𝑑101214161820
Frequency112101

Total weeks: 6.

Step 1 — costs and CR

𝐶𝑢=10−4=6,𝐶𝑜=4−1=3CR=66+3=23≈0.667

Step 2 — empirical CDF

Convert frequencies to probabilities, then accumulate:

𝑑101214161820
𝑝𝑑1/61/62/61/601/6
𝐹(𝑑)1/6≈0.1672/6≈0.3334/6≈0.6675/6≈0.8335/66/6=1

Step 3 — find smallest 𝑄 with 𝐹(𝑄)≥0.667

  • 𝐹(10)=0.167<0.667
  • 𝐹(12)=0.333<0.667
  • 𝐹(14)=0.667≥0.667 ✓ — first to satisfy.
𝑄∗=14units

Step 4 — sanity check via marginal analysis

At 𝑄=14, expected marginal profit of one more unit:

Δ(14)=(1−0.667)⋅6−0.667⋅3=2−2=0✓

Adding a 15th unit would yield Δ(15)=(1−0.833)⋅6−0.833⋅3=1−2.5<0 — not worth it.

Compare to continuous-normal baseline: empirical mean ≈14, std ≈3.4. If we had assumed normal demand:

𝑄normal∗≈14+0.44⋅3.4≈15.5→16(rounded)

The discrete answer (𝑄∗=14) is smaller than the continuous approximation because the empirical CDF jumps past the threshold exactly at 14. With small samples, the discrete formula respects the actual data distribution rather than a smoothed assumption.