Skip to content

Specification sensitivity and the specification curve

In the app: Help → Help contents, Specification sensitivity and the specification curve.

An estimate comes from one specification among many that could be defended: another sample, more or fewer lags, a trend, another cointegration rank, another ordering of a VAR, other controls, robust standard errors. A conclusion that holds in only some of them rests on the choice, not on the data. Specification sensitivity fits the model again for every combination of the choices (Estimate → Model selection → Specification sensitivity…, or specification_grid in code) and reduces each fit to the same quantity: a coefficient, an impulse response at a horizon or its whole path, a long-run multiplier, a forecast at a date, or any function of the fit. Each specification's estimate comes with its standard error and interval where the fit gives one (a VAR's or VECM's response with bootstrap draws), its information criteria and diagnostics (Breusch-Godfrey for an equation, the portmanteau test and stability for a VAR).

The specification curve (Simonsohn, Simmons and Nelson 2020) draws the estimates sorted by size, with their intervals, and below them which choice each specification makes: a curve that stays on one side of zero with the intervals clear of it is robust; one that crosses zero, or whose jumps line up with one choice, says which choice the conclusion rests on. The summary gives the share of specifications with the base's sign, the share significant, the median and range, and each dimension's share of the variance of the estimates (the variance of the means by its choices over the total): the largest moves the estimate most. For a response path, the paths of every specification are drawn together with the base's highlighted.

The specification with the lowest information criterion is marked, but it is one specification among the others, not the answer: criteria compare models of the same variables on the same sample, and choosing by them is itself a specification choice. A failed specification (a rank the data reject, a regressor missing) keeps its error and the others are reported. Specifications run in parallel with Parallel processes (workers= in code).

See also

References

  • Simonsohn, U., Simmons, J. P. and Nelson, L. D. (2020). Specification curve analysis. Nature Human Behaviour 4, 1208-1214. doi:10.1038/s41562-020-0912-z
  • Leamer, E. E. (1983). Let's take the con out of econometrics. American Economic Review 73(1), 31-43. (search)
  • Steegen, S., Tuerlinckx, F., Gelman, A. and Vanpaemel, W. (2016). Increasing transparency through a multiverse analysis. Perspectives on Psychological Science 11(5), 702-712. (search)