IDEAS home Printed from https://ideas.repec.org/p/boc/usug26/23.html

Implementing mixed-data sampling models for temporal sampling and aggregation in Stata

Author

Listed:
  • Stephen Snudden

    (Wilfrid Laurier University)

  • Quinlan Lee

    (Erasmus University Rotterdam)

Abstract

Many economic forecasts are constructed for temporally aggregated variables, such as monthly averages or quarterly sums, even when high-frequency data are available. Recent work on temporal aggregation shows that using only monthly or quarterly data can substantially reduce forecast accuracy and distort forecast evaluation. This presentation shows how Stata users can exploit high-frequency information using mixed-data sampling (MIDAS) methods. I first demonstrate how unrestricted MIDAS and restricted MIDAS can be implemented in Stata using existing data-management and time-series commands. These methods are straightforward to code and produce large gains relative to monthly or quarterly benchmarks, but they recover only part of the efficiency available from high-frequency information. I then show how to implement bottom-up MIDAS (BUMIDAS) methods. BUMIDAS reduces the number of parameters by up to a factor equal to the aggregation frequency and is the direct-forecast equivalent of optimal recursive bottom-up approaches. In the applications, daily recursive methods and bottom-up MIDAS reduce forecast errors by roughly half relative to standard monthly or quarterly approaches, and BUMIDAS often outperforms recursive methods in practice. Prototype Stata code is provided to automate aggregation, lag construction, estimation, forecasting, and forecast comparison across low-frequency, UMIDAS, RMIDAS, recursive bottom-up, and bottom-up MIDAS methods.

Suggested Citation

Handle: RePEc:boc:usug26:23
as

Download full text from publisher

File URL: http://repec.org/usug2026/US26_Snudden.pdf
Download Restriction: no
---><---

More about this item

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:boc:usug26:23. 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.

We have no bibliographic references for this item. You can help adding them by using 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: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

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.