CHAPTER SIX

Case #11: FORECASTING THE FEDERAL BUDGET DEFICIT

USING TIME-SERIES DECOMPOSITION

Goal: This case introduces time series decomposition in the context of forecasting the federal budget deficit for 1997, a time of transition from deficit to surplus in the United States. Specifically, this case introduces

Problem Spreadsheet

The spreadsheet for this problem is CH6_Case1.xls. It contains the following data:

Variable

Data Range

BUDGET

1990M1-1996M12

The series BUDGET is the non-seasonally adjusted monthly federal budget surplus (deficit). The series is the "official" federal budget numbers from the Congressional Budget Office defined on a current account basis.

(The federal government does not officially maintain a capital account!)

Examining Data for Stationarity

To get an idea of the behavior of the monthly deficit data over the historical period (1990M1-1996M12) we generated a time-series plot of the data using Excel. In addition, we generated autocorrelation statistics on BUDGET for a 12-month lag structure using the Analyze button in FORECASTXTM.

Question #1: Viewing the time-series plot and correlogram of the data, what behavior characterizes the data? Test for seasonality at various lags.

ANSWER:

Deseasonalizing Data and the Centered Moving Average Trend

Using FORECASTXTM, one can easily obtain estimates of the time-series components of BUDGET by selecting Decomposition in the Forecasting Technique box. Click Multiplicative and select Linear Regression as the forecast method for decomposed data. From the reports we are able to extract the following components: centered moving average, centered moving average trend, seasonal factors, seasonal indices, and cycle factors, as well as forecasts of BUDGET.

Time series decomposition requires that we must first smooth away any seasonal and irregular variation, which is accomplished by calculating a centered moving average (CMA) of the BUDGET series. This smoothed (deseasonalized) series is then used to generate linear trend forecasts called the centered-moving-average trend (CMAT).

Using Excel we plotted the original, centered moving-average, and centered-moving-average trend series as shown below. In addition, we generated a correlogram for the CMA series.

Question #2: Based upon examination of the time-series plot of BUDGET, CMA, and CMAT, contrast and compare the three series. Test for statistically significant seasonality in the CMA series using the estimated correlogram.

ANSWER:

Extracting the Seasonal Component

The next step in the decomposition model is to extract the seasonal component from the data with the result being the creation of 12 seasonal index numbers to track seasonal effects into the forecast horizon. A plot of seasonal factors (calculated as the ratio of BUDGET to CMA for that period) generated by FORECASTXTM is shown below.

Based upon these estimated factors, FORECASTXTM generated the following seasonal indices:

Seasonal

Date

Indices

January

-0.84

February

2.59

March

2.85

April

-2.55

May

2.83

June

-1.06

July

1.77

August

1.93

September

-0.41

October

2.05

November

2.42

December

0.43

Note: What is the sum of the seasonal indices?

The seasonal indices used to forecast BUDGET into 1997 are plotted below.

Question #3: Based upon examination of the 12 seasonal index numbers, are deficits seasonal? Explain.

ANSWER:

Extracting the Cycle Factors

A major benefit of time-series decomposition is the ability to analyze and forecast data with a cyclical component. Since both government revenues and spending depend on the state of the economy we expect deficits to be cyclical -- deepening in recession relative to trend.

Using the Decomposition forecasting model, FORECASTXTM calculates a series of cycle factors plotted in the following graph.

Question #4: How are cycle factors calculated? Describe the behavior of these factors over the sample period.

ANSWER:

All Together Now: Generating the Forecast Numbers

Finally, to create the forecast numbers for the forecast period, we simply recombine the forecasted time-series components. Forecasts for 1997 using FORECASTXTM are reported below.

Forecast -- Decomposition Selected

 

 

Forecast

 

Date

Monthly

Quarterly

Annual

Jan-1997

14.66

Feb-1997

-45.10

Mar-1997

-49.68

-80.12

Apr-1997

44.57

May-1997

-49.58

Jun-1997

18.62

13.61

Jul-1997

-31.06

Aug-1997

-34.01

Sep-1997

7.30

-57.77

Oct-1997

-36.22

Nov-1997

-42.90

Dec-1997

-7.71

-86.84

-211.11

Avg

-17.59

-52.78

-211.11

Max

44.57

13.61

-211.11

Min

-49.68

-86.84

-211.11

The following graph plots forecasts for 1997 using time-series decomposition.

Question #5: What is your forecast for the federal budget deficit for 1997? Assess the accuracy of your forecast given the following actual budget values for the first four months of 1997: 13.36, -44.01, -21.32, 93.9, all in billions of dollars. Over the first four months of 1997, how accurate is our forecasting model?

ANSWER:

The following Table summarizes calculation of RMSE for the first-four months of 1997.

 

Actual BUDGET

Forecast BUDGET

Squared Error

1997M1

13.36

14.66

1.69

1997M2

-44.01

-45.10

1.19

1997M3

-21.32

-49.68

804.29

1997M4

93.93

44.57

2436.41

From the Table above we calculate RMSE to be 28.48, i.e., the average error expected each month is approximately 28 billion dollars. Accordingly, in any month this error can easily change a surplus to a deficit and vice-versa, showing how inaccurate our forecasts really are!

The following out-of-sample accuracy statistics were estimated for the holdout period 1986M1-1986M12 for the time series decomposition method.

Accuracy Measures

 

Value

AIC

666.56

BIC

671.42

Mean Absolute Percentage Error (MAPE)

63.71%

Sum Squared Error (SSE)

13,102.76

R-Square

81.40%

Adjusted R-Square

81.17%

Root Mean Square Error

12.49

We can use these holdback accuracy statistics to contrast and compare other potential forecasting models.

A Benchmark: ProcastTM

Let’s see how the Expert Selection feature of FORECASTXTM handles the problem of forecasting the federal budget using the ProcastTM option. Simply select Procast in the Forecast Method menu and proceed to generate forecasts using 1986 as a holdback period and 1997 as the forecast horizon.

The method selected by ProcastTM is Holt-Winters Smoothing. Forecasts for 1997 and out-of-sample accuracy statistics are reported in the tables below.

Forecast -- Holt-Winters Selected

 

 

Forecast

 

Date

Monthly

Quarterly

Annual

Jan-1997

20.13

Feb-1997

-33.98

Mar-1997

-38.22

-52.06

Apr-1997

46.41

May-1997

-36.77

Jun-1997

20.82

30.46

Jul-1997

-23.02

Aug-1997

-27.89

Sep-1997

20.73

-30.18

Oct-1997

-29.24

Nov-1997

-32.12

Dec-1997

5.67

-55.69

-107.48

Avg

-8.96

-26.87

-107.48

Max

46.41

30.46

-107.48

Min

-38.22

-55.69

-107.48

Note the Holt-Winters forecast of the deficit for 1997 is -107 billion, about half of that of time series decomposition.

The following out-of-sample accuracy statistics were estimated for the holdout period 1986M1-1986M12 for the Holt-Winters Smoothing method.

Accuracy Measures

 

Value

AIC

661.88

BIC

669.17

Mean Absolute Percentage Error (MAPE)

51.13%

Sum Squared Error (SSE)

12,100.79

R-Square

82.82%

Adjusted R-Square

82.39%

Root Mean Square Error

12.00

Question #6: Comment on the method selected by FORECASTXTM. What does this suggest about the time-series decomposition method applied to forecasting the federal budget surplus/deficit?

ANSWER:

 

 

Student Practice Question

Question #1: Redo the case using more recent data of the federal budget surplus (deficit), including the recent surpluses in 2001-2002. Contrast and compare your results with those of this case. Explain!