Skip to main content

Paneltime estimates regressions on datasets that:

  • Are panels (have both a time and a group dimension)
  • Are non-stationary in means (ARIMA)
  • Are non-stationary in variance (GARCH)

Paneltime jointly handles common time-series problems (ARIMA/GARCH) and panel data with group and time effects. To the best of our knowledge, no other package combines all three in one model.

The package can also be used on pure panel datasets without ARIMA/GARCH or single time-series data with ARIMA/GARCH problems.

Author: Espen Sirnes

Current version: 1.3.9

Installation

Install the package with:

#| eval: false
%pip install paneltime

Formula syntax

Model formulas use the form Y ~ X1 + X2. Expressions supported by NumPy can be used with np as the alias, for example np.abs(x).

See the Quickstart for a complete model example.

Model documentation

The full model documentation is available as a PDF.

Simulations and testing

The simulation code, parameter settings, benchmark runners, and analysis scripts are available in the testing repository. The "Simulation procedure" section of the model documentation describes the data-generating design and assumed parameters.

ARFIMA

Pass fractional_d="estimate" to estimate a common stationary fractional parameter, or a fixed value such as fractional_d=0.25. Use order=(p, q, 0) (AR, MA, zero integer differencing). The conditional filter uses zero pre-sample residuals and requires regular observations without internal gaps. It works with the existing innovation likelihoods and GARCH models. See fit options for details.

GARCH ridge reduction

pt.OptimizerOptions(garch_ridge_wald=0.2) controls automatic reduction of weakly identified GARCH lag splits. The default 0.2 is a squared Wald threshold, not a continuous ridge penalty. Use 0 to disable reduction. Larger thresholds make reduction attempts more likely, but the refit must converge and pass a likelihood-ratio test before it is retained. See fit options for details.

Metadata

Release files for paneltime 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paneltime 2.0.1
File Size Uploaded Provenance Actions
paneltime-2.0.1.tar.gz 5.3 MB Without provenance Details for paneltime-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for paneltime 2.0.1
File Interpreter ABI Platform Actions
paneltime-2.0.1-py3-none-any.whl Python 3 none any Details for paneltime-2.0.1-py3-none-any.whl

Total release size: 10.7 MB

Release files / paneltime-2.0.1.tar.gz

Download URL paneltime-2.0.1.tar.gz
Size 5.3 MB
Tags Source
SHA-256 checksum
How to use checksums
266c84c655d08ae5c5cad05e733356819c368c9f5835c518c301b476e1fa77a4
BLAKE2b-256 checksum
How to use checksums
f2cbd7cfe391575be7a4f58b3a8893dd7031644c5c7e2f3b87a9bcf52f19d3c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / paneltime-2.0.1-py3-none-any.whl

Download URL paneltime-2.0.1-py3-none-any.whl
Size 5.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d0c25402b07086ca32411221e92fdb92b9e60315935595bc0b50f77ee7fcfbc8
BLAKE2b-256 checksum
How to use checksums
a8737cf91598e68d89fb37bf55cb9275fec09c9724434f8990fdbdd82b08f56b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for paneltime 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page