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

Forecasting with Bayesian Panel Vector Autoregressions Using the R Package bpvars

Author

Listed:
  • Miguel Sanchez-Martinez

    (International Labour Organization)

  • Tomasz Wo'zniak

    (University of Melbourne)

Abstract

The R package bpvars was designed to forecast employment, unemployment, and labour market participation rates of 189 countries. However, it is generally applicable to dynamic panel data due to the flexibility of its modelling framework and robust coding. It includes a family of Bayesian hierarchical panel Vector Autoregressions (VARs) that are characterised by: (i) country-specific VAR models (ii) with their parameters' priors centred around their global counterparts, and (iii) featuring flexible multi-level hierarchical prior distributions (iv) with many variants of well-established in the literature benchmark choices, and (v) four alternative specifications including groupping of country-specific or global parameters. A~distinguishing feature is its implementation of missing observation treatment based on a model-coherent Bayesian approach. These models are accompanied by Bayesian prediction, offering a wide range of possible specifications that aim to increase forecasting precision and comply with various reporting standards. We also implement pseudo-out-of-sample recursive forecasting for evaluating point and density forecast performance. The package implements model specification, estimation, and forecasting routines, facilitating simple workflows and reproducibility, including estimation and forecasting results summaries and visualisations. It achieves extraordinary computational speed thanks to the employment of frontier econometric and numerical techniques, as well as algorithms written in C++.

Suggested Citation

  • Miguel Sanchez-Martinez & Tomasz Wo'zniak, 2026. "Forecasting with Bayesian Panel Vector Autoregressions Using the R Package bpvars," Papers 2606.14143, arXiv.org.
  • Handle: RePEc:arx:papers:2606.14143
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Jessica Godwin & Adrian E. Raftery, 2017. "Bayesian projection of life expectancy accounting for the HIV/AIDS epidemic," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 37(48), pages 1549-1610.
    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. Raftery, Adrian E. & Ševčíková, Hana, 2023. "Probabilistic population forecasting: Short to very long-term," International Journal of Forecasting, Elsevier, vol. 39(1), pages 73-97.

    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:2606.14143. 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: https://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.