Economics > Econometrics
Title:tempdisagg: A Python Framework for Temporal Disaggregation of Time Series Data
Abstract:tempdisagg is an open-source Python package that estimates a high-frequency time series from low-frequency benchmarks and, optionally, high-frequency indicators, such that the estimates aggregate exactly to the benchmarks. It implements the regression-based estimators of Chow-Lin, Fernández and Litterman, the dynamic Chow-Lin model, the Denton and Denton-Cholette benchmarking procedures and uniform distribution, with the formulas and defaults of the R package tempdisagg, together with the autoregressive distributed-lag model of Proietti as an experimental extension. All generalised least squares estimators share one engine in which the residual covariance is applied through its triangular factor, so that one likelihood evaluation costs $O(n\,n_l^2)$ instead of $O(n^2 n_l)$. The package reports complete inference (coefficients, standard errors, likelihood-based criteria, prediction variances and a full profile of the autoregressive parameter with identification diagnostics), accepts additional exact linear constraints, multiple indicators and aggregation weights, and provides exact non-negative and cross-sectional reconciliation, rolling-origin backtesting, revision analysis, conformity diagnostics and a common-factor test. Agreement with R is enforced by an automated test suite over 29 reference cases: with a fixed autoregressive parameter predictions and statistics agree to relative differences between $10^{-15}$ and $10^{-7}$, and with an estimated parameter they agree to about $10^{-8}$ once the difference in optimiser tolerance is removed. Experiments with series whose high-frequency values are known illustrate how the reported tools support the choice of method.
| Comments: | 20 pages, 3 figures, 1 table. Software data paper describing the Python package tempdisagg |
|---|---|
| Subjects: | Econometrics (econ.EM) ; Computation (stat.CO); Machine Learning (stat.ML) |
| ACM classes: | I.2.6 |
| Cite as: | arXiv:2503.22054 [econ.EM] |
| (or arXiv:2503.22054v2 [econ.EM] for this version) | |
| https://doi.org/10.48550/arXiv.2503.22054 arXiv-issued DOI via DataCite |
Submission history
Access Paper:
- HTML (experimental)
Ancillary files (details):
- __pycache__/reproduce_paper.cpython-313.pyc
- reproduce_paper.py
- results.json
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.