From Utility to the BLP Estimating Equation

AREC 570 / ECON 530 · Notes for Lecture 6.2

Author

Lauren Chenarides

These notes derive the estimating equation in Lecture 6.2 one step at a time. They start from the utility function on the Model slide and end at the equation on the estimation slides. The notation follows Nevo (2000).

Step 1: the utility function

Consumer ii in market tt gets this utility from product jj:

uijt=αi(yi−pjt)+xjtβi+ξjt+εijt u_{ijt} = \alpha_i(y_i - p_{jt}) + x_{jt}\beta_i + \xi_{jt} + \varepsilon_{ijt}

Term Meaning
yiy_i Income of consumer ii
pjtp_{jt} Price of product jj in market tt
αi\alpha_i Marginal utility of income for consumer ii
xjtx_{jt} Characteristics the researcher observes, such as sugar content
βi\beta_i Consumer ii’s tastes for those characteristics
ξjt\xi_{jt} Characteristics the researcher does not observe, such as brand quality or promotions
εijt\varepsilon_{ijt} A shock specific to this consumer and product

Economists call this a conditional indirect utility: the highest utility the consumer can reach, given that the consumer buys product jj.

Step 2: why income minus price

The term yi−pjty_i - p_{jt} is the money the consumer has left after buying product jj. That money buys everything else, and each dollar of it is worth αi\alpha_i units of utility. The term αi(yi−pjt)\alpha_i(y_i - p_{jt}) is therefore the utility from everything else the consumer can still afford.

Expanding the term shows the two parts:

αi(yi−pjt)=αiyi−αipjt \alpha_i(y_i - p_{jt}) = \alpha_i y_i - \alpha_i p_{jt}

The second part is why a higher price lowers utility. Nevo (2000) notes that this form comes from a quasilinear utility function, which has no wealth effects. He calls that reasonable for cereal and unreasonable for cars, and BLP use log⁡(yi−pjt)\log(y_i - p_{jt}) for that reason.

Step 3: the outside good

A consumer can also buy none of the products. This is the outside good, labeled j=0j = 0. After the standard normalization, the consumer keeps all income:

ui0t=αiyi+εi0t u_{i0t} = \alpha_i y_i + \varepsilon_{i0t}

Step 4: where income goes

A consumer picks the option with the highest utility, so only differences in utility across options affect the choice. The term αiyi\alpha_i y_i is the same in every option, including the outside good, so it cancels from every difference:

uijt−ui0t=−αipjt+xjtβi+ξjt+εijt−εi0t u_{ijt} - u_{i0t} = -\alpha_i p_{jt} + x_{jt}\beta_i + \xi_{jt} + \varepsilon_{ijt} - \varepsilon_{i0t}

Income leaves the choice problem as a level. It can still matter through tastes: in the full model, αi\alpha_i can vary with income, so higher-income consumers can be less sensitive to price. Dropping αiyi\alpha_i y_i gives the equivalent form:

uijt=−αipjt+xjtβi+ξjt+εijt,ui0t=εi0t u_{ijt} = -\alpha_i p_{jt} + x_{jt}\beta_i + \xi_{jt} + \varepsilon_{ijt}, \qquad u_{i0t} = \varepsilon_{i0t}

Step 5: the logit case

The logit model assumes every consumer has the same tastes, so αi=α\alpha_i = \alpha and βi=β\beta_i = \beta. All differences between consumers then come from εijt\varepsilon_{ijt}.

Collect everything that is common to all consumers into the mean utility δjt\delta_{jt}:

δjt=xjtβ−αpjt+ξjt \delta_{jt} = x_{jt}\beta - \alpha p_{jt} + \xi_{jt}

Utility becomes uijt=δjt+εijtu_{ijt} = \delta_{jt} + \varepsilon_{ijt}. The outside good has δ0t=0\delta_{0t} = 0.

Step 6: from utility to market shares

The researcher does not see εijt\varepsilon_{ijt}, so the model predicts the probability that a consumer picks each option. With many consumers, that probability is the product’s market share.

The logit model assumes εijt\varepsilon_{ijt} is independent across products and consumers and follows a Type I extreme value distribution. This assumption gives a closed-form share (Nevo 2000, equation 6):

sjt=exp⁡(δjt)1+∑k=1Jexp⁡(δkt),s0t=11+∑k=1Jexp⁡(δkt) s_{jt} = \frac{\exp(\delta_{jt})}{1 + \sum_{k=1}^{J} \exp(\delta_{kt})}, \qquad s_{0t} = \frac{1}{1 + \sum_{k=1}^{J} \exp(\delta_{kt})}

The 1 in each denominator is exp⁡(0)\exp(0), the outside good.

Drop the market subscript and let A=∑k=0Jexp⁡(δk)A = \sum_{k=0}^{J} \exp(\delta_k), which includes the outside good. The Type I extreme value distribution has CDF F(ε)=exp⁡(−e−ε)F(\varepsilon) = \exp(-e^{-\varepsilon}) and density f(ε)=e−εexp⁡(−e−ε)f(\varepsilon) = e^{-\varepsilon}\exp(-e^{-\varepsilon}).

Product jj is chosen when δj+εj≥δk+εk\delta_j + \varepsilon_j \geq \delta_k + \varepsilon_k for every other option kk. Given εj=ε\varepsilon_j = \varepsilon, this has probability

∏k≠jF(ε+δj−δk) \prod_{k \neq j} F(\varepsilon + \delta_j - \delta_k)

Averaging over ε\varepsilon and combining the exponents gives

sj=∫e−εexp⁡(−e−εe−δjA)dε s_j = \int e^{-\varepsilon} \exp\left(-e^{-\varepsilon} e^{-\delta_j} A\right) d\varepsilon

Substitute w=e−εw = e^{-\varepsilon}, so dw=−e−εdεdw = -e^{-\varepsilon} d\varepsilon and ww runs from 0 to ∞\infty:

sj=∫0∞exp⁡(−we−δjA)dw=eδjA s_j = \int_0^\infty \exp\left(-w\, e^{-\delta_j} A\right) dw = \frac{e^{\delta_j}}{A}

Step 7: take logs

The two shares have the same denominator, so dividing cancels it:

sjts0t=exp⁡(δjt) \frac{s_{jt}}{s_{0t}} = \exp(\delta_{jt})

Taking logs gives the inversion in Berry (1994):

ln⁡sjt−ln⁡s0t=δjt \ln s_{jt} - \ln s_{0t} = \delta_{jt}

Replacing δjt\delta_{jt} with its definition from Step 5 gives the estimating equation:

ln⁡sjt−ln⁡s0t=xjtβ−αpjt+ξjt \ln s_{jt} - \ln s_{0t} = x_{jt}\beta - \alpha p_{jt} + \xi_{jt}

The left side comes from data on shares. The right side has data on characteristics and prices, parameters to estimate, and ξjt\xi_{jt} as the error term. It is a linear regression.

A numeric check. Suppose product 1 has a 20 percent share, product 2 has a 30 percent share, and the outside good has 50 percent. Then δ1=ln⁡(0.2/0.5)=−0.92\delta_1 = \ln(0.2/0.5) = -0.92 and δ2=ln⁡(0.3/0.5)=−0.51\delta_2 = \ln(0.3/0.5) = -0.51. Going back through the share formula, exp⁡(δ1)=0.4\exp(\delta_1) = 0.4 and exp⁡(δ2)=0.6\exp(\delta_2) = 0.6, so the denominator is 1+0.4+0.6=21 + 0.4 + 0.6 = 2. The shares are 0.4/2=0.20.4/2 = 0.2 and 0.6/2=0.30.6/2 = 0.3, which match.

Step 8: why the regression needs instruments

Firms know ξjt\xi_{jt} when they set prices, so pjtp_{jt} and ξjt\xi_{jt} are correlated. Price is an endogenous regressor in the equation above, and OLS gives a biased estimate of α\alpha. Instruments that shift price and are uncorrelated with ξjt\xi_{jt} solve this problem, as in any linear instrumental-variables regression.

A reported coefficient on price of −30.05-30.05 means α=30.05\alpha = 30.05.

Step 9: random coefficients

The random-coefficients logit returns to tastes that vary. Each consumer’s tastes depend on demographics DiD_i and on unobserved traits viv_i (Nevo 2000, equation 2):

(αiβi)=(αβ)+ΠDi+Σvi \begin{pmatrix} \alpha_i \\ \beta_i \end{pmatrix} = \begin{pmatrix} \alpha \\ \beta \end{pmatrix} + \Pi D_i + \Sigma v_i

The mean tastes α\alpha and β\beta stay in δjt\delta_{jt}. The deviation from the mean moves into a consumer-specific term μijt\mu_{ijt}:

uijt=δjt+μijt+εijt u_{ijt} = \delta_{jt} + \mu_{ijt} + \varepsilon_{ijt}

Conditional on a consumer’s tastes, Step 6 still applies. Market shares are the average of those logit probabilities across consumers:

sjt=∫exp⁡(δjt+μijt)1+∑k=1Jexp⁡(δkt+μikt)dP(D,v) s_{jt} = \int \frac{\exp(\delta_{jt} + \mu_{ijt})}{1 + \sum_{k=1}^{J} \exp(\delta_{kt} + \mu_{ikt})}\, dP(D, v)

This integral has no closed form, so the division in Step 7 no longer works. The software approximates it by averaging over a set of simulated consumers, and it finds δjt\delta_{jt} numerically. The logic of the inversion is unchanged: find the mean utilities that make predicted shares equal observed shares.

Step 10: the estimation loop

For a guess of the parameters in Π\Pi and Σ\Sigma:

  1. Compute predicted shares by averaging over simulated consumers.
  2. Find the δjt\delta_{jt} that make predicted shares equal observed shares. BLP’s contraction mapping updates each mean utility by the log difference between observed and predicted shares until they match (Nevo 2000, equation 12):

δjth+1=δjth+ln⁡Sjt−ln⁡sjt(δh) \delta_{jt}^{h+1} = \delta_{jt}^{h} + \ln S_{jt} - \ln s_{jt}(\delta^{h})

  1. Run the linear instrumental-variables regression of δjt\delta_{jt} on price and characteristics. The residual is ξjt\xi_{jt}.
  2. Compute the GMM objective, which measures how far ξjt\xi_{jt} is from being uncorrelated with the instruments.
  3. Update the guess and repeat until the objective reaches a minimum.

The logit model is the special case with Π=0\Pi = 0 and Σ=0\Sigma = 0, where this loop collapses to the single regression in Step 7.

Step 11: elasticities from the shares

Differentiating the logit share in Step 6 gives the price responses:

∂sjt∂pjt=−αsjt(1−sjt),∂sjt∂pkt=αsjtskt \frac{\partial s_{jt}}{\partial p_{jt}} = -\alpha s_{jt}(1 - s_{jt}), \qquad \frac{\partial s_{jt}}{\partial p_{kt}} = \alpha s_{jt} s_{kt}

Converting to elasticities gives (Nevo 2000, 522):

ηjjt=−αpjt(1−sjt),ηjkt=αpktskt \eta_{jjt} = -\alpha p_{jt}(1 - s_{jt}), \qquad \eta_{jkt} = \alpha p_{kt} s_{kt}

The cross-price elasticity ηjkt\eta_{jkt} has no jj in it. A rise in the price of kk moves every rival’s share by the same percentage, which is the substitution restriction in the lecture. Random coefficients remove it, because each consumer has a separate αi\alpha_i and separate choice probabilities (Nevo 2000, 525):

ηjkt=pktsjt∫αisijtsiktdP(D,v)for j≠k \eta_{jkt} = \frac{p_{kt}}{s_{jt}} \int \alpha_i\, s_{ijt}\, s_{ikt}\, dP(D, v) \quad \text{for } j \neq k

Two products bought by the same consumers have probabilities sijts_{ijt} and sikts_{ikt} that are large together, which raises their cross-price elasticity. The cereal demand demo computes these quantities.

References

Berry, Steven T. 1994. “Estimating Discrete-Choice Models of Product Differentiation.” RAND Journal of Economics 25 (2): 242–62. https://doi.org/10.2307/2555829.
Nevo, Aviv. 2000. “A Practitioner’s Guide to Estimation of Random-Coefficients Logit Models of Demand.” Journal of Economics & Management Strategy 9 (4): 513–48. https://doi.org/10.1162/105864000567954.