Hedonic models: what the price of a car is made of

A car's price can be decomposed into implicit prices of its characteristics: year, mileage, power, transmission, trim. A hedonic model estimates them from data. How it works, where linear models fail and why cohorts are needed.

Author: 2 min read

The idea

ln P = β₀ + β₁·age + β₂·ln(mileage) + β₃·power + β₄·[automatic] + … + ε — here β₂ is the price elasticity with respect to mileage. Rosen (1974) showed that a hedonic price is an equilibrium marginal price and that the hedonic function is generally non-linear; a linear specification is only an approximation. For cars the non-linearity is obvious: the first year costs more value than the seventh.

One model is not enough

Implicit prices differ across segments: mileage "costs" differently for a premium sedan and a budget hatchback. Housing research showed that segmenting the market into submarkets improves out-of-sample accuracy. In car valuation this leads to cohorts: classifying attributes (make, model, generation) define the cohort, price-forming attributes (age, mileage, power, trim, region) work inside it, and a more general level is used when data are scarce.

From regression to machine learning

Tree ensembles — random forests and gradient boosting — approximate the hedonic function piecewise and find interactions themselves; studies of used-car pricing find them most accurate out of sample, with age, make and engine characteristics as key drivers. A blend works best in practice: a local regression on the nearest comparables (responsive, explainable) and boosting on the cohort history (accurate on non-linearities).

What the model does not know

A hedonic model values a typical car with the given characteristics. Hidden damage or legal issues not present in the data are outside its scope. And its output is an asking price: one more step through the bargaining coefficient is needed to reach market value.

Sources

  • Rosen S. Hedonic prices and implicit markets // JPE. 1974. DOI: 10.1086/260169.
  • Goodman A. C., Thibodeau T. G. Housing market segmentation // Journal of Housing Economics. 1998. DOI: 10.1006/jhec.1998.0229.
  • Lessmann S., Voß S. Car resale price forecasting // International Journal of Forecasting. 2017. DOI: 10.1016/j.ijforecast.2017.04.003.

Questions and answers

Why use the logarithm of price?

Many factors act in percentages rather than in roubles: mileage reduces the price of an expensive and a cheap car in roughly the same proportion. The logarithm makes such effects additive.

Start with a free valuation

MezEx Price estimates a car's market value, liquidity and collateral value from listings data and real transaction prices reported by professional car resellers. Valuation by specifications is free, no sign-up needed.

Value a car