specification_curve icon indicating copy to clipboard operation
specification_curve copied to clipboard

Specification Curve is a Python package that performs specification curve analysis: exploring how a coefficient varies under multiple different specifications of a statistical model.

Specification Curve

Specification Curve is a Python package that performs specification curve analysis; it helps with the problem of the "garden of forking paths" (many defensible choices) when doing analysis by running many regressions and summarising the estimated coefficients in an easy to digest chart.

PyPI Status Python Version License Tests Codecov pre-commit Google Colab DOI Downloads

Linux macOS Windows

Source

Go to the full documentation for Specification Curve.

Quickstart

You can try out specification curve right now in Google Colab. To install the package in Colab, run !pip install specification_curve in a new code cell.

Alternatively you can see examples on the features page of the documentation.

Installation

You can install Specification Curve via pip:

pip install specification-curve

To install the development version from git, use:

pip install git+https://github.com/aeturrell/specification_curve.git

Citing Specification Curve

You can find full citation information at the following link: https://zenodo.org/badge/latestdoi/282989537.

Using Specification Curve in your paper? Let us know by raising an issue beginning with "citation".

License

Distributed under the terms of the MIT license.

Similar Packages

In RStats, there is specr (which inspired many design choices in this package) and spec_chart. Some of the example data in this package is the same as in specr, but please note that results have not been cross-checked across packages.