5.2 Some simple forecasting methods | Forecasting: Principles and Practice (3rd ed) (2024)

5.2 Some simple forecasting methods

Some forecasting methods are extremely simple and surprisingly effective. We will use four simple forecasting methods as benchmarks throughout this book. To illustrate them, we will use quarterly Australian clay brick production between 1970 and 2004.

bricks <- aus_production |> filter_index("1970 Q1" ~ "2004 Q4") |> select(Bricks)

The filter_index() function is a convenient shorthand for extracting a section of a time series.

Mean method

Here, the forecasts of all future values are equal to the average (or “mean”) of the historical data. If we let the historical data be denoted by \(y_{1},\dots,y_{T}\), then we can write the forecasts as\[ \hat{y}_{T+h|T} = \bar{y} = (y_{1}+\dots+y_{T})/T.\]The notation \(\hat{y}_{T+h|T}\) is a short-hand for the estimate of \(y_{T+h}\) based on the data \(y_1,\dots,y_T\).

bricks |> model(MEAN(Bricks))

Naïve method

For naïve forecasts, we simply set all forecasts to be the value of the last observation. That is,\[ \hat{y}_{T+h|T} = y_{T}.\]This method works remarkably well for many economic and financial time series.

bricks |> model(NAIVE(Bricks))

5.2 Some simple forecasting methods | Forecasting: PrinciplesandPractice (3rded) (2)

Figure 5.4: Naïve forecasts applied to clay brick production in Australia.

Because a naïve forecast is optimal when data follow a random walk (see Section 9.1), these are also called random walk forecasts and the RW() function can be used instead of NAIVE.

Seasonal naïve method

A similar method is useful for highly seasonal data. In this case, we set each forecast to be equal to the last observed value from the same season (e.g., the same month of the previous year). Formally, the forecast for time \(T+h\) is written as\[ \hat{y}_{T+h|T} = y_{T+h-m(k+1)},\]where \(m=\) the seasonal period, and \(k\) is the integer part of \((h-1)/m\) (i.e., the number of complete years in the forecast period prior to time \(T+h\)). This looks more complicated than it really is. For example, with monthly data, the forecast for all future February values is equal to the last observed February value. With quarterly data, the forecast of all future Q2 values is equal to the last observed Q2 value (where Q2 means the second quarter). Similar rules apply for other months and quarters, and for other seasonal periods.

bricks |> model(SNAIVE(Bricks ~ lag("year")))

The lag() function is optional here as bricks is quarterly data and so a seasonal naïve method will need a one-year lag. However, for some time series there is more than one seasonal period, and then the required lag must be specified.

5.2 Some simple forecasting methods | Forecasting: PrinciplesandPractice (3rded) (3)

Figure 5.5: Seasonal naïve forecasts applied to clay brick production in Australia.

Drift method

A variation on the naïve method is to allow the forecasts to increase or decrease over time, where the amount of change over time (called the drift) is set to be the average change seen in the historical data. Thus the forecast for time \(T+h\) is given by\[ \hat{y}_{T+h|T} = y_{T} + \frac{h}{T-1}\sum_{t=2}^T (y_{t}-y_{t-1}) = y_{T} + h \left( \frac{y_{T} -y_{1}}{T-1}\right).\]This is equivalent to drawing a line between the first and last observations, and extrapolating it into the future.

bricks |> model(RW(Bricks ~ drift()))

5.2 Some simple forecasting methods | Forecasting: PrinciplesandPractice (3rded) (4)

Figure 5.6: Drift forecasts applied to clay brick production in Australia.

Example: Australian quarterly beer production

Figure 5.7 shows the first three methods applied to Australian quarterly beer production from 1992 to 2006, with the forecasts compared against actual values in the next 3.5 years.

# Set training data from 1992 to 2006train <- aus_production |> filter_index("1992 Q1" ~ "2006 Q4")# Fit the modelsbeer_fit <- train |> model( Mean = MEAN(Beer), `Naïve` = NAIVE(Beer), `Seasonal naïve` = SNAIVE(Beer) )# Generate forecasts for 14 quartersbeer_fc <- beer_fit |> forecast(h = 14)# Plot forecasts against actual valuesbeer_fc |> autoplot(train, level = NULL) + autolayer( filter_index(aus_production, "2007 Q1" ~ .), colour = "black" ) + labs( y = "Megalitres", title = "Forecasts for quarterly beer production" ) + guides(colour = guide_legend(title = "Forecast"))

5.2 Some simple forecasting methods | Forecasting: PrinciplesandPractice (3rded) (5)

Figure 5.7: Forecasts of Australian quarterly beer production.

In this case, only the seasonal naïve forecasts are close to the observed values from 2007 onwards.

Example: Google’s daily closing stock price

In Figure 5.8, the non-seasonal methods are applied to Google’s daily closing stock price in 2015, and used to forecast one month ahead. Because stock prices are not observed every day, we first set up a new time index based on the trading days rather than calendar days.

# Re-index based on trading daysgoogle_stock <- gafa_stock |> filter(Symbol == "GOOG", year(Date) >= 2015) |> mutate(day = row_number()) |> update_tsibble(index = day, regular = TRUE)# Filter the year of interestgoogle_2015 <- google_stock |> filter(year(Date) == 2015)# Fit the modelsgoogle_fit <- google_2015 |> model( Mean = MEAN(Close), `Naïve` = NAIVE(Close), Drift = NAIVE(Close ~ drift()) )# Produce forecasts for the trading days in January 2016google_jan_2016 <- google_stock |> filter(yearmonth(Date) == yearmonth("2016 Jan"))google_fc <- google_fit |> forecast(new_data = google_jan_2016)# Plot the forecastsgoogle_fc |> autoplot(google_2015, level = NULL) + autolayer(google_jan_2016, Close, colour = "black") + labs(y = "$US", title = "Google daily closing stock prices", subtitle = "(Jan 2015 - Jan 2016)") + guides(colour = guide_legend(title = "Forecast"))

5.2 Some simple forecasting methods | Forecasting: PrinciplesandPractice (3rded) (6)

Figure 5.8: Forecasts based on Google’s daily closing stock price in 2015.

Sometimes one of these simple methods will be the best forecasting method available; but in many cases, these methods will serve as benchmarks rather than the method of choice. That is, any forecasting methods we develop will be compared to these simple methods to ensure that the new method is better than these simple alternatives. If not, the new method is not worth considering.

5.2 Some simple forecasting methods | Forecasting: Principles and Practice (3rd ed) (2024)

FAQs

What is the simplest forecasting method? ›

Naïve is one of the simplest forecasting methods. According to it, the one-step-ahead forecast is equal to the most recent actual value: ^yt=yt−1.

What are the 4 principles of forecasting? ›

The general principles are to use methods that are (1) structured, (2) quantitative, (3) causal, (4) and simple.

Which one of the following is the simple and easiest method of forecasting? ›

1. Straight-line Method. The straight-line method is one of the simplest and easy-to-follow forecasting methods.

How to calculate naive approach? ›

For naïve forecasts, we simply set all forecasts to be the value of the last observation. That is, ^yT+h|T=yT. y ^ T + h | T = y T . This method works remarkably well for many economic and financial time series.

What is simple 3 way forecast? ›

A three-way forecast, also known as the 3 financial statements is a financial model combining three key reports into one consolidated forecast. It links your Profit & Loss (income statement), balance sheet and cashflow projections together so you can forecast your future cash position and financial health.

What are the 2 main methods of forecasting? ›

Most businesses aim to predict future events so they can set goals and establish plans. Quantitative and qualitative forecasting are two major methods organizations use to develop predictions. Understanding how these two types of forecasting vary can help you decide when to use each one to develop reliable projections.

What are the five 5 steps of forecasting? ›

  • Step 1: Problem definition.
  • Step 2: Gathering information.
  • Step 3: Preliminary exploratory analysis.
  • Step 4: Choosing and fitting models.
  • Step 5: Using and evaluating a forecasting model.

What are the four 4 main components in a forecast? ›

When setting up a forecasting process, you will have to set it across four dimensions: granularity, temporality, metrics, and process (I call this the 4-Dimensions Forecasting Framework). We will discuss these dimensions one by one and set up our demand forecasting process based on the decisions you need to make.

What are the 3 most important components of forecasting? ›

List the elements of a good forecast. -The forecast should be timely. -The forecast should be accurate. -The forecast should be reliable.

What is the simple average method for forecasting? ›

In simple averages, the next period's forecast is the average of all previous actual values. In this case, the underlying assumption is that all history has a bearing on the most recent events.

What is the simple formula for forecasting? ›

A sales forecast formula is a math equation you use to predict how much money your customers will spend in the future. How do you calculate it? Simply multiply the number of customers you expect to do business with next month (or quarter or year) by how much money they'll spend on your products and services.

Which is the most accurate forecasting method and why? ›

#1 Delphi method

The Delphi method is a type of forecasting model that involves a small group of relevant experts who express their judgment and opinion on a given problem or situation. The expert opinions are then combined with market orientation to come up with results and develop an accurate forecast.

What are the four types of forecasting? ›

Four common types of forecasting models
  • Time series model.
  • Econometric model.
  • Judgmental forecasting model.
  • The Delphi method.
Jun 24, 2022

What assumption is made about forecasting methods? ›

One of the most common assumptions that impact forecasting accuracy is relying too much on historical trends. While past performance can provide valuable insights, it may not account for changes in market conditions, customer behavior, or competitive dynamics.

What is the naïve forecasting method and give an example? ›

Naïve forecasting is one of the simplest demand forecasting methods often used by sales and finance departments. It uses the actual observed sales from the last period as the forecast for the next period, without considering any predictions or factor adjustments. Though simple, it can work remarkably well for business.

What is the simple average forecasting technique? ›

Average method

Here, the forecasts of all future values are equal to the average (or “mean”) of the historical data. If we let the historical data be denoted by y1,…,yT y 1 , … , y T , then we can write the forecasts as ^yT+h|T=¯y=(y1+⋯+yT)/T.

What is the simplest method of forecasting demand and supply? ›

Trend projection

Trend projection uses your past sales data to project your future sales. It is the simplest and most straightforward demand forecasting method. It's important to adjust future projections to account for historical anomalies.

What is the most reliable forecasting method? ›

Typically, a causal model is continually revised as more knowledge about the system becomes available. Again, see the chart for a rundown on the most common types of causal techniques. As the chart shows, causal models are by far the best for predicting turning points and preparing long-range forecasts.

References

Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 6513

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.