uu.seUppsala University Publications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Mixed-Frequency Bayesian VAR Models in R: The mfbvar Package
Uppsala University, Disciplinary Domain of Humanities and Social Sciences, Faculty of Social Sciences, Department of Statistics.ORCID iD: 0000-0003-4415-8734
Uppsala University, Disciplinary Domain of Humanities and Social Sciences, Faculty of Social Sciences, Department of Statistics.
(English)Manuscript (preprint) (Other academic)
Abstract [en]

Time series are often sampled at different frequencies, which leads to mixed-frequency data. Mixed frequencies are often neglected in applications as high-frequency series are aggregated to lower frequencies. In the mfbvar package, we introduce the possibility to estimate Bayesian vector autoregressive (VAR) models when the set of included time series consists of monthly and quarterly variables. The package implements several common prior distributions as well as stochastic volatility methods. The mixed-frequency nature of the data is handled by assuming that quarterly variables are weighted averages of unobserved monthly observations. We provide a user-friendly interface for model estimation and forecasting. The capabilities of the package are illustrated in an application.

National Category
Probability Theory and Statistics
Identifiers
URN: urn:nbn:se:uu:diva-391497OAI: oai:DiVA.org:uu-391497DiVA, id: diva2:1345141
Funder
The Jan Wallander and Tom Hedelius Foundation, P2016-0293:1Available from: 2019-08-23 Created: 2019-08-23 Last updated: 2019-08-23
In thesis
1. VAR Models, Cointegration and Mixed-Frequency Data
Open this publication in new window or tab >>VAR Models, Cointegration and Mixed-Frequency Data
2019 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

This thesis consists of five papers that study two aspects of vector autoregressive (VAR) modeling: cointegration and mixed-frequency data.

Paper I develops a method for estimating a cointegrated VAR model under restrictions implied by the economy under study being a small open economy. Small open economies have no influence on surrounding large economies. The method suggested by Paper I provides a way to enforce the implied restrictions in the model. The method is illustrated in two applications using Swedish data, and we find that differences in impulse responses resulting from failure to impose the restrictions can be considerable.

Paper II considers a Bayesian VAR model that is specified using a prior distribution on the unconditional means of the variables in the model. We extend the model to allow for the possibility of mixed-frequency data with variables observed either monthly or quarterly. Using real-time data for the US, we find that the accuracy of the forecasts is generally improved by leveraging mixed-frequency data, steady-state information, and a more flexible volatility specification.

The mixed-frequency VAR in Paper II is estimated using a state-space formulation of the model. Paper III studies this step of the estimation algorithm in more detail as the state-space step becomes prohibitive for larger models when the model is employed in real-time situations. We therefore propose an improvement of the existing sampling algorithm. Our suggested algorithm is adaptive and provides considerable improvements when the size of the model is large. The described approach makes the use of large mixed-frequency VARs more feasible for nowcasting.

Paper IV studies the estimation of large mixed-frequency VARs with stochastic volatility. We employ a factor stochastic volatility model for the error term and demonstrate that this allows us to improve upon the algorithm for the state-space step further. In addition, regression parameters can be sampled independently in parallel. We draw from the literature on large VARs estimated on single-frequency data and estimate mixed-frequency models with 20, 34 and 119 variables.

Paper V provides an R package for estimating mixed-frequency VARs. The package includes the models discussed in Paper II and IV as well as additional alternatives. The package has been designed with the intent to make the process of specification, estimation and processing simple and easy to use. The key functions of the package are implemented in C++ and are available for other packages to use and build their own mixed-frequency VARs.

Place, publisher, year, edition, pages
Uppsala: Acta Universitatis Upsaliensis, 2019. p. 45
Series
Digital Comprehensive Summaries of Uppsala Dissertations from the Faculty of Social Sciences, ISSN 1652-9030 ; 170
Keywords
vector error correction, small open economy, mixed-frequency data, Bayesian, steady state, nowcasting, state-space model, large VARs, simulation smoothing, factor stochastic volatility, R
National Category
Probability Theory and Statistics
Research subject
Statistics
Identifiers
urn:nbn:se:uu:diva-391500 (URN)978-91-513-0734-3 (ISBN)
Public defence
2019-10-11, Hörsal 2, Kyrkogårdsgatan 10, Uppsala, 13:15 (English)
Opponent
Supervisors
Available from: 2019-09-20 Created: 2019-08-23 Last updated: 2019-10-15

Open Access in DiVA

No full text in DiVA

Authority records BETA

Ankargren, SebastianYang, Yukai

Search in DiVA

By author/editor
Ankargren, SebastianYang, Yukai
By organisation
Department of Statistics
Probability Theory and Statistics

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 23 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf