Producing monthly estimates of Canadian expenditure-based GDP

Author

Philip Smith


Introduction

Estimates of expenditure-based GDP are released quarterly by Statistics Canada as part of the national accounts. These estimates are a vital report on the state of aggregate demand by each of the five institutional sectors: households, non-profit institutions serving households (NPISH), businesses, governments and non-residents. The quarterly estimates are released two months after the reference quarter and it would be beneficial if they could be published in a more timely manner. One way to address this is to interpolate and extrapolate estimates on a monthly basis, making use of several closely related monthly time series. This note describes the methodology and results of an project of this kind.

Quarterly estimates of the components of expenditure-based GDP at current prices

The quarterly estimates of expenditure-based GDP are organized in four major components:

  • Final consumption expenditure by households, NPISH1 and governments. Under the national accounts definitions and concepts, the business sector and the non-resident sector do not engage in final consumption expenditure.
  • Gross fixed capital formation by businesses, NPISH and governments. Under the national accounts definitions and concepts, the household sector and the non-resident sector do not engage in gross fixed capital formation.
  • Additions to and withdrawals from inventory by businesses, NPISH and governments. As with gross fixed capital formation, under the national accounts definitions and concepts the household sector and the non-resident sector do not engage in inventory accumulation or draw-downs.
  • Purchases of Canadian-produced goods and services by non-residents (exports) less purchases of goods and services by domestic institutional sectors from non-residents (imports).

In this project, the specific components of expenditure-based GDP that are listed in Table 1 are interpolated and extrapolated to produce monthly estimates that are consistent with the published quarterly estimates. There are nineteen components listed and together they add up to GDP. Some of these are interpolated and extrapolated using closely related monthly time series while others are based on autoregressive-integrated-moving-average (ARIMA) models. The table shows the relative size of each component and the modelling approach chosen for each reflects, in part, that size. Most effort is focussed on the larger components.

Table 1
Modelled components of gross domestic product, expenditure-based
Shares of GDP in 2022 Q3
% share of GDP
Gross domestic product at market prices 100.0
Household final consumption expenditure 52.8
NPISH final consumption expenditure 1.4
Federal government final consumption expenditure 3.3
Non-federal government final consumption expenditure 17.5
Business residential construction investment expenditure 6.8
Business residential transfer cost investment expenditure 1.4
Business non-residential construction investment expenditure 5.7
Business machinery and equipment investment expenditure 3.2
Business intellectual property investment expenditure 1.9
NPISH investment expenditure 0.1
Government investment expenditure 3.7
Business non-farm inventory investment expenditure 2.2
Business farm inventory investment expenditure 0.5
Non-business inventory investment expenditure -0.0
Exports of goods 28.0
Exports of services 5.8
Imports of goods 27.8
Imports of services 6.6
Statistical discrepancy 0.0

Final consumption expenditure

Final consumption expenditure is by far the largest component of GDP, accounting for about three-quarters of it. Within this aggregate, about 70% is attributable to households, 2% to NPISH and the remaining 28% to governments - federal, provincial, territorial, municipal and aboriginal combined.

A monthly interpolation and extrapolation model is already available for the household sector2 and will not be further discussed in this paper. This author knows of no appropriate monthly related series for NPISH final consumption expenditure, but the quarterly series in the national accounts is fairly stable so the corresponding interpolated monthly series can be estimated reasonably well without any related series using the Denton-Dagum-Cholette (Denton 1971) (Dagum and Cholette 2006) method. Note that when this approach is used for interpolation, for any national accounts component, the resulting monthly series will look comparatively smooth, since it contains no specific information about the month-to-month variations. It can be extrapolated forward with an ARIMA model, although this will reflect the smooth monthly time series from which it is derived. The remaining challenge is the government final expenditure component. The main element, by far, within government final consumption expenditures, both federal and provincial-territorial-municipal-aboriginal, is labour income paid to civil servants. Government payroll statistics are available on a monthly basis in the survey of employment, payrolls and hours (table 14-10-0221-01), so this third component of final consumption expenditure can be readily interpolated and extrapolated, although this assumes the non-labour purchases of goods and services by governments - about a fifth of the total - are roughly proportional to the labour component. The model can perhaps be improved in future by finding and adopting additional monthly data sources such as, in the federal government case, Finance Canada’s Fiscal Monitor.

Gross fixed capital formation

Gross fixed capital formation, or more simply “investment”, presently accounts for about a quarter of GDP, although its share can vary considerably over the business cycle. It has three main components: (i) construction, both residential and non-residential, (ii) machinery and equipment purchases and (iii) intellectual property products.

For construction investment, Statistics Canada releases monthly estimates of building construction spending, both residential and non-residential (table 34-10-0175-01). These data are well suited for interpolating and extrapolating the corresponding quarterly national accounts components. However, within the national accounts residential construction investment concept there is also the “transfer costs” sub-component, including real estate commissions, lawyers’ fees and other such costs which are not covered in the monthly building construction time series. Transfer costs can be interpolated and extrapolated using the monthly Canadian Real Estate Association’s real estate sales statistics, since real estate commissions, the largest part of transfer costs, are roughly proportional to real estate sales. However, this is a simplification that could be addressed again in future if additional monthly indicators can be found.

Business investment in machinery and equipment is essentially spending on domestically-produced and imported products of this kind. This quarterly spending can be interpolated and extrapolated using domestic manufacturing shipments of such products, obtained from the monthly survey of manufacturing (16-10-0047-01), and imports of these goods as reported in Statistics Canada’s monthly international trade statistics (12-10-0119-01).

Investment spending on intellectual property products is the smallest of the gross fixed capital formation components, accounting for about 10% of total business investment outlays. No suitable monthly time series are readily available for use in interpolating and extrapolating this quarterly national accounts time series insofar as the author is aware, so the aforementioned Denton-Dagum-Cholette method is used for interpolation and an ARIMA model for extrapolation. Likewise, this approach is also adopted for investment spending by governments and the NPISH sector.

Additions to and withdrawals from inventory

Changes in inventories are a volatile component of GDP. The non-farm business sector component, by far the most important, is interpolated and extrapolated using data on changes in inventories reported by the monthly survey of manufacturing (16-10-0047-01) and the wholesale trade survey (20-10-0076-01). Changes in farm, government and NPISH inventories are dealt with via the Denton-Dagum-Cholette and ARIMA methods, although an indicator-based approach for the change in farm inventories might also be investigated in future.

International trade in goods and services

Exports and imports of goods and services are straightforward in this project because Statistics Canada publishes the national-accounts-concept estimates monthly. Statistics Canada tables 12-10-0119-01 and 12-10-0144-01 provide the monthly indicators used to interpolate and extrapolate in this case.

Statistical discrepancy

The quarterly national accounts estimates of GDP include half of the discrepancy between the initial income-based and expenditure-based estimates of GDP, in order to balance the two accounts. The discrepancy should be zero in principle, but it is not in practice due to measurement errors. The historical time series for the discrepancy shows it to be small and volatile, fluctuating between positive and negative. There is no suitable related monthly series with which to interpolate and extrapolate the discrepancy, so once again the Denton-Dagum-Cholette method is used for interpolation and an ARIMA model for extrapolation.

Model results

Table 2 summarizes the results for the statistical models linking the quarterly components of GDP at current prices to their corresponding monthly indicators. They are log-linear models with an autoregressive error term.

Table 2
GDP expenditure-based at current prices: model results
Estimation period 2012 Q1 to 2022 Q3, seasonally adjusted
1
ARSQ SIGMA RHO MEAN COV X1 X2
Federal government final consumption expenditure 0.943 1,867 0.578 68,759 2.715 SEPH E*AWE for federal
Non-federal governments final consumption expenditure 0.617 2,289 0.997 386,640 0.592 SEPH E*AWE for non-federal
New construction and renovation 0.803 1,924 0.986 131,566 1.462 Investment in building construction (34-10-0175-01)
Ownership transfer costs 0.863 4,968 0.455 36,445 13.631 CREA resale value total
Non-residential structures 0.300 3,613 0.963 132,648 2.724 Investment in building construction (34-10-0175-01)
Exports of goods 1.000 2,504 0.000 557,832 0.449 Canadian international merchandise trade
Exports of services 1.000 85 0.914 122,601 0.069 Canadian international trade in services
Imports of goods 1.000 375 0.703 571,171 0.066 Canadian international merchandise trade
Imports of services 1.000 283 0.000 141,510 0.200 Canadian international trade in services
Machinery and equipment 0.596 2,413 0.870 77,864 3.099 Manufacturing sales Canadian international merchandise trade M&E imports
Business investment in non-farm inventories 0.086 8,968 0.867 6,891 130.147 Manufacturing inventory change Wholesale inventory change
@PhilSmith26
1 ARSQ is the adjusted R-squared. SIGMA is the estimated standard deviation of the error term. RHO is the estimated autoregressive error parameter. MEAN is the average value of the dependent variable over the sample period. COV is the coefficient of variation, equal to SIGMA divided by MEAN times 100. X1 and X2 is/are the source(s) for the explanatory variable(s). RTS stands for retail trade survey, CPI for consumer price index survey, GDP for monthly real gross domestic product estimates, FSDP for the food services and drinking places survey, and ITERC for the international travellers entering or returning to Canada survey. Estimates derived using time disaggregation methods credited to G.C. Chow and A.-L. Lin, and data from Statistics Canada tables 36-10-0107-01, 20-10-0008-01, 18-10-0004-01, 36-10-0434-01, 21-10-0019-01 and 24-10-0054-01. 2022-12-25 15:29:01

The coefficients of variation indicate that the models for non-federal governments’ final consumption expenditure, construction and especially international trade work quite well. Those for federal government consumption expenditure, ownership transfer costs and machinery and equipment investment have higher coefficients of variation and must be considered less reliable. The model for the change in non-farm business inventories, with an adjusted R-squared of just 0.085 and a standard deviation of almost $9 billion (seasonally adjusted at annual rates) is perhaps as good as might be expected. There may be scope to improve these model results, but it will depend mostly on finding better or additional related indicators.

Quarterly estimates of the components of expenditure-based GDP at constant 2012 prices

The model adopted here to estimate monthly expenditure-based GDP also includes estimates of GDP and its components at constant 2012 prices, together with the implicit Paasche price indexes. It would be preferable, in some ways, to produce the volume estimates using the chained Fisher indexation method, but that would not work well in this context because the estimates would not be additive.

Three different approaches are taken to interpolate and extrapolate the quarterly volume estimates. First, some of the monthly volume estimates are calculated directly using related volume-type monthly series, with the associated price indexes calculated indirectly as the ratio of the estimates at current prices to those at constant prices. These results are shown in Table 2 below. Second, in some cases where suitable monthly related series are unavailable the quarterly price indexes are interpolated and extrapolated using the Denton-Dagum-Cholette method and ARIMA models and the monthly volume estimates are then calculated indirectly by deflation. GDP volume components done this way include final consumption spending of NPISH units, business residential transfer cost expenditures, business investment in intellectual property, and investment expenditure by NPISH and government units. Finally, in some cases the quarterly volume estimates are interpolated and extrapolated directly via the Denton-Dagum-Cholette method and ARIMA models, with the monthly price indexes calculated indirectly. Cases done this way include the change in farm and in non-business inventories, exports and imports of services and the statistical discrepancy.

Table 3 summarizes the results for the statistical models linking the quarterly components of GDP at constant 2012 prices to their corresponding monthly related indicators. They are log-linear models with an autoregressive error term.

Table 3
GDP expenditure-based at constant 2012 prices: model results
Estimation period 2012 Q1 to 2022 Q3, seasonally adjusted
1
ARSQ SIGMA RHO MEAN COV X1 X2
Federal government final consumption expenditure 0.776 1,523 0.690 61,941 2.459 SEPH E for federal
Non-federal governments final consumption expenditure 0.453 2,505 0.991 348,584 0.719 SEPH E for non-federal
New construction and renovation 0.533 1,657 0.951 110,577 1.498 Investment in building construction in constant prices (34-10-0175-01)
Non-residential structures 0.239 3,043 0.960 120,858 2.518 Investment in building construction at constant prices (34-10-0175-01)
Machinery and equipment 0.689 1,802 0.936 71,040 2.537 Manufacturing sales Canadian international merchandise trade M&E imports
Business investment in non-farm inventories 0.140 7,537 0.832 7,691 97.990 Manufacturing inventory change Wholesale inventory change
Exports of goods 0.972 2,645 0.954 521,351 0.507 Canadian international merchandise trade at constant prices (12-10-0124-01)
Imports of goods 0.993 1,576 0.891 516,752 0.305 Canadian international merchandise trade at constant prices (12-10-0124-01)
@PhilSmith26
1 ARSQ is the adjusted R-squared. SIGMA is the estimated standard deviation of the error term. RHO is the estimated autoregressive error parameter. MEAN is the average value of the dependent variable over the sample period. COV is the coefficient of variation, equal to SIGMA divided by MEAN times 100. X1 and X2 is/are the source(s) for the explanatory variable(s). RTS stands for retail trade survey, CPI for consumer price index survey, GDP for monthly real gross domestic product estimates, FSDP for the food services and drinking places survey, and ITERC for the international travellers entering or returning to Canada survey. Estimates derived using time disaggregation methods credited to G.C. Chow and A.-L. Lin, and data from Statistics Canada tables 36-10-0107-01, 20-10-0008-01, 18-10-0004-01, 36-10-0434-01, 21-10-0019-01 and 24-10-0054-01. 2022-12-25 15:29:01

The results look fairly good, although there is certainly room for improvement. The model for the volume of federal government final consumption expenditure has a coefficient of variation much larger (2.5%) than its counterpart for non-federal expenditure (0.7%), possibly since the relative importance of non-wage spending on goods and services is greater federally. As noted, perhaps data from Finance Canada’s Fiscal Monitor could be used to improve this model. The models for interpolating and extrapolating business investment and exports and imports of goods seem fine. The volume of non-farm business inventory change also seems tolerably well modelled, although the volatility of this component is inevitably challenging.

Chart 1 compares the monthly estimates of income-based GDP at constant prices to real industry based GDP, the latter published by Statistics Canada in table v65201210. To make the data comparable, both are scaled to equal 100 in January 2012. The trends and cycles of the two series are essentially the same, but the month-to-month changes are quite different. This is to be expected. Even if, hypothetically, there were no data inaccuracies in the measurement of monthly real industry-based GDP and quarterly expenditure-based GDP, and even if, again hypothetically, the monthly interpolation of the latter was done without error, the two would still be different because the indexation methods vary. A chained Fisher index of real value added by industry, with a Laspeyres tail, inevitably differs from a fixed-weight index of expenditure volume components.

Software

Proceeding as described above to estimate monthly GDP time series using related series was done using the R programming language in the RStudio environment, along with the ‘tempdisagg’ package. The latter is a set of R functions implemented by Christoph Sax and Peter Steiner(Sax and Steiner 2013). It is a very flexible package with a wide range of options for different methods of temporal disaggregation.

The source code for this project is freely available on GitHub.

RStudio’s recently implemented and highly recommended quarto package was used to write and publish this documentation to the Internet.

Conclusions

The project described above yields monthly interpolations and extrapolations of the 19 expenditure-based GDP aggregates in Table 1 that together exhaust GDP. The estimates are all seasonally adjusted at annual rates and they are available at current prices, at constant 2012 prices and as implicit Paasche price indexes. Applying identities, they can be used as well to compute aggregates such as final domestic demand, final consumption expenditure, gross fixed capital formation and the trade balance. The detailed statistical results from this project can be found on the Internet. They are visible there in charts and tables and can be downloaded in spreadsheets.

References

Dagum, Estelle B., and P. A. Cholette. 2006. Benchmarking, Temporal Distribution, and Reconciliation Methods for Time Series. Springer-Verlag, New York.
Denton, F. T. 1971. “Adjustment of Monthly or Quarterly Series to Annual Totals: An Approach Based on Quadratic Minimization.” Journal of the American Statistical Association, 66: 99–102.
Sax, Christoph, and Peter Steiner. 2013. “Temporal Disaggregation of Time Series.” The R Journal 5 (2): 1–87.

Footnotes

  1. Non-profit institutions serving households.↩︎

  2. Methodology note here↩︎