/spec_chart

Generate a specification chart in base R (with reproducible example)

Primary LanguageR

spec_chart

Generate a specification chart in base R (with reproducible example)

This function allows you to create a "specification chart" using base R code. This allows the researcher to concisely showcase a series of estimates from a wide range of models. This is useful when conducting sensitivity analysis.

The code includes a reproducible example conducting a sensitivity analysis of the analysis done in Harrison and Rubinfeld (JEEM, 1978).

Relevant references:

  • Harrison Jr, D., & Rubinfeld, D. L. (1978). Hedonic housing prices and the demand for clean air. Journal of environmental economics and management, 5(1), 81-102.
  • Leamer, E. E. (1983). Let's take the con out of econometrics. The American Economic Review, 73(1), 31-43.
  • Simonsohn, U., Simmons, J. P., & Nelson, L. D. (2019). Specification curve: Descriptive and inferential statistics on all reasonable specifications. Available at SSRN 2694998.