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 in market gets this utility from product :
|
Income of consumer |
|
Price of product in market |
|
Marginal utility of income for consumer |
|
Characteristics the researcher observes, such as sugar content |
|
Consumer ’s tastes for those characteristics |
|
Characteristics the researcher does not observe, such as brand quality or promotions |
|
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 .
Step 2: why income minus price
The term is the money the consumer has left after buying product . That money buys everything else, and each dollar of it is worth units of utility. The term is therefore the utility from everything else the consumer can still afford.
Expanding the term shows the two parts:
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 for that reason.
Step 3: the outside good
A consumer can also buy none of the products. This is the outside good, labeled . After the standard normalization, the consumer keeps all income:
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 is the same in every option, including the outside good, so it cancels from every difference:
Income leaves the choice problem as a level. It can still matter through tastes: in the full model, can vary with income, so higher-income consumers can be less sensitive to price. Dropping gives the equivalent form:
Step 5: the logit case
The logit model assumes every consumer has the same tastes, so and . All differences between consumers then come from .
Collect everything that is common to all consumers into the mean utility :
Utility becomes . The outside good has .
Step 6: from utility to market shares
The researcher does not see , 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 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):
The 1 in each denominator is , the outside good.
Drop the market subscript and let , which includes the outside good. The Type I extreme value distribution has CDF and density .
Product is chosen when for every other option . Given , this has probability
Averaging over and combining the exponents gives
Substitute , so and runs from 0 to :
Step 7: take logs
The two shares have the same denominator, so dividing cancels it:
Taking logs gives the inversion in Berry (1994):
Replacing with its definition from Step 5 gives the estimating equation:
The left side comes from data on shares. The right side has data on characteristics and prices, parameters to estimate, and 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 and . Going back through the share formula, and , so the denominator is . The shares are and , which match.
Step 8: why the regression needs instruments
Firms know when they set prices, so and are correlated. Price is an endogenous regressor in the equation above, and OLS gives a biased estimate of . Instruments that shift price and are uncorrelated with solve this problem, as in any linear instrumental-variables regression.
A reported coefficient on price of means .
Step 9: random coefficients
The random-coefficients logit returns to tastes that vary. Each consumer’s tastes depend on demographics and on unobserved traits (Nevo 2000, equation 2):
The mean tastes and stay in . The deviation from the mean moves into a consumer-specific term :
Conditional on a consumer’s tastes, Step 6 still applies. Market shares are the average of those logit probabilities across consumers:
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 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 and :
- Compute predicted shares by averaging over simulated consumers.
- Find the 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):
- Run the linear instrumental-variables regression of on price and characteristics. The residual is .
- Compute the GMM objective, which measures how far is from being uncorrelated with the instruments.
- Update the guess and repeat until the objective reaches a minimum.
The logit model is the special case with and , 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:
Converting to elasticities gives (Nevo 2000, 522):
The cross-price elasticity has no in it. A rise in the price of 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 and separate choice probabilities (Nevo 2000, 525):
Two products bought by the same consumers have probabilities and 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.