PyTimeVar: A Python Package for Trending Time-Varying Time Series Models
Mingxuan Song,
Bernhard van der Sluis and
Yicong Lin
Additional contact information
Mingxuan Song: Vrije Universiteit Amsterdam
No 24-060/III, Tinbergen Institute Discussion Papers from Tinbergen Institute
Abstract:
Time-varying regression models with trends are commonly used to analyze long-term tendencies and evolving relationships in data. However, statistical inference for parameter paths is challenging, and recent literature has proposed various bootstrap methods to address this issue. Despite this, no software package in any language has yet offered the recently developed tools for conducting inference in time-varying regression models. We propose PyTimeVar, a Python package that implements nonparametric estimation along with multiple new bootstrap-assisted inference methods. It provides a range of bootstrap techniques for constructing pointwise confidence intervals and simultaneous bands for parameter curves. Additionally, the package includes four widely used methods for modeling trends and time-varying relationships. This allows users to compare different approaches within a unified environment.
Keywords: time-varying; bootstrap; nonparametric estimation; boosted Hodrick-Prescott filter; power-law trend; score-driven; state-space (search for similar items in EconPapers)
JEL-codes: C14 C22 C87 (search for similar items in EconPapers)
Date: 2024-11-03
New Economics Papers: this item is included in nep-ets
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://papers.tinbergen.nl/24060.pdf (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:tin:wpaper:20240060
Access Statistics for this paper
More papers in Tinbergen Institute Discussion Papers from Tinbergen Institute Contact information at EDIRC.
Bibliographic data for series maintained by Tinbergen Office +31 (0)10-4088900 ().