418. Discrete

418.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.

418.1.1. Setup

Same costs as basic newsvendor:

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

418.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

𝐶𝑢=104=6,𝐶𝑜=41=3CR=66+3=230.667

Step 2 — empirical CDF

Convert frequencies to probabilities, then accumulate:

𝑑101214161820
𝑝𝑑1/61/62/61/601/6
𝐹(𝑑)1/60.1672/60.3334/60.6675/60.8335/66/6=1

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

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

Step 4 — sanity check via marginal analysis

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

Δ(14)=(10.667)60.6673=22=0

Adding a 15th unit would yield Δ(15)=(10.833)60.8333=12.5<0 — not worth it.

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

𝑄normal14+0.443.415.516(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.