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.8

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 1.3.9

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 1.3.9
File Size Uploaded Provenance Actions
paneltime-1.3.9.tar.gz 5.3 MB Without provenance Details for paneltime-1.3.9.tar.gz

Built distribution (wheel)

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

Total release size: 10.7 MB

Release files / paneltime-1.3.9.tar.gz

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

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

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

Security for paneltime 1.3.9

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

1.3.9 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