5D Library › Algorithmic Marketing, Multi-Touch Shapley Attribution and Stochastic Control of Acquisition Funnels · 中文
Chapter 6 Diffusion and Spend: the Bass Model, the Dorfman–Steiner Condition and Whole-Life Budgets
The Bass diffusion model
In 1969 Bass proposed in Management Science a model of the growth of first purchases of a new product (Bass 1969). Let be the number of potential buyers and the fraction who have bought by time ; then
is the coefficient of innovation, the external influence (advertising, media) independent of earlier buyers; is the coefficient of imitation, the internal influence of earlier buyers through word of mouth. The equation in the author’s framework checks out. Its solution is
and when new purchases peak at , where . It is the fully mixed version of the “simple contagion” of Book 25: each non-buyer is influenced by buyers with a probability proportional to the fraction who have bought, with no network structure and no complex-contagion threshold.
Evidence
The empirical range of the parameters. Sultan, Farley and Lehmann meta-analysed 213 applications of diffusion models from 15 articles, relating the parameters to the type of innovation, the country, the model specification and the estimation method (Sultan et al. 1990). Parameters differ greatly between products and markets, so the parameters in this chapter are only illustrative. Bass, Krishnan and Jain (1994) proposed the “Generalized Bass Model”, which puts decision variables such as price and advertising into the model, and explained why the original model without them still fits many data sets well: when the percentage changes in the decision variables are roughly stable, their effect is absorbed into and (Bass et al. 1994).
The Dorfman–Steiner condition
Dorfman and Steiner (1954) studied how a monopolist chooses price, advertising and quality together (Dorfman and Steiner 1954). The advertising part of their result is that at the profit maximum
that is, advertising as a share of sales equals the advertising elasticity of demand divided by the price elasticity (taken as positive). The intuition: the more price-elastic demand is, the smaller the markup, the less profit each unit of sales brings, and the less advertising is worth.
Calculation
# A: Bass (1969) diffusion dF/dt = (p + qF)(1 - F): closed form, peak time
# ln(q/p)/(p+q) and F at the peak (1/2 - p/(2q)); p, q and market size M refitted
# by least squares to a FICTIONAL noisy monthly series, before and after the peak.
# B: Dorfman-Steiner (1954). With demand Q = k P^(-eta) A^beta and unit cost c, profit
# (P - c)Q - A is maximised at A/(PQ) = beta/eta (advertising elasticity over price
# elasticity); checked by a direct numerical search. The rule is STATIC: it says
# nothing about how to spread spend over a product's life (see p12).
import math, random
def bass_F(t, p, q):
e = math.exp(-(p + q) * t)
return (1 - e) / (1 + q / p * e)
def fit(sales):
"""Least squares over p, q (grid, then local search); the market size M enters
linearly, so for each (p, q) it is profiled out in closed form."""
def sse(pq):
g = [bass_F(t + 1, *pq) - bass_F(t, *pq) for t in range(len(sales))]
M = sum(a * b for a, b in zip(g, sales)) / sum(a * a for a in g)
return sum((M * a - b) ** 2 for a, b in zip(g, sales)), M
best = min(((sse((i / 2000, j / 100))[0], (i / 2000, j / 100))
for i in range(1, 60) for j in range(1, 150)))
(p, q), step = best[1], 0.0005
for _ in range(60):
cand = [(max(p + dp, 1e-5), max(q + dq, 1e-4)) for dp in (-step, 0, step)
for dq in (-10 * step, 0, 10 * step)]
p, q = min(cand, key=lambda pq: sse(pq)[0]); step *= 0.8
return p, q, sse((p, q))[1]
if __name__ == "__main__":
p, q, M = 0.01, 0.40, 100_000
tp = math.log(q / p) / (p + q)
print(f"A. Bass p {p}, q {q}, market {M:,}: peak adoption at month {tp:.2f},")
fp = 0.5 - p / (2 * q)
print(f" F(peak) {bass_F(tp, p, q):.4f} (formula 1/2 - p/(2q) = {fp:.4f});"
f" sales with 15 % noise")
rng = random.Random(1969)
sales = [max(0.0, M * (bass_F(t + 1, p, q) - bass_F(t, p, q))
* (1 + rng.gauss(0, 0.15))) for t in range(36)]
print(" fitted on p q market M peak month")
print(f" (truth) {p:.4f} {q:.3f} {M:9,.0f} {tp:5.2f}")
for n in (6, 9, 12, 36):
pp, qq, MM = fit(sales[:n])
print(f" months 1-{n:<3d} {pp:.4f} {qq:.3f} {MM:9,.0f}"
f" {math.log(qq / pp) / (pp + qq):5.2f}")
print("B. Dorfman-Steiner: Q = k P^-eta A^beta, unit cost c = 10, k = 1e6")
print(" eta beta optimal A/(PQ) by search beta/eta optimal price")
for eta, beta in ((2.0, 0.10), (3.0, 0.10), (2.0, 0.25)):
k, c = 1e6, 10.0
prof = lambda P, A: (P - c) * k * P ** -eta * A ** beta - A
best = max(((prof(P, A), P, A) for P in [10 + 0.05 * i for i in range(1, 600)]
for A in [10 * 1.03 ** j for j in range(500)]))
_, P, A = best; R = P * k * P ** -eta * A ** beta
print(f" {eta:3.1f} {beta:4.2f} {A / R:6.4f}"
f" {beta / eta:6.4f}"
f" {P:6.2f} (eta/(eta-1) c = {eta / (eta - 1) * c:.2f})")
# A. Bass p 0.01, q 0.4, market 100,000: peak adoption at month 9.00,
# F(peak) 0.4875 (formula 1/2 - p/(2q) = 0.4875); sales with 15 % noise
# fitted on p q market M peak month
# (truth) 0.0100 0.400 100,000 9.00
# months 1-6 0.0165 0.433 66,359 7.27
# months 1-9 0.0067 0.294 219,286 12.58
# months 1-12 0.0122 0.390 96,003 8.62
# months 1-36 0.0126 0.364 102,285 8.93
# B. Dorfman-Steiner: Q = k P^-eta A^beta, unit cost c = 10, k = 1e6
# eta beta optimal A/(PQ) by search beta/eta optimal price
# 2.0 0.10 0.0497 0.0500 20.00 (eta/(eta-1) c = 20.00)
# 3.0 0.10 0.0333 0.0333 15.00 (eta/(eta-1) c = 15.00)
# 2.0 0.25 0.1240 0.1250 20.00 (eta/(eta-1) c = 20.00)Part A takes , , ; the peak is at month 9.00, with at the peak, as the formula says. Then 15 % noise is added to monthly sales and , and are estimated by least squares. With only the first 6 months the market size is estimated at 66,359 and the peak month at 7.27; with the first 9 months (just up to the peak) the market size is estimated at 219,286 and the peak month at 12.58; only from 12 months on do the estimates settle near the truth. This shows a practical problem: before the peak, the three Bass parameters are hard to separate, and early forecasts (and budgets based on them) can be off by a factor of two or more.
Part B searches directly for the optimal price and advertising under constant-elasticity demand with unit cost 10; the advertising-to-sales ratios found (0.0497, 0.0333, 0.1240) agree with (0.0500, 0.0333, 0.1250) up to the grid spacing, and the optimal price equals , the standard markup rule.
Note
The Dorfman–Steiner condition is static. It compares marginal revenue and marginal cost within one period, with no “today’s advertising brings tomorrow’s customers”. The author’s framework hopes to “combine the Bass diffusion equation with the Dorfman–Steiner theorem to find the whole-life optimal allocation of acquisition spend”; applying a static condition period by period to a dynamic problem amounts to assuming each period’s advertising affects only that period. The dynamic problem requires advertising in the state equation: Nerlove and Arrow (1962) treated advertising as investment in a “goodwill” stock that depreciates over time (Nerlove and Arrow 1962); Vidale and Wolfe (1957) gave an early differential equation for the response of sales to advertising (Vidale and Wolfe 1957); Horsky and Simon (1983) put advertising into the innovation term of the Bass model and studied the optimal advertising path over a new product’s life (Horsky and Simon 1983).
Summary
The Bass equation checks out, with peak time ; before the peak, market size and the imitation coefficient are hard to separate, and early forecasts can be off by a factor of two or more. The Dorfman–Steiner condition (advertising/sales = advertising elasticity/price elasticity) checks out, but it is a static condition and cannot by itself give a whole-life allocation. The author’s whole-life model shows that with concave response and word-of-mouth diffusion the optimal spend is front-loaded and earns 8.3 % more than even spending of the same budget, while a fixed share of sales does worst of the three policies with that budget (though still better than no advertising); under the concave response pulsing is always worse than even spending, and under the example’s S-shaped response pulsing helps only at relatively low monthly budgets (up to 30 thousand in this example), with a switch that does not coincide with the inflection point.
Hypothesis · not established · The word-of-mouth multiplier of early acquisition spend
The author’s hypothesis (not established): in new categories with clear word-of-mouth diffusion, regions randomly assigned higher acquisition spend in the first three months after launch have a larger share of “non-paid-channel” buyers among their 12-month cumulative buyers than control regions, i.e. early advertising has a multiplier effect through word of mouth. What result would show it to be wrong: in a pre-registered regional randomised experiment (run by independent researchers), the 95 % confidence interval for the ratio of 12-month cumulative non-paid buyers in treated and control regions contains 1.
References
Fan, Y. (2026). Algorithmic Marketing, Multi-Touch Shapley Attribution and Stochastic Control of Acquisition Funnels: From Thompson Sampling Bandits and Absorbing Markov Chains to BG/NBD Customer Lifetime Value, Read Beside the Strategic Dispositions of the Sunzi [算法营销、多触点沙普利归因与获客漏斗的随机控制] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23836264 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).