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 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. 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.
    3. 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.
    4. Kastner, Gregor, 2019. "Sparse Bayesian time-varying covariance estimation in many dimensions," Journal of Econometrics, Elsevier, vol. 210(1), pages 98-115.
    5. 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.
    6. 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.
    7. 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).
    8. 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.
    9. Hauber, Philipp & Schumacher, Christian, 2021. "Precision-based sampling with missing observations: A factor model application," Discussion Papers 11/2021, Deutsche Bundesbank.
    10. Sylvia Fruhwirth-Schnatter & Peter Knaus, 2022. "Sparse Bayesian State-Space and Time-Varying Parameter Models," Papers 2207.12147, arXiv.org.
    11. 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.
    12. David Edmund Allen, 2020. "Stochastic Volatility and GARCH: Do Squared End-of-Day Returns Provide Similar Information?," JRFM, MDPI, vol. 13(9), pages 1-25, September.
    13. 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.
    14. Darjus Hosszejni & Gregor Kastner, 2019. "Modeling Univariate and Multivariate Stochastic Volatility in R with stochvol and factorstochvol," Papers 1906.12123, arXiv.org, revised Feb 2021.
    15. Kinkyo, Takuji, 2021. "Region-wide connectedness of Asian equity and currency markets," The North American Journal of Economics and Finance, Elsevier, vol. 58(C).
    16. Zhang, Yixiao & Yu, Cindy L. & Li, Haitao, 2022. "Nowcasting GDP Using Dynamic Factor Model with Unknown Number of Factors and Stochastic Volatility: A Bayesian Approach," Econometrics and Statistics, Elsevier, vol. 24(C), pages 75-93.
    17. Hauzenberger, Niko, 2021. "Flexible Mixture Priors for Large Time-varying Parameter Models," Econometrics and Statistics, Elsevier, vol. 20(C), pages 87-108.
    18. Byrne, Joseph P. & Cao, Shuo & Korobilis, Dimitris, 2019. "Decomposing global yield curve co-movement," Journal of Banking & Finance, Elsevier, vol. 106(C), pages 500-513.
    19. Hautsch, Nikolaus & Voigt, Stefan, 2019. "Large-scale portfolio allocation under transaction costs and model uncertainty," Journal of Econometrics, Elsevier, vol. 212(1), pages 221-240.
    20. Gael M. Martin & David T. Frazier & Ruben Loaiza-Maya & Florian Huber & Gary Koop & John Maheu & Didier Nibbering & Anastasios Panagiotelis, 2023. "Bayesian Forecasting in the 21st Century: A Modern Review," Monash Econometrics and Business Statistics Working Papers 1/23, Monash University, Department of Econometrics and Business Statistics.

    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.