IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1907.07065.html
   My bibliography  Save this paper

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. 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.
    3. 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.
    4. 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).
    5. 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.
    6. 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).
    7. Petris, Giovanni, 2010. "An R Package for Dynamic Linear Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 36(i12).
    8. Gregor Kastner & Sylvia Fruhwirth-Schnatter & Hedibert Freitas Lopes, 2016. "Efficient Bayesian Inference for Multivariate Factor Stochastic Volatility Models," Papers 1602.08154, arXiv.org, revised Jul 2017.
    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. 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.
    3. 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).
    4. Niaz Bashiri Behmiri & Maryam Ahmadi & Juha-Pekka Junttila & Matteo Manera, 2021. "Financial Stress and Basis in Energy Markets," The Energy Journal, , vol. 42(5), pages 67-88, September.
    5. 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.
    6. 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.
    7. Sylvia Fruhwirth-Schnatter & Peter Knaus, 2022. "Sparse Bayesian State-Space and Time-Varying Parameter Models," Papers 2207.12147, arXiv.org.
    8. 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.
    9. Joshua C.C. Chan & Rodney W. Strachan, 2023. "Bayesian State Space Models In Macroeconometrics," Journal of Economic Surveys, Wiley Blackwell, vol. 37(1), pages 58-75, February.
    10. Kastner, Gregor, 2019. "Sparse Bayesian time-varying covariance estimation in many dimensions," Journal of Econometrics, Elsevier, vol. 210(1), pages 98-115.
    11. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    12. Gary Koop & Dimitris Korobilis, 2023. "Bayesian Dynamic Variable Selection In High Dimensions," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 64(3), pages 1047-1074, August.
    13. David Kohns & Arnab Bhattacharjee, 2020. "Nowcasting Growth using Google Trends Data: A Bayesian Structural Time Series Model," Papers 2011.00938, arXiv.org, revised May 2022.
    14. Dufays, Arnaud & Rombouts, Jeroen V.K., 2020. "Relevant parameter changes in structural break models," Journal of Econometrics, Elsevier, vol. 217(1), pages 46-78.
    15. Annalisa Cadonna & Sylvia Frühwirth-Schnatter & Peter Knaus, 2020. "Triple the Gamma—A Unifying Shrinkage Prior for Variance and Variable Selection in Sparse State Space and TVP Models," Econometrics, MDPI, vol. 8(2), pages 1-36, May.
    16. Jiasheng Yu & Maojun Zhang & Ruoyu Liu & Guodong Wang, 2023. "Dynamic Effects of Climate Policy Uncertainty on Green Bond Volatility: An Empirical Investigation Based on TVP-VAR Models," Sustainability, MDPI, vol. 15(2), pages 1-17, January.
    17. 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.
    18. 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.
    19. Hauber, Philipp & Schumacher, Christian, 2021. "Precision-based sampling with missing observations: A factor model application," Discussion Papers 11/2021, Deutsche Bundesbank.
    20. Dimitris Korobilis & Kenichi Shimizu, 2022. "Bayesian Approaches to Shrinkage and Sparse Estimation," Foundations and Trends(R) in Econometrics, now publishers, vol. 11(4), pages 230-354, June.

    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.