Skip to content

Experimental tools (R) on pVAR models for timely estimates

License

Notifications You must be signed in to change notification settings

eurostat/panelvar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

panelvar

Experimental tools on pVAR models for timely estimates.

The material provided herein will enable you to reproduce the experiments presented in Eurostat statistical working paper on New methods for timely estimates (cite this source code or the reference's doi: 10.2785/600130). Further details are also available in the other associated working papers (see Kapetanios et al.'s publications below).

Description

The source code is provided as is in the model/ folder so as to explore out-of-sample forecasting performance of mixed-frequency panel vector autoregression (pVAR) models for four key macroeconomic variables, with the goal of providing evidence on the usefulness and reliability of these models for use by official statistical agencies.

Data from four European economies, as used in the paper, are made available under the data/input folder. Output data will be stored into an data/output/ folder that needs to be created beforehand.

Additionally, the source code in tables/ enable to reproduce some figures of the working paper that are stored in the data/tables folder

Quick launch

  • Run a pVar model from within a Jupyter notebook in binder (current build with commit d89d9bd). We provide the interactive environments with already installed packages to run the experiments, for instance: badge

  • Run RStudio in binder, and simply source any of the pVar models from the platform (i.e., select the model file and run it): badge

Usage

To run the experiments (e.g., in your local), you will need to prior install the following package dependencies: forecast, imputeTS, panelvar, lubridate, vars, moments and zoo.

Once the packages installed, you can run the bash scripts in the bin/ folder.

About

authors Papailias F., Kapetanios G., Marcellino M., and Mazzi G.L.
version 1.0
status 2020 – closed
license EUPL (cite the source code or the reference above!)

References