IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1907.07065.html

Shrinkage in the Time-Varying Parameter Model Framework Using the R Package shrinkTVP

Author

Listed:
  • Peter Knaus
  • Angela Bitto-Nemling
  • Annalisa Cadonna
  • Sylvia Fruhwirth-Schnatter

Abstract

Time-varying parameter (TVP) models are widely used in time series analysis to flexibly deal with processes which gradually change over time. However, the risk of overfitting in TVP models is well known. This issue can be dealt with using appropriate global-local shrinkage priors, which pull time-varying parameters towards static ones. In this paper, we introduce the R package shrinkTVP (Knaus, Bitto-Nemling, Cadonna, and Fr\"uhwirth-Schnatter 2019), which provides a fully Bayesian implementation of shrinkage priors for TVP models, taking advantage of recent developments in the literature, in particular that of Bitto and Fr\"uhwirth-Schnatter (2019). The package shrinkTVP allows for posterior simulation of the parameters through an efficient Markov Chain Monte Carlo (MCMC) scheme. Moreover, summary and visualization methods, as well as the possibility of assessing predictive performance through log predictive density scores (LPDSs), are provided. The computationally intensive tasks have been implemented in C++ and interfaced with R. The paper includes a brief overview of the models and shrinkage priors implemented in the package. Furthermore, core functionalities are illustrated, both with simulated and real data.

Suggested Citation

  • Peter Knaus & Angela Bitto-Nemling & Annalisa Cadonna & Sylvia Fruhwirth-Schnatter, 2019. "Shrinkage in the Time-Varying Parameter Model Framework Using the R Package shrinkTVP," Papers 1907.07065, arXiv.org, revised Nov 2020.
  • Handle: RePEc:arx:papers:1907.07065
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1907.07065
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Bitto, Angela & Frühwirth-Schnatter, Sylvia, 2019. "Achieving shrinkage in a time-varying parameter model framework," Journal of Econometrics, Elsevier, vol. 210(1), pages 75-97.
    2. Zeileis, Achim & Grothendieck, Gabor, 2005. "zoo: S3 Infrastructure for Regular and Irregular Time Series," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 14(i06).
    3. Miguel A.G. Belmonte & Gary Koop & Dimitris Korobilis, 2014. "Hierarchical Shrinkage in Time‐Varying Parameter Models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 33(1), pages 80-94, January.
    4. McCausland, William J. & Miller, Shirley & Pelletier, Denis, 2011. "Simulation smoothing for state-space models: A computational efficiency analysis," Computational Statistics & Data Analysis, Elsevier, vol. 55(1), pages 199-212, January.
    5. Kastner, Gregor & Frühwirth-Schnatter, Sylvia, 2014. "Ancillarity-sufficiency interweaving strategy (ASIS) for boosting MCMC estimation of stochastic volatility models," Computational Statistics & Data Analysis, Elsevier, vol. 76(C), pages 408-423.
    6. Petris, Giovanni, 2010. "An R Package for Dynamic Linear Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i12).
    7. Friedman, Jerome H. & Hastie, Trevor & Tibshirani, Rob, 2010. "Regularization Paths for Generalized Linear Models via Coordinate Descent," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 33(i01).
    8. Jouchi Nakajima, 2011. "Time-Varying Parameter VAR Model with Stochastic Volatility: An Overview of Methodology and Empirical Applications," Monetary and Economic Studies, Institute for Monetary and Economic Studies, Bank of Japan, vol. 29, pages 107-142, November.
    9. Gregor Kastner & Sylvia Frühwirth-Schnatter & Hedibert Freitas Lopes, 2016. "Efficient Bayesian Inference for Multivariate Factor Stochastic Volatility Models," Business and Economics Working Papers 234, Unidade de Negocios e Economia, Insper.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Bitto, Angela & Frühwirth-Schnatter, Sylvia, 2019. "Achieving shrinkage in a time-varying parameter model framework," Journal of Econometrics, Elsevier, vol. 210(1), pages 75-97.
    2. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    3. Peter Knaus & Sylvia Fruhwirth-Schnatter, 2023. "The Dynamic Triple Gamma Prior as a Shrinkage Process Prior for Time-Varying Parameter Models," Papers 2312.10487, arXiv.org, revised Jan 2025.
    4. Chernis Tony, 2024. "Combining Large Numbers of Density Predictions with Bayesian Predictive Synthesis," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 28(2), pages 293-317, April.
    5. repec:aen:journl:ej42-5-bashiri is not listed on IDEAS
    6. Sylvia Fruhwirth-Schnatter & Peter Knaus, 2022. "Sparse Bayesian State-Space and Time-Varying Parameter Models," Papers 2207.12147, arXiv.org.
    7. He, Zhongfang, 2026. "A computationally efficient mixture innovation model for time-varying parameter regressions," Econometrics and Statistics, Elsevier, vol. 37(C), pages 250-269.
    8. Niko Hauzenberger, 2020. "Flexible Mixture Priors for Large Time-varying Parameter Models," Papers 2006.10088, arXiv.org, revised Nov 2020.
    9. Zhongfang He, 2024. "Locally time-varying parameter regression," Econometric Reviews, Taylor & Francis Journals, vol. 43(5), pages 269-300, May.
    10. Dima, Bogdan & Dima, Ştefana Maria & Ioan, Roxana, 2025. "The short-run impact of investor expectations’ past volatility on current predictions: The case of VIX," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 98(C).
    11. Kastner, Gregor, 2019. "Sparse Bayesian time-varying covariance estimation in many dimensions," Journal of Econometrics, Elsevier, vol. 210(1), pages 98-115.
    12. Helmut Lütkepohl & Fei Shang & Luis Uzeda & Tomasz Woźniak, 2024. "Partial Identification of Heteroskedastic Structural VARs: Theory and Bayesian Inference," Discussion Papers of DIW Berlin 2081, DIW Berlin, German Institute for Economic Research.
    13. Zheng, Tingguo & Ye, Shiqi & Hong, Yongmiao, 2023. "Fast estimation of a large TVP-VAR model with score-driven volatilities," Journal of Economic Dynamics and Control, Elsevier, vol. 157(C).
    14. Lopes, Hedibert F. & McCulloch, Robert E. & Tsay, Ruey S., 2022. "Parsimony inducing priors for large scale state–space models," Journal of Econometrics, Elsevier, vol. 230(1), pages 39-61.
    15. Chan, Joshua C.C. & Eisenstat, Eric & Strachan, Rodney W., 2020. "Reducing the state space dimension in a large TVP-VAR," Journal of Econometrics, Elsevier, vol. 218(1), pages 105-118.
    16. Florian Huber & Michael Pfarrhofer & Philipp Piribauer, 2020. "A multi‐country dynamic factor model with stochastic volatility for euro area business cycle analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(6), pages 911-926, September.
    17. Pfarrhofer, Michael, 2023. "Measuring International Uncertainty Using Global Vector Autoregressions with Drifting Parameters," Macroeconomic Dynamics, Cambridge University Press, vol. 27(3), pages 770-793, April.
    18. Arnaud Dufays & Elysee Aristide Houndetoungan & Alain Coën, 2022. "Selective Linear Segmentation for Detecting Relevant Parameter Changes [Risks and Portfolio Decisions Involving Hedge Funds]," Journal of Financial Econometrics, Oxford University Press, vol. 20(4), pages 762-805.
    19. Florian Huber & Gary Koop & Michael Pfarrhofer, 2020. "Bayesian Inference in High-Dimensional Time-varying Parameter Models using Integrated Rotated Gaussian Approximations," Papers 2002.10274, arXiv.org.
    20. Annalisa Cadonna & Sylvia Fruhwirth-Schnatter & Peter Knaus, 2019. "Triple the gamma -- A unifying shrinkage prior for variance and variable selection in sparse state space and TVP models," Papers 1912.03100, arXiv.org.
    21. Helmut Lutkepohl & Fei Shang & Luis Uzeda & Tomasz Wo'zniak, 2024. "Partial Identification of Structural Vector Autoregressions with Non-Centred Stochastic Volatility," Papers 2404.11057, arXiv.org, revised Oct 2025.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:1907.07065. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.