Skip to Content
  • Offices

    Offices

    North & Latin America
    • Atlanta
    • Austin
    • Bogota
    • Boston
    • Buenos Aires
    • Chicago
    • Dallas
    • Denver
    • Houston
    • Los Angeles
    • Mexico City
    • Minneapolis
    • Monterrey
    • Montreal
    • New York
    • Rio de Janeiro
    • San Francisco
    • Santiago
    • São Paulo
    • Seattle
    • Silicon Valley
    • Toronto
    • Washington, DC
    Europe & Africa
    • Amsterdam
    • Athens
    • Berlin
    • Brussels
    • Copenhagen
    • Dusseldorf
    • Frankfurt
    • Helsinki
    • Istanbul
    • Johannesburg
    • Kyiv
    • Lisbon
    • London
    • Madrid
    • Milan
    • Munich
    • Oslo
    • Paris
    • Rome
    • Stockholm
    • Vienna
    • Warsaw
    • Zurich
    Middle East
    • Doha
    • Dubai
    • Riyadh
    Asia & Australia
    • Bangkok
    • Beijing
    • Bengaluru
    • Brisbane
    • Ho Chi Minh City
    • Hong Kong
    • Jakarta
    • Kuala Lumpur
    • Manila
    • Melbourne
    • Mumbai
    • New Delhi
    • Perth
    • Shanghai
    • Singapore
    • Sydney
    • Tokyo
    See all offices
  • Alumni
  • Media Center
  • Subscribe
  • Contact
  • Spain | Español

    Select your region and language

    Global
    • Global (English)
    North & Latin America
    • Brazil (Português)
    • Argentina (Español)
    • Canada (Français)
    • Chile (Español)
    • Colombia (Español)
    Europe, Middle East, & Africa
    • France (Français)
    • DACH Region (Deutsch)
    • Italy (Italiano)
    • Spain (Español)
    • Greece (Elliniká)
    Asia & Australia
    • China (中文版)
    • Korea (한국어)
    • Japan (日本語)
  • Saved items (0)
    Saved items (0)

    You have no saved items.

    Bookmark content that interests you and it will be saved here for you to read or share later.

    Explore Bain Insights
  • Industries
    Main menu

    Industries

    • Aeroespacial y Defensa
    • Agroindustria
    • Químicos
    • Construcción e Infraestructura
    • Productos de Consumo
    • Servicios Financieros
    • Salud y Ciencias de la Vida
    • Maquinaria y Equipo Industrial
    • Medios y Entretenimiento
      Industries
      Medios y Entretenimiento
      • Media Lab
    • Metales
    • Minería
    • Petróleo y Gas
    • Papel y Empaque
    • Private Equity
      Industries
      Private Equity
      • Due Diligence
      • Exit Planning
      • Firm Strategy & Operations
      • Portfolio Value Creation
    • Sector Público y Social
    • Retail
    • Tecnología
    • Telecomunicaciones
      Industries
      Telecomunicaciones
      • Capital Expenditure
      • Telco Digital Transformation
    • Transporte
    • Viajes y Turismo
    • Servicios Públicos y Energías Renovables
  • Consulting Services
    Main menu

    Consulting Services

    • Customer Experience
    • Sustainability
    • Innovation
    • M&A
    • Operations
    • People & Organization
    • Private Equity
    • Sales & Marketing
    • Strategy
    • AI, Insights, and Solutions
    • Technology
    • Transformation
  • Digital
  • Insights
    Main menu

    Insights

    • Industry Insights
    • Services Insights
    • Bain Books
    • Webinars
    • Bain Futures
    View all Insights
    Featured topics
    • Tariff Response
    • Artificial Intelligence
    • Thriving in Uncertainty
    • Executive Conversations
    • Macro Trends
    • Private Equity Report
    • M&A Report
    • Healthcare Private Equity Report
    • Paper & Packaging Report
    • Technology Report
    • CEO Insights
    • CFO Insights
    • COO Insights
    • CIO Insights
    • CMO Insights
    View all featured topics
  • About
    Main menu

    About

    • What We Do
    • What We Believe
    • Our People & Leadership
    • Client Results
    • Awards & Recognition
    • Global Affiliations
    Further: Our global responsibility
    • Sustainability
    • Social Impact
    • World Economic Forum
    Learn more about Further
  • Carreras
    Main menu

    Carreras

    • Trabaja con Nosotros
      Carreras
      Trabaja con Nosotros
      • Find Your Place
      • Nuestras Áreas de Trabajo
      • Equipos Integrados
      • Estudiantes
      • Internships & Programs
      • Eventos de Reclutamiento
    • La Vida en Bain
      Carreras
      La Vida en Bain
      • Blog: Inside Bain
      • Historias Profesionales
      • Nuestra Gente
      • Dónde Trabajamos
      • Apoyando tu Crecimiento
      • Grupos de Afinidad
      • Beneficios
    • Impact Stories
    • Nuestro Proceso
      Carreras
      Nuestro Proceso
      • Qué Esperar
      • Entrevistas
    FIND JOBS
  • Offices
    Main menu

    Offices

    • North & Latin America
      Offices
      North & Latin America
      • Atlanta
      • Austin
      • Bogota
      • Boston
      • Buenos Aires
      • Chicago
      • Dallas
      • Denver
      • Houston
      • Los Angeles
      • Mexico City
      • Minneapolis
      • Monterrey
      • Montreal
      • New York
      • Rio de Janeiro
      • San Francisco
      • Santiago
      • São Paulo
      • Seattle
      • Silicon Valley
      • Toronto
      • Washington, DC
    • Europe & Africa
      Offices
      Europe & Africa
      • Amsterdam
      • Athens
      • Berlin
      • Brussels
      • Copenhagen
      • Dusseldorf
      • Frankfurt
      • Helsinki
      • Istanbul
      • Johannesburg
      • Kyiv
      • Lisbon
      • London
      • Madrid
      • Milan
      • Munich
      • Oslo
      • Paris
      • Rome
      • Stockholm
      • Vienna
      • Warsaw
      • Zurich
    • Middle East
      Offices
      Middle East
      • Doha
      • Dubai
      • Riyadh
    • Asia & Australia
      Offices
      Asia & Australia
      • Bangkok
      • Beijing
      • Bengaluru
      • Brisbane
      • Ho Chi Minh City
      • Hong Kong
      • Jakarta
      • Kuala Lumpur
      • Manila
      • Melbourne
      • Mumbai
      • New Delhi
      • Perth
      • Shanghai
      • Singapore
      • Sydney
      • Tokyo
    See all offices
  • Alumni
  • Media Center
  • Subscribe
  • Contact
  • Spain | Español
    Main menu

    Select your region and language

    • Global
      Select your region and language
      Global
      • Global (English)
    • North & Latin America
      Select your region and language
      North & Latin America
      • Brazil (Português)
      • Argentina (Español)
      • Canada (Français)
      • Chile (Español)
      • Colombia (Español)
    • Europe, Middle East, & Africa
      Select your region and language
      Europe, Middle East, & Africa
      • France (Français)
      • DACH Region (Deutsch)
      • Italy (Italiano)
      • Spain (Español)
      • Greece (Elliniká)
    • Asia & Australia
      Select your region and language
      Asia & Australia
      • China (中文版)
      • Korea (한국어)
      • Japan (日本語)
  • Saved items  (0)
    Main menu
    Saved items (0)

    You have no saved items.

    Bookmark content that interests you and it will be saved here for you to read or share later.

    Explore Bain Insights
  • Industries
    • Industries

      • Aeroespacial y Defensa
      • Agroindustria
      • Químicos
      • Construcción e Infraestructura
      • Productos de Consumo
      • Servicios Financieros
      • Salud y Ciencias de la Vida
      • Maquinaria y Equipo Industrial
      • Medios y Entretenimiento
      • Metales
      • Minería
      • Petróleo y Gas
      • Papel y Empaque
      • Private Equity
      • Sector Público y Social
      • Retail
      • Tecnología
      • Telecomunicaciones
      • Transporte
      • Viajes y Turismo
      • Servicios Públicos y Energías Renovables
  • Consulting Services
    • Consulting Services

      • Customer Experience
      • Sustainability
      • Innovation
      • M&A
      • Operations
      • People & Organization
      • Private Equity
      • Sales & Marketing
      • Strategy
      • AI, Insights, and Solutions
      • Technology
      • Transformation
  • Digital
  • Insights
    • Insights

      • Industry Insights
      • Services Insights
      • Bain Books
      • Webinars
      • Bain Futures
      View all Insights
      Featured topics
      • Tariff Response
      • Artificial Intelligence
      • Thriving in Uncertainty
      • Executive Conversations
      • Macro Trends
      • Private Equity Report
      • M&A Report
      • Healthcare Private Equity Report
      • Paper & Packaging Report
      • Technology Report
      • CEO Insights
      • CFO Insights
      • COO Insights
      • CIO Insights
      • CMO Insights
      View all featured topics
  • About
    • About

      • What We Do
      • What We Believe
      • Our People & Leadership
      • Client Results
      • Awards & Recognition
      • Global Affiliations
      Further: Our global responsibility
      • Sustainability
      • Social Impact
      • World Economic Forum
      Learn more about Further
  • Carreras
    Popular Searches
    • Agile
    • Digital
    • Strategy
    Your Previous Searches
      Recently Visited Pages

      Content added to saved items

      Saved items (0)

      Removed from saved items

      Saved items (0)

      Expert Commentary

      How to Forecast Interdependent Market Dynamics with Limited Data

      How to Forecast Interdependent Market Dynamics with Limited Data

      Sign-restricted Bayesian vector autoregression models prove useful for mid- and long-term forecasting.

      By Grigory Sizov, Michal Chojnowski and Jose von Roth

      • min read
      }

      Article

      How to Forecast Interdependent Market Dynamics with Limited Data
      en

      Recently, a company needed to forecast mid- and long-term effects of changes in local commodity prices critical to its country’s economy. We were asked to develop a software solution that would consider the effects on the total economy as well as on the individual sectors, such as imports and exports. The company wanted to review and compare outcomes of different commodity-price-change scenarios, in order to make better-informed strategic decisions.

      The scope and complexity of the project required collaboration among data scientists, econometricians, and economists with expert knowledge of the local market. Gathering these different types of expertise was critical to developing robust models and software applications.

      Challenges of economic time series forecasting

      After evaluating various analytical approaches, the team decided to use a forecasting technique called a sign-restricted Bayesian vector autoregression (BVAR) model. That decision addressed several aspects of this project:

      • Market dynamics stem from the interaction of many economic variables, none of which should be modeled on its own. In such situations, you must simulate how time-dependent variables affect one another. VARs do this by simultaneously modeling a number of interdependent equations, so that each variable serves as both a time-dependent output of a particular equation, as well as input for other equations.
      • Data for training and validating models is limited. Many economic variables in this particular country have been captured only annually, and do not extend far into the past. Machine learning experts know that training complex models on insufficient amounts of data results in overfitting, which infects the model with errors and lowers the quality of the forecast. Bayesian models contain hyperparameters that regulate the effective size of the space across which the model parameters are optimized. This allows you to tune the complexity of these models, making them more robust, thus reducing the risk of overfitting.
      • The available data also has little historical variance. This makes it difficult for the algorithm to learn relationships between the variables. Sign-restricted Bayesian methods provide a natural framework for incorporating expert knowledge about interdependencies between economic variables into such a system of equations.

      Preparing the data and building the model

      A typical machine-learning process involves several stages, each essential to obtaining trustworthy results. Typical stages include selecting the right modeling approach, data preprocessing and feature engineering, correctly setting up the training process, and careful model tuning and validation.

      Moreover, in the context of economic forecasting in the presence of interdependent variables, many of these stages require market expertise. This is especially relevant with sign-restricted BVARs, where the market expert provides insights around the relationship expectations among the economic indicators. For example, an economist can determine the nature of a relationship between two economic variables (independent, cause-effect or mutually dependent) or provide input on what level of time-lagged effects are realistic in the local market. These insights would be factored later into the hyperparameter tuning.

      Several other decisions come up during the modeling process:

      • You may need to assess and potentially correct issues arising in time series forecasting, such as nonstationarity, variables co-integration and training data. These have effects on the model quality, especially its long-term stability.
      • Monetary variables usually are provided in nominal values, and should be converted to real values in order to account for the effects of inflation.
      • While optional, consider converting monetary economic variables from their original currencies to one chosen currency, such as US dollars. This allows you to link local market dynamics to the global economy.
      • Specific to macroeconomic modeling, it’s important to ensure consistency between the total economy and individual sectors. We took a top-down approach, by modeling the total economy separately from the sectors, then connecting the two sides through a scaling factor.

      The role of impulse response functions

      Once we trained the model and computed forecasts, the next step was to modify this forecast by taking into account various price-change scenarios. The key outputs of the training process that enable this are impulse response functions (IRFs).

      The IRFs show how a one-time unit shock in one of the variables affects the others. By modeling several shocks in the different commodity prices, we could evaluate the mid- and long-term predictions of economic variables in each of the sectors and in the total economy (see Figure 1).

      Figure 1
      Impulse response functions show the reaction of different economic variables to a one-time shock in imports

      The IRFs also serve as a good indicator of model quality: In a correctly built model, the IRFs should smoothly decay to zero over time. If this isn’t reflected in the IRFs, that indicates the model does not have long-term stability.

      The tool we built allows the user to model scenarios where different commodities undergo different tunable price changes. It then combines the IRFs with the corresponding commodity prices and shows the user the dynamics of the economy in this particular scenario. Being able to simulate and compare different scenarios allows the company to make smart business decisions amid changing market conditions.

      *    *    *

      By choosing appropriate data preprocessing steps and the right modeling approach—sign-restricted BVARS in this case—you can overcome the limitations imposed by small amounts of historical data. Delivering the model through a bespoke software solution allows you to design a user-friendly interface. This gives users flexibility to perform economic scenario modeling without being experts in the specific domain.

      Authors
      • Headshot of Grigory Sizov
        Grigory Sizov
        Alumni, Berlin
      • Headshot of Micha? Chojnowski
        Michał Chojnowski
        Alumni, Warsaw
      • Headshot of Jose von Roth
        Jose von Roth
        Alumni, Berlin
      Contact us
      Related Consulting Services
      • AI, Insights, and Solutions
      Advanced Analytics Expert Commentary
      Defining the Intelligent Enterprise

      A recap from DeepLearning.AI’s AI Dev 25 × NYC.

      Read more
      AI, Insights, and Solutions
      The AI Enterprise: Code Red

      Four questions every executive must answer now.

      Read more
      Advanced Analytics Expert Commentary
      Making Friends with Collinearity: How Driver Interactions Can Inform Targeted Interventions

      Driver analysis helps inform decisions on which drivers deserve the greatest effort.

      Read more
      AI, Insights, and Solutions
      Want More Out of Your AI Investments? Think People First

      To unlock AI’s exponential productivity potential, companies must modernize workflow and workforce in tandem.

      Read more
      Advanced Analytics Expert Commentary
      Mission Possible: Driver Analysis with Collinear Variables

      Many commonly used methods have serious limitations when assessing the variable importance of collinear drivers.

      Read more
      First published in noviembre 2019
      Tags
      • Advanced Analytics Expert Commentary
      • AI, Insights, and Solutions

      How We've Helped Clients

      Analytics Powers a Software Company’s Bold Revenue Goals

      Read case study

      Direct marketing excellence through experimental design

      Read case study

      Analytics guide an entertainment company's growth strategy

      Read case study

      Ready to talk?

      We work with ambitious leaders who want to define the future, not hide from it. Together, we achieve extraordinary outcomes.

      Stay ahead in a rapidly changing world. Subscribe to Bain Insights, our monthly look at the critical issues facing global businesses.

      *I have read and understand Bain’s Privacy Notice.

      Please read and agree to the Privacy Policy.
      Bain & Company
      Contact us Sustainability Accessibility Terms of use Privacy Modern Slavery Act Statement Cookie Policy Sitemap Log In

      © 1996-2026 Bain & Company, Inc.

      Contact Bain

      How can we help you?

      • Business inquiry
      • Career information
      • Press relations
      • Partnership request
      • Speaker request
      See all offices