Signature
E_t = exp(-(p + q) * t); F = (1 - E_t) / (1 + (q / p) * E_t); N = m * F; S = m * (p + q)^2 / p * E_t / (1 + (q / p) * E_t)^2
| Inputs | Definition | Unit |
|---|---|---|
p | External influence, above 0, since the term q/p divides by it | per year |
q | Influence of those who have already adopted | per year |
t | Time since launch, in the unit of p and q | years |
m | Total population of potential adopters | people |
E_t | The value of e to the power of minus (p + q) t | none |
|---|---|---|
F | Share of potential adopters who have adopted by time t | proportion |
N | Number who have adopted by time t | people |
S | New adopters per unit of time at time t | people per year |
Function
Uptake of a health technology over time and the value of closing the implementation gap
Maps time since launch and the parameters of a diffusion curve to the share or number of adopters, the rate of adoption and the timing of its peak, and maps the current level of implementation of a technology to the most that better implementation could be worth. HE-FM-ADOC-001 gives the logistic path, HE-FM-ADOC-002, HE-FM-ADOC-003 and HE-FM-ADOC-004 give the Bass model, and HE-FM-ADOC-005 gives the expected value of perfect implementation. The budget side of the article is already live and is cited here. Its BI_t is HE-FM-BIA-001 with the spending of each scenario written as the eligible patients times a share-weighted mean cost, the form of HE-FM-COMP-001 (derived), the cumulative total is HE-FM-BIA-002 and the GBP 40 million test is HE-FM-BUDI-001. The ICER and the incremental net monetary benefit in its worked example are HE-FM-ICER-001 and HE-FM-NMB-002. Notation follows the Health Technology Adoption Curve article.
Computational function
Computational function for Bass coefficients from a sales series by the discrete analogue, with peak and time to a share
Estimates the Bass parameters from a series of sales per period, the procedure Bass used for eleven consumer durables. New sales S_T are regressed by OLS on cumulative sales through the previous period and its square, S_T = a + b Y + c Y squared, where a estimates pm, b estimates q less p and c estimates minus q/m. The chain turns a, b and c into m, p and q, then gives the peak of HE-FM-ADOC-004 and the time to a chosen share x, the solve of HE-FM-ADOC-003 for t (derived). With x = 0.95 this is the near-saturation point that Dunn and colleagues use to define adoption time, though they apply it to the fitted monthly prescription rate and fit by non-linear least squares.
Inputs and outputs: The regression takes
S, the sales in each period from the first, withY, the running total ofSthrough the previous period. The chain takes the coefficientsa,b,cand the target sharex, and returnsm,p,q,t_star,S_starandt_x.Assumption: As in HE-AS-ADOC-004, and
cmust be negative withaabove 0.t_starandS_stardescribe an interior peak only whenqexceedsp, as HE-AS-ADOC-008 says. The chain and the code do not check this, and withpaboveqthey return a negativet_star. Bass reports negative estimates ofcin every case. Of the two roots Bass prints, the one with the minus sign is the positive market size whencis negative (derived). Sales exclude repeat purchases, or are a stated proxy for adoption.Worked example (clothes dryers, Bass Table I):
a = 259670; b = 0.33968; c = -0.000000023647; x = 0.95givesm = 15092213; p = 0.017206; q = 0.356886; t_star = 8.105; S_star = 1479513; t_x = 16.109. Bass prints m 15,092 thousand, p 0.017206 and q 0.35688 in Table I, and in Table 2 a predicted peak at 8.1 of 1.5 million units against an actual peak at period 7 of 1.5 million. The series is a consumer durable, used because the source prints its coefficients and its peaks.Worked example (illustrative medicine):
a = 30; b = 0.37; c = -0.0004; x = 0.95givesm = 1000; p = 0.03; q = 0.4; t_star = 6.024; S_star = 115.563; t_x = 13.048, the values behind the fixed sales table in the R and Python code below (figures illustrative).Excel: Put the sales of periods 2 onwards in the range SalesRange and the running total through the previous period beside them in CumLagRange. Enter
=INDEX(LINEST(SalesRange,CumLagRange^{1,2}),1,1)in CoefQuad,=INDEX(LINEST(SalesRange,CumLagRange^{1,2}),1,2)in CoefLin and=INDEX(LINEST(SalesRange,CumLagRange^{1,2}),1,3)in CoefIntercept, or type the coefficients in. Then enter=(-CoefLin-SQRT(CoefLin^2-4*CoefQuad*CoefIntercept))/(2*CoefQuad)in FittedMarket,=CoefIntercept/FittedMarketin FittedInnov,=-FittedMarket*CoefQuadin FittedImit,=LN(FittedImit/FittedInnov)/(FittedInnov+FittedImit)in PeakTimeFit,=FittedMarket*(FittedInnov+FittedImit)^2/(4*FittedImit)in PeakRateFit and=LN((1+FittedImit/FittedInnov*ShareTarget)/(1-ShareTarget))/(FittedInnov+FittedImit)in TimeToShare. SQRT returns #NUM! if the term under the root is negative, and a ShareTarget of 1 returns #DIV/0!.R:
bass_ols <- function(S) { if (length(S) < 4) return(NULL); Y <- cumsum(S)[-length(S)]; y <- S[-1]; unname(coef(lm(y ~ Y + I(Y^2)))) }andbass_from_abc <- function(a, b, c, x = 0.95) { d <- b^2-4*c*a; if (is.na(c) || c >= 0 || a <= 0 || d < 0 || x >= 1) return(NULL); m <- (-b-sqrt(d))/(2*c); p <- a/m; q <- -m*c; list(m = m, p = p, q = q, t_star = log(q/p)/(p+q), S_star = m*(p+q)^2/(4*q), t_x = log((1+(q/p)*x)/(1-x))/(p+q)) }With the fixed tableS <- c(30, 40.74, 54.17, 69.98, 86.92, 102.5, 113.12, 115.07, 106.56, 89.23),bass_ols(S)returns about 30.0005, 0.3700 and minus 0.0004, andbass_from_abcon those values returns m 999.98, p 0.0300 and q 0.4000. Fewer than four periods, a non-negative c or x of 1 return NULL without an error.Python:
import math, numpy as npthendef bass_ols(S): S = np.asarray(S, float); Y = np.cumsum(S)[:-1]; return np.linalg.lstsq(np.column_stack([np.ones(len(Y)), Y, Y**2]), S[1:], rcond=None)[0] if len(S) >= 4 else Noneanddef bass_from_abc(a, b, c, x=0.95): d = b**2-4*c*a; ok = c < 0 and a > 0 and d >= 0 and x < 1; m = (-b-math.sqrt(d))/(2*c) if ok else None; p = a/m if ok else None; q = -m*c if ok else None; return dict(m=m, p=p, q=q, t_star=math.log(q/p)/(p+q), S_star=m*(p+q)**2/(4*q), t_x=math.log((1+(q/p)*x)/(1-x))/(p+q)) if ok else NoneOn the same fixed table these return the values given for R. Fewer than four periods, a non-negative c or x of 1 return None without an error.Test (clothes dryers): With the coefficients of the first worked example typed into CoefIntercept, CoefLin and CoefQuad, FittedMarket in thousands, FittedInnov and FittedImit are compared with Bass Table I at tolerances of 1, 0.00001 and 0.00001. Expected result TRUE. FALSE shows the plus root of the quadratic, which gives a negative market, and doubling or halving any of the three cells also gives FALSE. Excel check
=AND(ABS(FittedMarket/1000-15092)<1,ABS(FittedInnov-0.017206)<0.00001,ABS(FittedImit-0.35688)<0.00001)Test (time to a share): The share of HE-FM-ADOC-003 at TimeToShare is compared with ShareTarget, a route through the closed form. Expected result TRUE. FALSE shows a time taken from a different target, and doubling TimeToShare (share 0.9999) or halving it (share 0.4709) also gives FALSE. Excel check
=ABS((1-EXP(-(FittedInnov+FittedImit)*TimeToShare))/(1+FittedImit/FittedInnov*EXP(-(FittedInnov+FittedImit)*TimeToShare))-ShareTarget)<0.000001Common error (Period count read as continuous time): The regression treats sales as a difference equation in periods, while the closed form runs in continuous time. With m = 1,000, p = 0.03 and q = 0.4 the recursion gives 281.8 adopters after five periods against 346.1 from the closed form, and its largest sales fall in period 8 against a continuous peak at 6.02 (computed here), so fitted peaks should be read against the period definition.
Source: Bass FM. A new product growth model for consumer durables. Management Science. 1969;15(5):215-227. Section The Discrete Analogue, page 219, gives the regression, the mapping of a, b and c to pm, q less p and minus q/m, and m as (-b plus or minus the square root of b squared less 4ca) over 2c. Table I, page 218, and Table 2, page 221, give the estimates. Dunn AG, Braithwaite J, Gallego B, Day RO, Runciman W, Coiera E. Nation-scale adoption of new medicines by doctors: an application of the Bass diffusion model. BMC Health Services Research. 2012;12:248. The methods define adoption time.
m = (-b - sqrt(b^2 - 4 * c * a)) / (2 * c); p = a / m; q = -m * c; t_star = log(q / p) / (p + q); S_star = m * (p + q)^2 / (4 * q); t_x = log((1 + (q / p) * x) / (1 - x)) / (p + q)
Try this function
Implementations
Excel
Excel Bass closed form from named cells
With the inputs in PoolSolved, InnovCoefSolved, ImitCoefSolved and TimeSolved, the four formulas go in DecayTerm, ShareAdopted, AdoptersByNow and RateByNow in that order. A blank InnovCoefSolved returns #DIV/0!.
=EXP(-(InnovCoefSolved+ImitCoefSolved)*TimeSolved); =(1-DecayTerm)/(1+ImitCoefSolved/InnovCoefSolved*DecayTerm); =PoolSolved*ShareAdopted; =PoolSolved*(InnovCoefSolved+ImitCoefSolved)^2/InnovCoefSolved*DecayTerm/(1+ImitCoefSolved/InnovCoefSolved*DecayTerm)^2
Assumptions
No adopters at launch in the Bass solution
F(0) = 0, the condition Bass uses to fix the integration constant, so t counts from the launch implied by the fit. Bass identifies time period 1 as the first period in which sales equal or exceed pm.
Coefficient of innovation above zero in the Bass solution
p must be above 0. With p = 0 and no adopters at launch the model has no adoption at all, and in Excel the q/p term returns #DIV/0!; a path driven only by imitation is HE-FM-ADOC-001, which starts from a non-zero share.
Worked examples
Bass solution five years after launch
With m = 20,000, p = 0.02 and q = 0.5, 32.4% of the pool has adopted at year 5, or about 6,481 people, and 2,461 are adopting per year (figures illustrative).
m = 20000; p = 0.02; q = 0.5; t = 5; E_t = 0.0743; F = 0.324; N = 6480.77; S = 2460.76
Bass solution at launch
At t = 0 no one has adopted and the rate is p times m, 400 a year, the limiting check of the solution (figures illustrative).
m = 20000; p = 0.02; q = 0.5; t = 0; E_t = 1; F = 0; N = 0; S = 400
Bass solution ten years after launch
By year 10, past the peak, 87.4% of the pool has adopted and the rate has fallen to 1,152 a year (figures illustrative).
m = 20000; p = 0.02; q = 0.5; t = 10; E_t = 0.0055; F = 0.874; N = 17479.06; S = 1152.01
Common errors
Fitting a Bass curve to a medicine still climbing
Dunn and colleagues note that predictions for drugs that have not reached saturation are likely to be less accurate, however well the model fits the available data. A close fit to the early part of the curve does not by itself fix m, the quantity a budget forecast relies on.
Starting the Bass clock two years late
Reading t from a date two years after the true launch reports year 5 as t = 3, giving 2,526 adopters in place of 6,481 with m = 20,000, p = 0.02 and q = 0.5 (computed here). The solution holds only when t counts from F(0) = 0.
Sources
Bass on the closed-form solution
Bass FM. A new product growth model for consumer durables. Management Science. 1969;15(5):215-227. Page 218 gives the solution with F(0) = 0, F(T) = (1 minus e^(-(p+q)T)) / ((q/p) e^(-(p+q)T) + 1), and S(T) = (m(p+q)^2/p) e^(-(p+q)T) / ((q/p) e^(-(p+q)T) + 1)^2. Table 2, page 221, footnote, identifies time period one.
Dunn and colleagues on the Bass model fitted to medicines
Dunn AG, Braithwaite J, Gallego B, Day RO, Runciman W, Coiera E. Nation-scale adoption of new medicines by doctors: an application of the Bass diffusion model. BMC Health Services Research. 2012;12:248. The abstract gives 103 drugs and 803 million prescriptions in Australia between 1992 and 2010, a median R squared of 0.97 and a median time to adoption of 8.2 years (IQR 4.9 to 12.1). The methods say the model was fitted by non-linear least squares to smoothed and normalised monthly prescription volumes, the results call the 0.97 an adjusted R squared, and the discussion says predictions for drugs that have not reached saturation are likely to be less accurate however well the model fits.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
