Skip to main content
HomeR

Forecasting Product Demand in R

Learn how to identify important drivers of demand, look at seasonal effects, and predict demand for a hierarchy of products from a real world example.

Start Course for Free
4 hours13 videos50 exercises9,026 learnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies


Course Description

Accurately predicting demand for products allows a company to stay ahead of the market. By knowing what things shape demand, you can drive behaviors around your products better. This course unlocks the process of predicting product demand through the use of R. You will learn how to identify important drivers of demand, look at seasonal effects, and predict demand for a hierarchy of products from a real world example. By the end of the course you will be able to predict demand for multiple products across a region of a state in the US. Then you will roll up these predictions across many different regions of the same state to form a complete hierarchical forecasting system.
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.
DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Forecasting Demand With Time Series

    Free

    When it comes to forecasting, time series modeling is a great place to start! You need to forecast out the future values of sales demand and a good baseline approach would be ARIMA models. In this chapter you'll learn how to quickly implement ARIMA models and get good initial forecasts for future product demand.

    Play Chapter Now
    Loading data into xts object
    50 xp
    Importing data
    100 xp
    Plotting / visualizing data
    100 xp
    ARIMA Time Series 101
    50 xp
    auto.arima() function
    100 xp
    Interpret auto.arima
    50 xp
    Forecasting and Evaluating
    50 xp
    Forecast function
    100 xp
    Calculating MAPE and MAE
    100 xp
    Visualizing Forecast
    100 xp
    Confidence Intervals for Forecast
    100 xp
  2. 2

    Components of Demand

    Economic theory has a lot to say about predicting values of demand. Obviously, external factors like price, seasonality, and timing of promotions will drive some aspects of product demand. In this chapter you'll learn about the basics around price elasticity models and how to incorporate seasonality and promotion timing factors into our product demand forecasts.

    Play Chapter Now
  3. 3

    Blending Regression With Time Series

    Time series models and pricing regressions don't have to be thought of as separate approaches to product demand forecasting. They can be combined! In this chapter you'll learn about two ways of "combining" the information gained in both modeling approaches - transfer functions and forecast ensembling.

    Play Chapter Now
  4. 4

    Hierarchical Forecasting

    Everything up until this point deals with making individual models for forecasting product demand. However, we haven't taken advantage of the fact that all of these products form a product hierarchy of sales. Products make up regions and regions make up states. How can we ensure that our forecasts reconcile correctly up and down the hierarchy? In this chapter you'll learn about hierarchical forecasting and how to use it to your advantage in forecasting product demand.

    Play Chapter Now
For Business

Training 2 or more people?

Get your team access to the full DataCamp platform, including all the features.

datasets

Beverage producer sales

collaborators

Collaborator's avatar
Yashas Roy
Aric LaBarr HeadshotAric LaBarr

Director and Senior Scientist at Elder Research

See More

What do other learners have to say?

FAQs

Join over 15 million learners and start Forecasting Product Demand in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.