Package: bridgr 1.0.0

Marc Burri

bridgr: Bridging Data Frequencies for Timely Economic Forecasts

Implements bridge and MIDAS-style mixed-frequency models for nowcasting and forecasting macroeconomic variables by linking higher-frequency indicator variables to a lower-frequency target series. The package standardizes input data, infers regular frequencies, forecasts missing indicator observations, and aggregates indicators to the target frequency before fitting a regression with autoregressive target dynamics. Frequency alignment can be customized through user-supplied conversion rules. For more on bridge and MIDAS models, see Baffigi, A., Golinelli, R., & Parigi, G. (2004) <doi:10.1016/S0169-2070(03)00067-0>, Ghysels, Sinko, & Valkanov (2007) <doi:10.1080/07474930600972467>, Andreou, Ghysels, & Kourtellos (2010) <doi:10.1016/j.jeconom.2010.01.004>, Schumacher (2016) <doi:10.1016/j.ijforecast.2015.07.004>, and Burri (2026) <doi:10.1111/obes.70073>.

Authors:Marc Burri [aut, cre, cph]

bridgr_1.0.0.tar.gz
bridgr_1.0.0.zip(r-4.7-any)bridgr_1.0.0.zip(r-4.6-any)bridgr_1.0.0.zip(r-4.5-any)
bridgr_1.0.0.tgz(r-4.6-any)bridgr_1.0.0.tgz(r-4.5-any)
bridgr_1.0.0.tar.gz(r-4.7-any)bridgr_1.0.0.tar.gz(r-4.6-any)
bridgr_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
bridgr/json (API)

# Install 'bridgr' in R:
install.packages('bridgr', repos = c('https://ropensci-staging.r-universe.dev', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #()

Bug tracker:https://github.com/marcburri/bridgr/issues

Pkgdown/docs site:https://marcburri.github.io

Datasets:
  • baro - Swiss Economic Indicators
  • fcurve - Swiss Economic Indicators
  • gdp - Swiss Economic Indicators
  • wea - Swiss Economic Indicators

On CRAN:

Conda:

bridge-regressionforecastingmidas-regressionmixed-frequency-datanowcastingtime-seriestime-series-models

6.10 score 5 stars 9 scripts 361 downloads 11 exports 43 dependencies

Last updated from:f61121971c. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK192
pkgdown docsOK282
source / vignettesOK242
linux-releaseOK187
macos-releaseOK146
macos-oldrelOK143
windows-develOK141
windows-releaseOK163
windows-oldrelOK165
wasm-releaseOK143

Exports:aggregation_parametersas.forecastautoplotbridgecolors_bridgrforecastindicatorsmf_modelscale_color_bridgrscale_fill_bridgrtheme_bridgr

Dependencies:anytimeBHclicolorspacecpp11data.tabledplyrfarverforecastfracdiffgenericsggplot2gluegtableisobandlabelinglatticelifecyclelmtestlubridatemagrittrnlmennetpillarpkgconfigR6RColorBrewerRcppRcppArmadillorlangS7scalestibbletidyselecttimechangetimeDatetsboxurcautf8vctrsviridisLitewithrzoo

Aggregation and Mixed-Frequency Modeling in bridgr
The Bridge-to-MIDAS Spectrum | A Small Monthly-to-Quarterly Example | Deterministic Bridge Aggregation | Fixed numeric weights | Unrestricted Mixed-Frequency Regression | Parametric MIDAS-Style Weighting | Forecast Comparison | Picking an Aggregator on Out-of-Sample Performance | Choosing an Aggregation Strategy | Related packages

Last update: 2026-08-03
Started: 2026-04-15

Getting Started with bridgr
Overview | Example Data | Stationarity expectations | A Basic Bridge Model | Lags in the target equation | Standardized Output | Forecast Visualization | Multiple Indicators | Direct Alignment | Non-Standard Calendars | Optional Uncertainty Output | Where to Go Next

Last update: 2026-08-03
Started: 2024-12-09

Uncertainty and Scenario Forecasting
Overview | Fitting a Model with Default Uncertainty | Forecast Output | Reporting Only Forecasts Below a Width Tolerance | Summary Output | Scenario Forecasting with xreg | Optional Full-System Bootstrap | Point Forecasts Only | Interpretation

Last update: 2026-08-03
Started: 2026-04-15

A Real-Time Nowcasting Exercise
Why Real-Time Evaluation Matters | Setup | A Single-Quarter Illustration | Full Real-Time Loop | Method × Vintage Scoreboard | Forecasts vs. Realizations | Where to Go Next

Last update: 2026-05-25
Started: 2026-05-25

Ragged-Edge Nowcasting with bridgr
Why Ragged Edges Matter | A Ragged-Edge Example | Comparing Indicator Completion Rules | Visualizing the completed indicator paths | Direct Alignment | Explicit Missing Values | When to Use Which Option

Last update: 2026-05-25
Started: 2026-04-15

Readme and manuals

Help Manual

Help pageTopics
Estimated Parametric Aggregation Parametersaggregation_parameters aggregation_parameters.mf_model
Coerce a Mixed-Frequency Forecast to a forecast Objectas.forecast as.forecast.mf_model_forecast
Forecast a Mixed-Frequency Modelforecast.mf_model print.mf_model_forecast
Swiss Economic Indicatorsbaro fcurve gdp wea
Indicator Names of a Mixed-Frequency Modelindicators indicators.mf_model
Estimate a Mixed-Frequency Modelbridge mf_model
Accessor Methods for Mixed-Frequency Modelscoef.mf_model confint.mf_model fitted.mf_model formula.mf_model mf_model-accessors model.frame.mf_model nobs.mf_model print.mf_model residuals.mf_model variable.names.mf_model vcov.mf_model
Plot a Mixed-Frequency Modelplot.mf_model
Plot a Mixed-Frequency Forecastautoplot.mf_model_forecast plot.mf_model_forecast
Print a Mixed-Frequency Model Summaryprint.summary.mf_model
Summarize a Mixed-Frequency Modelsummary.mf_model
bridgr Plot Theme and Color Scalescolors_bridgr scale_color_bridgr scale_fill_bridgr theme_bridgr
Aggregation Weights of a Mixed-Frequency Modelweights.mf_model