Why Choice Probabilities Are Not Enough
A demand counterfactual can tell us how prices or product attributes change predicted choice probabilities. To evaluate the implications for consumers, we also need a measure of how the available options’ overall attractiveness changes. In logit models, the log-sum provides a convenient welfare measure: it combines the systematic utilities of all available alternatives, including the outside option, and converts their change into monetary units.
The conversion is especially direct when every consumer has the same marginal utility of money. In a random-coefficient model, different consumers can have different price sensitivities and tastes, so the calculation must be made separately for each consumer type before it is averaged. The resulting measure is a change in expected consumer surplus under the model’s assumptions; it is not a measure of producer profit or total surplus.
Logit Utility and the Log-Sum
Consider a consumer choosing among \(J\) inside products and an outside option. In a given market state, let \(v_j\) denote the systematic utility of alternative \(j\), including its price, observed attributes, and any product-specific quality term. The outside option has systematic utility \(v_0\). Choice utility also includes a transitory shock \(\varepsilon_j\).
The outside option belongs in the sum because it is a genuine alternative to purchasing an inside product. A common normalization sets its systematic utility to zero, \(v_0=0\), so its contribution to the sum is one. The normalization does not mean that the consumer receives no value from opting out; it fixes the utility scale and reference point.
Suppose the utility of inside product \(j\) is \(v_j=x_j'\beta+\xi_j-\alpha p_j\), where \(p_j\) is price and \(\alpha>0\) is the common marginal utility of income in the model’s utility units. A dollar increase in price reduces systematic utility by \(\alpha\). With quasi-linear utility and a linear price term, the change in log-sum divided by \(\alpha\) gives the exact change in expected consumer surplus, in dollars.
The formula compares the choice sets and systematic utilities in the two states. It does not require that the consumer actually chooses the same product in both states. The randomness in the logit shocks is accounted for by taking expected maximum utility in each state.
Why the Log-Sum Difference Measures Expected Utility
The key identity follows directly from the Type I extreme-value distribution. Let \(M=\max_j(v_j+\varepsilon_j)\) be the consumer’s maximum utility across all alternatives. The shock distribution has cumulative distribution function \(F(e)=\exp[-\exp(-e)]\). Independence gives the distribution of \(M\):
Thus \(M\) has a Type I extreme-value distribution shifted by \(L=\ln\sum_j\exp(v_j)\). A standard Type I extreme-value random variable has mean \(\gamma\), where \(\gamma\) is Euler’s constant, so
When comparing two states for the same consumer, the common \(\gamma\) cancels. The difference in expected maximum utility is therefore \(L_B-L_A\). With utility that is linear in money at marginal rate \(\alpha\), dividing this difference by \(\alpha\) expresses it as a change in dollars. This derivation also clarifies that the formula concerns expected maximum utility, not the realized utility of a particular consumer facing a particular set of shocks.
Worked Example: A Price Reduction in Simple Logit Demand
Suppose a consumer chooses between two products and an outside option. The outside-option utility is zero. In the baseline state, the products’ systematic utilities are \(v_{1A}=1.0\) and \(v_{2A}=0.5\). A price reduction for product 1 raises its utility by \(0.5\), so in state \(B\), \(v_{1B}=1.5\) and \(v_{2B}=0.5\). The common price coefficient is \(\alpha=0.5\) utility units per dollar. Calculate the consumer-surplus change.
The baseline log-sum is
The counterfactual log-sum is
The change in consumer surplus is therefore
Under the stated model, the price reduction increases this consumer’s expected surplus by about 57 cents. The calculation includes the outside option in both states, so it reflects the change in the full set of options rather than only the change in product 1’s utility.
Random Coefficients: Calculate First, Then Average
In a random-coefficient model, consumers differ in their tastes or price sensitivities. Write consumer \(i\)’s systematic utility for product \(j\) as \(v_{ij}=x_j'\beta_i+\xi_j-\alpha_i p_j\), where \(\beta_i\) contains the consumer’s taste coefficients and \(\alpha_i>0\) is that consumer’s marginal utility of money. The outside option is included as an alternative, often with normalized systematic utility zero.
For a given consumer, calculate the two log-sums using that consumer’s own coefficients. Divide the difference by that consumer’s \(\alpha_i\) to obtain the consumer’s surplus change in dollars. To obtain a population average, take a weighted average of these consumer-specific dollar changes. In simulation, the weights represent the population shares associated with the simulated types and sum to one.
This procedure is not generally equivalent to inserting average coefficients into one log-sum formula. The log-sum is nonlinear in utility, and conversion to dollars also depends on each consumer’s price coefficient. Averaging tastes or price sensitivities first can therefore change the welfare calculation.
Worked Example: A Price Increase for Two Consumer Types
Consider two equally weighted consumer types choosing between two products and an outside option with utility zero. Both types have baseline product utilities \(v_{1A}=0.8\) and \(v_{2A}=0.2\). A one-dollar price increase for product 1 reduces its utility by \(\alpha_i\) for type \(i\); product 2’s utility is unchanged. Type 1 has \(\alpha_1=0.5\), and type 2 has \(\alpha_2=1.0\). Calculate each type’s surplus change and the equally weighted average.
The common baseline log-sum for the two types in this constructed example is
For type 1, the price increase reduces product 1’s utility from \(0.8\) to \(0.3\). Thus,
and the type-specific surplus change is
For type 2, the price increase reduces product 1’s utility from \(0.8\) to \(-0.2\). Therefore,
so
The equally weighted population average is
The price increase reduces expected surplus by about 41 cents per consumer on average. If this two-type composition represented a population of 1,000 consumers, the corresponding aggregate change would be approximately \(1{,}000(-\$0.4095)=-\$409.50\). This multiplication is appropriate only when the average and population size refer to the same target population.
Assumptions and Practical Interpretation
The log-sum welfare calculation is useful because it translates the estimated demand model into a monetary measure, but its interpretation depends on the model. In particular, the utility specification must have a well-defined, negative price coefficient for each consumer whose dollar surplus is calculated. A zero or positive \(\alpha_i\) does not provide the required positive marginal utility of money for this conversion.
The standard formula also relies on the choice model’s Type I extreme-value shocks and on utility being linear in price with no income effects over the comparison. If utility is not quasi-linear, a single division by \(\alpha_i\) need not equal exact compensating variation. The utility scale must be consistent as well: the price coefficient and systematic utilities used in the calculation must be expressed on the same scale as the normalized logit shocks.
For random coefficients, population integration matters. A finite set of simulation draws approximates the population average; each draw’s welfare change must use its own tastes and price sensitivity before the weighted average is computed. The simulation weights should correspond to the population being described. If the goal is welfare for a particular subgroup, use that subgroup’s type distribution rather than automatically reporting the overall population average.
Common Mistake: Averaging Price Sensitivity First
A tempting shortcut is to average the consumers’ price coefficients, average their utilities, and then calculate one log-sum change. That generally gives a different answer from calculating each consumer’s dollar welfare change and averaging those amounts. The order matters because both the log-sum and division by \(\alpha_i\) are nonlinear operations.
The correction is to compute \(L_{iA}\), \(L_{iB}\), and \((L_{iB}-L_{iA})/\alpha_i\) for each type \(i\), then apply the population weights. Also check the sign: if a counterfactual raises a product’s price while leaving other features unchanged, consumers’ expected surplus should not rise under the assumed positive price sensitivities.
Check Your Understanding
Use the definitions and assumptions in this tutorial to answer the following questions.
- Why must the outside option be included in the log-sum when it is available to the consumer?
- In a common-coefficient logit model, what does dividing the log-sum difference by \(\alpha\) accomplish?
- Suppose a counterfactual changes the log-sum from 1.4 to 1.1 and \(\alpha=0.6\) utility units per dollar. What is the consumer-surplus change, and how should its sign be interpreted?
- Why is it generally incorrect to calculate random-coefficient welfare using only the average price coefficient?
- What model conditions support interpreting a log-sum difference divided by the price coefficient as a dollar change in consumer surplus?