scieee AI-readable full text Open interactive document viewer

Short‐term forecasting of the US unemployment rate

Maas, Benedikt

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Maas, Benedikt Article — Published Version Short‐term forecasting of the US unemployment rate Journal of Forecasting Provided in Cooperation with: John Wiley & Sons Suggested Citation: Maas, Benedikt (2019) : Short‐term forecasting of the US unemployment rate, Journal of Forecasting, ISSN 1099-131X, Wiley, Hoboken, NJ, Vol. 39, Iss. 3, pp. 394-411, https://doi.org/10.1002/for.2630 This Version is available at: https://hdl.handle.net/10419/230128 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. http://creativecommons.org/licenses/by-nc-nd/4.0/ Received: 17 April 2019 Revised: 6 August 2019 Accepted: 28 October 2019 DOI: 10.1002/for.2630 RESEARCH ARTICLE Short-term forecasting of the US unemployment rate Benedikt Maas Department of Economics, University of Hamburg, Hamburg, Germany Correspondence Benedikt Maas, Department of Economics, University of Hamburg, Von-Melle-Park 5, 20146 Hamburg, Germany. Email: [email protected] Abstract This paper aims to assess whether Google search data are useful when predicting the US unemployment rate among other more traditional predictor variables. A weekly Google index is derived from the keyword “unemployment” and is used in diffusion index variants along with the weekly number of initial claims and monthly estimated latent factors. The unemployment rate forecasts are generated using MIDAS regression models that take into account the actual frequencies of the predictor variables. The forecasts are made in real time, and the forecasts of the best forecasting models exceed, for the most part, the root mean squared forecast error of two benchmarks. However, as the forecasting horizon increases, the forecasting performance of the best diffusion index variants decreases over time, which suggests that the forecasting methods proposed in this paper are most useful in the short term. KEYWORDS MIDAS, Google data, forecast comparison, US unemployment 1INTRODUCTION In general, traditional labor statistics are available with at least a 1-month lag. However, a more timely estimate of the unemployment rate is desirable for investors and policymakers, especially in times of economic uncertainty. An accurate prediction of the US unemployment rate has become even more important after the 2008–09 recession, especially since the Federal Reserve announced in December 2012 a shift of its monetary policy to a specific unemployment rate threshold. The so-called “Evans rule” stated that “the Committee decided to keep the target range for the federal funds rate at 0 to 1/4 percent and currently anticipates that this exceptionally low range for the federal funds rate will be appropriate at least as long as the unemployment rate remains above 6-1/2 percent.”1 1For the official statement of the Federal Reserve's Open Market Committee see https://www.federalreserve.gov/newsevents/pressreleases/ monetary20121212a.htm. This paper investigates whether or not the information given in Google searches is useful to predict the US unemployment rate. The idea behind using search engine data is that, if an increase in searches is observed in connection with unemployment, then this could give an early indication of an increasing unemployment rate. The potential predictive power of Google search is used alongside other more traditional predictors. One of these is the number of IC. The IC is widely used in the literature as a predictor variable in unemployment rate forecasts.2The current state of the economy is also considered as a predictor in the forecasts. The state of the economy has a major impact on the unemployment rate: During a recession, an increase in the unemployment rate is expected, whereas, during an upswing and prosperity phase, a decrease in the unemployment rate is expected. To take into account the current 2See, for example, Montgomery, Zarnowitz, Tsay, and Tiao (1998) This is an open access article under the terms of the Creative Commons Attribution-NonCommercial-NoDerivs License, which permits use and distribution in any medium, provided the original work is properly cited, the use is non-commercial and no modifications or adaptations are made. © 2019 The Authors. Journal of Forecasting published by John Wiley & Sons, Ltd. Journal of Forecasting. 2020;39:394–411.wileyonlinelibrary.com/journal/for394 state of the economy, unobserved latent factors are derived from a macroeconomic database by principal components, as suggested in Stock and Watson (2002). These factors are intended to establish a link between the economic situation and the unemployment rate in the forecasting exercise in this paper. Given that the Google and IC data are available on a weekly frequency, this paper uses weekly data to forecast the monthly US unemployment rate with three DI variants after Stock and Watson (2002) based on the MIDAS regression model introduced by Ghysels, Santa-Clara, and Valkanov (2006) and Ghysels, Sinko, and Valkanov (2007). In addition, factor-augmented versions, where the monthly unobserved latent factors and the weekly data are combined, are also estimated. In general, the MIDAS framework allows us to combine variables of mixed frequencies in a regression model. Related studies have used monthly averages of the Google and IC data (D'Amuri & Marcucci, 2017), but—as empirically shown in Smith (2016), who applies the MIDAS approach to forecasting the unemployment rate in the UK—there is no need to adjust frequency to the target variable and thus lose valuable information. As stated generally in Andreou, Ghysels, and Kourtellos (2010), there is no reason to ignore the fact that variables involved in empirical models are generated from processes of mixed frequencies and are used to estimate econometric models based on an aggregation scheme of equal weights, because an equal weighting scheme can lead to information losses and thus to inefficient or biased estimates. The forecasts in this paper are conducted in real time and almost all exceed an autoregressive benchmark for each forecast horizon. However, the results show a mixed picture, in which a combination of predictor variables is most favorable because the best empirical results change from horizon to horizon. Comparing the MIDAS short-term forecasts with the forecasts of D'Amuri and Marcucci (2017), which are based on monthly averages of an alternative Google index, the models presented here obtain a lower RMSFE for the shortest forecast horizons compared to this benchmark. The rest of this paper is organized as follows. Section 2 gives a compact overview of the related literature dealing with the use of Internet data to forecast economic variables. Moreover, it focuses on potential pitfalls when using Internet data and the choice of keyword to obtain the Google index. Section 3 explains the econometric framework. Section 4 describes the data, the forecasting models, and the real-time forecasting design. Section 5 states the empirical results, and Section 6 concludes. 2THE USE OF INTERNET SEARCH DATA IN FORECASTING 2.1 Related literature Internet search data have been used in a number of different research topics. In economics, Choi and Varian (2012) show that Google Trends data can help to forecast near-term values of economic indicators, such as automobile sales, travel destinations, consumer confidence and initial claims for unemployment benefits. Their paper inspired many economists to use Google Trends data to predict a variable that can be linked to the behavior of households. For example, Vosen and Schmidt (2011) forecast consumption of goods, whereas Bangwayo-Skeete and Skeete (2015) and Yang, Pan, Evans, and Lv (2015) use Google data to predict future tourism demand. Wu et al. (2015) predict US housing prices and sales. Using a Markov switching framework, Chen et al. (2015) use Google search data to improve the timeliness of business cycle turning point identification, and they successfully nowcast the peak date within a month that the turning point occurred. In their analysis, they use the three keywords “recession,” “foreclosure help,” and “layoff,” which represent the aggregated economy, the credit market, and the labor market, respectively. Liu, Xu, and Fan (2018) also use Internet search behavior to forecast Chinese GDP. However, because Google is not prevalent in China, the authors use data from its Chinese counterpart: Baidu. Considering inflation expectations, Guzmán (2011) proposes a real-time measure using search queries obtained from Google. She demonstrates that higher frequency measures tend to outperform standard lower frequency measures such as the SPF in tests of accuracy, predictive power and out-of-sample forecasts. Dergiades, Milas, and Panagiotidis (2014) analyze whether Google and social media data influence European financial markets. They find that the data provide significant short-run information for the Greek–German and Irish–German government bond yield differential. Considering the unemployment rate, McLaren and Shanbhogue (2011) analyze the labor market in the UK and compare standard autoregressive (AR) models with those augmented with Internet data, finding that the augmented models outperform the autoregressive benchmarks. Askitas and Zimmermann (2009) demonstrate strong correlations between Google keyword searches and unemployment rates for Germany, and Fondeur and Karamé (2013) find that including Google data improves youth unemployment predictions in France. Vicente, López-Menéndez, and Pérez (2015) investigate the unemployment rate in Spain using autoregressive integrated moving average (ARIMA) models with an included explanatory variable that is derived from the Google search term “job offers.” They find that sig- MAAS 395 nificant forecasting improvements are observed when Google Trends variables are also included. D'Amuri and Marcucci (2017) predict the US unemployment rate by obtaining a GI from the keyword “jobs,” which is then used as an additional regressor in an autoregressive model. They consider the weekly availability of Google Trends data and use only the data from one specific week and the monthly averages in their forecasting models. Additionally, the Google data are aligned with the relevant weeks for the unemployment survey of the BLS, to ensure that both variables capture the same information. Considering this data adjustment, they show that the Google-based forecast models outperform most of the considered competitor models. Smith (2016) uses Google data to forecast the unemployment rate in the UK, where the author uses the keyword “redundancy” to obtain the monthly Google index. Using AR models with an additional explanatory variable, the forecasting performance of the Google index is compared to other competitor models. Two of the competing indicators are variables that are derived from small-scale factor models. The derived factors are created from the first principal component from a static PCA. Additionally, the author uses weekly Google data as a high-frequent predictor in an unrestricted MIDAS regression model. Overall, it is found that the data from Google Trends offer similar and at times better forecasting accuracy within the investigated sample compared to survey-based counterparts. 2.2 Potential pitfalls and keyword selection The use of Internet search data is generally limited and subject to ambiguities: First, younger people are still more likely to go online than older people, and old people are more severely affected by unemployment. Moreover, the motivation and intention to enter a specific keyword in a search engine is rather unclear. It is inconclusive whether users are searching for their own purpose or for other reasons that are not directly related to their personal situation. For example, when entering the keyword “Volkswagen,” is the user searching for a new car of this brand because they plan to buy it in the near future? Or, is the user just searching for general information about the latest news concerning the Volkswagen emissions scandal? Accordingly, the use of Google data as a single predictor variable in a forecasting model should be treated with caution. Furthermore, using Google data as an additional predictor in a forecasting model might appear more robust. Keyword selection is crucial when constructing an indicator from Google Trends. As mentioned in Choi and Varian (2012), the keyword selection should take into account what people would search for if they became unemployed or threatened with unemployment. Therefore, the searches should mainly cover two topics: First, what benefits are available to an unemployed person? And second, where can the unemployed apply for unemployment benefit and where can they find a new job? Another difficulty in choosing a keyword is separating the really unemployed people from those who are looking for a new job but who already have a job. Consequently, in this study the keyword “unemployment” is used to obtain the Google search index. It should be noted that this keyword includes all searches in the Google search engine that contain this specific word. The chosen index also consists of queries such as “declare for unemployment,” “unemployment benefits,” or “unemployment office,” to name a few possibilities. Therefore, the index is based on a wider range of search queries. This keyword fulfills the following condition: People at risk of unemployment can, for example, ask for general information from the employment office about possible unemployment benefits. If these people are actually unemployed, then they may use Google to find how or where to register as unemployed. When using a keyword such as “jobs,” these search intentions are also taken into account, but all persons who are already employed and only looking for another position are also considered. An index that includes these people may not be an appropriate indicator of the evolution of the unemployment rate. 3ECONOMETRIC FRAMEWORK This section describes the econometric framework that will be used in this paper. First, the construction of unobserved latent factors from an unbalanced panel via PCA is described. These monthly factors are used as predictors in the forecast models and are intended to reflect the current state of the US economy. The MIDAS approach for combining low- and high-frequency variables in a regression model is then specified. Given that the Google and IC data are available weekly and the unemployment rate has a monthly frequency, the MIDAS approach can take into account the actual frequency of these higher frequency predictors to predict the low-frequency target variable without loss of information, which would otherwise be the case if we aggregated the higher frequency variables. Then, the combination of the monthly estimated factors as predictors and the MIDAS approach with the weekly predictors is presented. 3.1 Estimation of factors and data irregularities The unobserved latent factors that are used as predictors in the forecasting models are derived by principal compo- MAAS 396 nents from a large set of macroeconomic variables. This dataset contains a number of candidate predictors for the unemployment rate. These factors serve the purpose of dimension reduction and are intended to represent the current state of the economy in the forecast models. As specified in Stock and Watson (2002), let yt+1 be a time series that we wish to forecast and let Xtbe an N-dimensional huge set of macroeconomic candidate predictor variables, as observed in t=1,…,T. It is assumed that (Xt,𝑦 t+1)admit a dynamic factor model representation with  rcommon dynamic factors ft: 𝑦t+1=𝛾(L)𝑦t+𝛽(L)𝑓t+𝜖t+1,(1) and Xit =𝜆i(L)𝑓t+eit,(2) for i=1,…,N,whereet=(e1t,…,eNt)′is the N×1 idiosyncratic disturbance, and 𝜆i(L)and 𝛽(L)are lag polynomials. Stock and Watson (2002) make modifications to Equations (1) and 2; namely, the lag polynomials 𝜆i(L), 𝛽(L),and𝛾(L)are modeled as having finite orders of q,so 𝜆i(L)=∑q 𝑗=0𝜆i𝑗L𝑗and 𝛽(L)=∑q 𝑗=0𝛽𝑗L𝑗.Thefinitelag assumption allows us to rewrite Equations (1) and 2 in static form as 𝑦t+1=𝛾(L)𝑦t+𝛽′Ft+𝜖t+1,(3) and Xt=ΛFt+et,(4) where Ft=(𝑓′ t,…,𝑓′ t−q)is r×1, where r≤(q+1) r, the ith row of Λin Equation (4) is (𝜆i0,…,𝜆 iq),and𝛽= (𝛽0,…,𝛽 q)′. This representation of the dynamic factor model enables the unobserved factors to be estimated by principal components. However, estimating the static factors by principal components requires a balanced panel. When estimating macroeconomic variables in real time, some data series have observations through the current period, whereas for others the most recent observations may only be available for a month or a quarter earlier. Therefore, the underlying dataset is unbalanced and the standard PCA is not applicable. The unbalanced feature of the data is called a “jagged edge” by Giannone, Reichlin, and Small (2008). To cope with this jagged edge structure, Stock and Watson (2002) use the EM algorithm. As explained in McCracken and Ng (2016), the EM algorithm works as follows: Observations that are missing are replaced by the unconditional mean based on the nonmissing values, so that the panel is rebalanced. The unconditional mean is zero because the data are demeaned and standardized with mean zero before. A T×rmatrix of factors F=(𝑓1,…,𝑓 T)′and an N×rmatrix of loadings 𝜆=(𝜆1,…,𝜆 N)are estimated from this balanced panel using the normalization that 𝜆′𝜆∕N=Ir. The missing value for series iat time tis updated from zero to  𝜆i ′ 𝑓t.This value is multiplied by the standard deviation of the series and the mean is readded. The resulting value is treated as an observation for series iat time t, and the mean and variance of the complete sample are recalculated. The data are demeaned and standardized again, and the factors are reestimated from this updated panel. The iteration stops when the factor estimates do not change.3 3.2 MIDAS estimation 3.2.1 MIDAS setup Because the monthly unemployment rate, the weekly Google Trends data, and the weekly number of initial claims are collected with different frequencies, the MIDAS regression proposed by Ghysels et al. (2006), Ghysels et al. (2007) is used. This represents a parsimonious class of time series models that allow us to capture the left-hand and right-hand variables of time series regressions with different frequencies. As in Ghysels et al. (2007) and Andreou, Ghysels, and Kourtellos (2011), we consider two variables to illustrate the MIDAS model: Suppose that a variable yt+1 is observed once in a period, while data on a predictor variable x(m) t are observed mtimes in between the same period. For example, yt+1 is the monthly unemployment rate, whereas x(m) tis an adequate weekly predictor variable. Assuming that the number of weekly observations during a month is constant, then m=4. To generate direct multistep-ahead forecasts, lagged values of the predictor variable x(m) tare used to forecast yt+1. The lagged values of x(m) tare denoted by x(m) t−𝑗∕m,where the superscript on x(m) t−𝑗∕mdenotes the higher sampling frequency of x(m) tto yt+1. When h≥1 denotes the h-step-ahead forecast horizon, the general direct forecast MIDAS model, including lagged values of the higher frequency predictor variable, can be written as 𝑦𝜏+h=𝛽0+B(L1∕m;𝜃)x(m) 𝜏+𝜖𝜏+h,(5) with 𝜏=1,…,t−h,whereB(L1∕m;𝜃)= ∑pk−1 k=0b(k;𝜃)Lk∕m,L1/mis a lag operator such that L1∕mx(m) 𝜏=x(m) 𝜏−1∕m,andpkis the maximum lag length of the predictors. The lag coefficients in b(k;𝜃)of the corresponding lag operator Lk/mare parametrized as a function of a small-dimensional vector of parameters 𝜃=(𝜃0,𝜃 1,…,𝜃 p). This term acts as a weighting scheme that reduces the number of parameters to be estimated 3For a detailed description of the use of the EM algorithm in combination with an unbalanced panel and data irregularities, see Stock and Watson (2002). MAAS 397 and leads to a more parsimonious model, instead of estimating a single coefficient for each high-frequency lag. As stated in Pettenuzzo, Timmermann, and Valkanov (2016), the MIDAS model can also be written as 𝑦𝜏+h=𝛽0+𝛽1B1(L1∕m;𝜃1)x(m) 𝜏+𝜖𝜏+h,(6) with 𝜏=1,…,t−h,where𝛽1B1(L1∕m;𝜃1)=B(L1∕m;𝜃). The weights are normalized to sum to unity, so that the parameter 𝛽1captures the overall impact of the lagged values of x(m) 𝜏on y𝜏+h. 3.2.2 MIDAS weighting function The weighting scheme is crucial in MIDAS regression because it determines how the high-frequency predictor variable affects its regression coefficient in the MIDAS regression, and thus it determines its impact on the low-frequency target variable. The parametrizations of the lagged coefficients of b(k;𝜃)proposed by Ghysels et al. (2007) can take various shapes for different values of 𝜃. In general, the parametrized weights can decrease at different rates as the number of lags increases. By estimating 𝜃,thegiven data selects the number of lags that are needed in the mixed-frequency-data relation between y𝜏+hand x𝜏. As explained in Ghysels et al. (2007), several weighting schemes are available to reduce the number of parameters to be estimated. In this paper we use the two finite polynomials, the normalized exponential Almon lag polynomial, and the normalized Beta probability density function. Andreou et al. (2010) show that these flexible weighting schemes, which are estimated by NLS, are appropriate for forecasting purposes due to their parsimonious representation and flexible shapes. Ghysels et al. (2007) state the normalized exponential Almon lag polynomial in the following general form: b(k;𝜃)=exp (𝜃1k+…+𝜃QkQ) K ∑ k=1 exp (𝜃1k+…+𝜃QkQ) .(7) The different shapes of the polynomials are only determined by the value of the parameters 𝜃. Ghysels, Santa-Clara, and Valkanov (2005) use Equation (7) with two parameters 𝜃=[𝜃1;𝜃2]. The resulting functional form is typically unimodal and can be slow declining, fast declining, hump shaped or flat. A declining shape implies that recent information receives a higher weight than earlier information. Accordingly, the rate of decline determines how many lags of the predictor variables are included in the regression model (Equation (5)). The normalized Beta probability density function as explained in Ghysels et al. (2007) also consists of two parameters 𝜃=[𝜃1;𝜃2]: b(k;𝜃1,𝜃 2)= 𝑓(k K,𝜃 1;𝜃2) K ∑ k=1 𝑓(k K,𝜃 1;𝜃2) ,(8) where 𝑓(x,a,b)=xa−1(1−x)b−1Γ(a+b) Γ(a)Γ(b),(9) with 𝛤as the gamma function Γ(a)=∫∞ 0 e−xxa−1dx.(10) Similar to the normalized exponential Almon lag polynomial, the shape of the function is determined by the values of the parameter 𝜃and the rate of decline decides how many lags are included in the regression model.4 3.3 FADL-MIDAS model To forecast the low-frequency target variable, this paper uses a combination of the low-frequency estimated factors and the high-frequency MIDAS framework. Andreou et al. (2011) term this combination the FADL-MIDAS model: A number of unobserved latent factors, which have the same frequency as the target variable, augment the MIDAS regression, where one or more high-frequency variables are used to predict the target variable. To yield the general form of the FADL-MIDAS model, the model in Equation (5) is extended with an autoregressive part of the target variable and with restimated factors Ft=(F1t,…,Frt)′. Hence the FADL-MIDAS model after Pettenuzzo et al. (2016) has the following representation5: 𝑦𝜏+h=𝛼+ p𝑦−1 ∑ 𝑗=0 𝛾𝑗+1𝑦𝜏−𝑗+ pF−1 ∑ 𝑗=0 𝛽′ 𝑗+1F𝜏−𝑗 +B(L1∕m;𝜃)x(m) 𝜏+𝜖𝜏+h, (11) with 𝜏=1,…,t−h,andB(L1∕m;𝜃)=∑pk−1 k=0b(k;𝜃)Lk∕m, where pyand pFdenote the lag lengths of ytand Ft, respectively. The lag length of the high-frequency predictors is represented by pk. The functional form of the MIDAS weights B(L1∕m;𝜃)depends either on the exponential Almon lag or on the normalized Beta function. 4For a visual description of the functional forms of the MIDAS weights determined by the normalized exponential Almon lag polynomial and the normalized Beta probability density function, see Figures 5 and 6 in Supporting Information Appendix A.5. 5For further different representations of the FADL-MIDAS model, see Andreou et al. (2011) or Andreou, Ghysels, and Kourtellos (2013). MAAS 398 4DATA AND FORECASTING DESIGN 4.1 Data The data that are used in the empirical part comes from several sources and have several different frequencies: The unobserved latent factors are estimated from a large macroeconomic database with monthly time series, whereas Google Trends data and the number of initial claims are available weekly. The predictor variable that is most noteworthy in this paper is the weekly GI. Google Trends is based on the Google web search engine and it provides a time series index that shows the volume of a particular search query or keyword, which is entered into the web search engine by Google users in a given geographic area within a given time. As stated in Choi and Varian (2012), the index is based on a share of the search queries: The number of web searches containing the keyword is normalized by dividing the total number of web searches performed through Google for the same given time and region. The maximum query share in the time period is normalized to 100. The GI data are provided by Google to the public if the number of searches exceeds a certain unknown threshold. The data are available almost in real time, starting with the first complete week in January 2004.6As explained in Section 2.2, the GI that we have used in the empirical exercise in this paper is obtained from the keyword “unemployment.” Given that the weekly GI has a particular seasonality, especially in November and December, when the total number of Google searches increases due to Christmas searches (D'Amuri & Marcucci, 2017), the time series is weekly seasonally adjusted with the STL. STL is capable of flexibly decomposing a high-frequent time series into trend, seasonal, and remainder components based on Loess (Cleveland, Cleveland, McRae, & Terpenning, 1990).7 The monthly unobserved latent factors are estimated from FRED-MD, which is the monthly database for Macroeconomic Research of the Federal Reserve Bank of St. Louis and is described extensively in McCracken and Ng (2016). FRED-MD is a large macroeconomic database designed for the empirical analysis of “big data.” The database is publicly available and updated on a monthly 6Google Trends is available under the following link: https://trends. google.com/trends/. To conduct and download data about search queries via Google, a Google account is required. 7STL can be used in practice with most of the chosen parameters in an automated way. The seasonal smoothing parameter n(s)is chosen periodically and the trend smoothing parameter n(t)is calculated as follows: n(t)=[1.5n(p)∕(1−1.5∕n(s))]odd,wheren(p)is the number of observations per seasonal cycle. For further details see Cleveland et al. (1990). basis.8It consists of 134 monthly time series and is classified into eight categories: (1) output and income, (2) labor market, (3) housing, (4) consumption, orders and inventories, (5) money and credit, (6) interest and exchange rates, (7) prices, and (8) stock market. A full list of the data and its transformation is given in Supporting Information Appendix A.3. The target variable, which is the seasonally adjusted monthly US civilian unemployment rate, is released by the US BLS and is retrievedfrom FRED. The number of weekly initial claims, which is a more traditional predictor variable of the unemployment rate compared to Google data, is published by the US Employment and Training Administration of the US Department of Labor and is also retrieved from FRED. The focus of this paper is on short-term forecasts in real time. Hence all information that is given up to a certain date is used to conduct the forecasts. Following D'Amuri and Marcucci (2017), the construction of the GI and the IC for month tis aligned with the time interval that is used to calculate the unemployment rate for month t, which is reported by the US BLS. Specifically, month tis defined by the week that includes the 12th of the corresponding month, the reference week, and the three preceding weeks. When there are more than 4 weeks between the reference week of month tand the following one in month t+1, the first week after the reference week is not used to calculate the unemployment rate.9Hence this week is also excluded when calculating the GI and the IC in this paper. Figure 1 shows plots of the US unemployment rate, the IC, and the GI.10 It appears that the IC reached its peak during the 2008–09 recession,11 whereas the unemployment rate peaked outside the NBER recession band in October 2009. The GI experienced a very sudden sharp rise during the recession, but decreased again towards the end of the recession. After the recession, the index peaked in August 2010 and then fell over time with sharp fluctuations. It appears that the peaks of the GI after the recession correspond to the peaks of the IC and the unemployment rate. The IC tends to move towards the unemployment rate, while the GI also shows higher volatility and seasonality overall. This illustrates that both series are suitable 8The FRED-MD database is available for download under the following link: https://research.stlouisfed.org/econ/mccracken/fred-databases/. 9Figure 7 in Supporting Information Appendix A.6 shows a visual description of the exact timing of the unemployment rate calculation. 10The corresponding descriptive statistics are provided in Table 4 in Supporting Information Appendix A.2. 11The NBER dates the recession from 2008:M1 to 2009:M6. The NBER recession dates are obtained from FRED: https://fred.stlouisfed.org/ series/USREC. MAAS 399 early indicators for the unemployment rate and can thus be useful predictors in a forecasting framework. 4.2 Forecasting setup and real-time design The empirical analysis in this paper focuses on the multistep out-of-sample forecasting performance of three different DI variants proposed by Stock and Watson (2002) using the FADL-MIDAS forecasting model stated in Equation (11) for forecasting the US unemployment rate. Following Stock and Watson, the first DI variant is denoted by “DI-AR, lag”; this includes py=5 lags of the target variable and pF=2lagsoflmonthly factors, where lis the number of estimated unobserved latent factors used in the regression. In addition, 12 weeks of corresponding weekly observations are included; hence pk=12. The second model, denoted by “DI-AR,” contains an autoregressive part with py=5, lcontemporaneous factors and 4 weeks of weekly information; therefore, pF=0andpk=4. The third model, denoted by “DI,” includes only lcontemporaneous monthly factors and 4 weeks of corresponding weekly information; therefore, py=0, pF=0, and pk=4. This paper focuses on short-term forecasting, so that the forecast horizon his set to h=1,2,…,12, meaning that 1- to 12-step-ahead direct forecasts of the monthly US unemployment rate are conducted. The h-step-ahead out-of-sample forecasting performances of the three DI variants are then compared to the forecasting performance of a benchmark model. The first benchmark model is a univariate AR model based on Equation (11), where pFand pkare set to zero. Hence the general form of the benchmark model is 𝑦𝜏+h=𝛼+ p𝑦−1 ∑ 𝑗=0 𝛾𝑗+1𝑦𝜏−𝑗+𝜂𝜏+h,(12) with 𝜏=1,…,t−h, where the lag order pyis selected recursively by the AIC, with 0 ≤py≤4. The three DI variants and the AR benchmark are estimated by OLS with a rolling window, whereby the window size is set to S=37, similar to D'Amuri and Marcucci (2017). The whole estimation procedure is conducted recursively in real time, as done in Stock and Watson (2002). To construct these real-time forecasts, the data of the FRED-MD database are first screened for outliers. The data are then standardized with zero mean and unit variance, missing data are replaced by the EM, and then the factors are estimated by principal components. These factors are then checked for stationarity and are used in the three different DI forecasting variants, together with the seasonally adjusted GI and the IC as additional weekly regressors. Going one step further in time, all factors, the seasonally adjusted GI, the parameters, and so forth are then reestimated and new forecasts are made. Due to the constraint of the Google Trends data, the sample starts in 2004:M2. The first out-of-sample forecast is made in 2008:M3. Therefore, the first one-step-ahead out-of-sample forecast is made for 2008:M4, whereas the first 12-step-ahead out-of-sample forecast is made for 2009:M3. The final out-of-sample forecast is made for 2017:M12. Given that the GI has a short history and the forecasting models should be parsimonious concerning the number of predictors, the number of estimated factors lused in the forecasting models is set to four. In contrast, the PCp2 information criterion proposed by Bai and Ng (2002) finds eight factors in the FRED-MD database. However, using this number of factors would require many more observations in the forecasting models, so that the first forecast could only be made for a later date. Because one of the aims of this paper is to investigate whether high-frequency data have better forecasting performance than the usual benchmark models, especially during the Great Recession in 2008–09, the first forecast should be made for 2008 and not later. Hence the forecasting models have to be parsimonious concerning the number of predictors and the required observations. Consequently, the number of factors is reduced to four. In addition, using too many factors might lead to overfitting and this would result in a poor forecasting performance. Figure 4 in Supporting Information Appendix A.4 shows a Scree plot of the estimated factors, and Table 5 in Appendix A.4 illustrates that the first four factors explain 34% of the variation of the FRED-MD data, while eight factors explain 47.5% of the variation. 5EMPIRICAL RESULTS 5.1 Methodology The out-of-sample forecasts of the three different DI variants are first evaluated relative to the AR benchmark by comparing the RMSFE of each DI model with that of the benchmark model. The benchmark model has a relative RMSFE of one, whereas a value below one indicates that the competitor model has a lower RMSFE than the benchmark model and thus outperforms it. The results of the Diebold and Mariano (1995) (DM) test are also presented. The DM test generally tests the null hypothesis of no difference in the accuracy of two competing forecasts. The relative predictive performances of the DI variants used in this paper are additionally compared with the forecasts made in D'Amuri and Marcucci (2017) from a similar forecasting MAAS 400 FIGURE 1 Time series plots. The top panel shows the seasonally adjusted US unemployment rate in monthly frequency. The middle panel shows the seasonally adjusted number of initial claims in weekly frequency. The bottom panel shows the raw Google Trends index for the keyword “unemployment” in weekly frequency. The samples start in January 2004 and end in December 2017. NBER recessions are highlighted by gray shading framework, where the authors use monthly averages of a Google index formed from the keyword “jobs.”12 Following D'Amuri and Marcucci (2017), the forecasts are also visually compared by the CSSED introduced by Welch and Goyal (2008). A visual representation of the CSSED allows a quick and simple overview to decide whether a benchmark model is outperformed by a competitor model. As stated in D'A- muri and Marcucci (2017), the CSSED is computed as CSSEDm,𝜏 =∑T 𝜏=R(ê2 bm,𝜏 −ê2 m,𝜏),whereê 2 bm,𝜏 denotes the squared forecast error of a benchmark model. The squared forecast error of the competitor model is denoted by ê2 m,𝜏,andRand Tindicate the beginning and end of the forecast evaluation sample. A CSSED value above zero generally indicates a better forecasting performance compared to the benchmark model at this point. Positive changes in the slope of the CSSED lines indicate that the relative predictive performance of competing models increases compared to the benchmark model, whereas negative changes represent a decrease in relative performance. Moreover, for each of the three different DI variants, in total 12 different forecasts are made. On the one hand, either the Almon lag or the Beta function are used as specification weights for the weekly GI and IC. On the other 12To be more precise, D'Amuri and Marcucci (2017) subtract the keyword “Steve Jobs” from the keyword “jobs” to improve the precision of their index. hand, the predictors are considered differently in the forecasting models based on the FADL-MIDAS model from Equation (11) to obtain further insight into which combination of predictor variables might give the best results. To be precise, in the first model, only the GI data are considered, whereas the factors and the IC are excluded from the model. In the second model, the forecasts are based on the IC, whereas the GI and the factors are excluded. The third model uses the GI and IC together, with the fourth and fifth models using the individual indicators together with the factors. The sixth model is the largest and it considers all three predictors. 5.2 Comparison with AR benchmark model Table 1 shows the monthly out-of-sample forecast results for the US unemployment rate compared to forecasts from the AR benchmark. For each forecast horizon h,the RMSFE of the AR benchmark is outperformed but there is no clear pattern to indicate which forecast model is best overall because the model that combines the lowest RMSFE changes from horizon to horizon. It should be noted that the DM test does not find statistical significance for the shortest forecast horizon h=1, but for all other remaining forecast horizons, so that for these horizons the forecast accuracy of the models presented in this paper is statistically better than the AR benchmark. MAAS 401 TABLE 3 One-step-ahead out-of-sample forecast results for each individual month for the US unemployment rate with D'Amuri and Marcucci (2017) Model Weighting scheme Jan. Feb. Mar. Apr. May Jun. Jul. Aug. Sept. Oct. Nov. Dec. Panel A: Google Trends index DI-AR, lag Almon 0.891 0.612 1.047 0.743** 0.874 1.225 1.472 0.725** 0.808 0.894 1.028 0.894 Beta 1.083 0.685 1.047 0.766** 0.863 1.279 1.429 0.725** 0.752 0.922 1.028 0.992 DI-AR Almon 1.083 0.685 1.047 0.766** 0.863 1.279 1.429 0.725** 0.752 0.922 1.028 0.992 Beta 1.083 0.685 1.047 0.766** 0.863 1.279 1.429 0.725** 0.752 0.922 1.028 0.992 DI Almon 1.402 1.046 0.976 0.657 0.934 1.128 1.225 1.026 0.933 1.118 0.978 1.103 Beta 1.402 1.046 0.976 0.657 0.934 1.128 1.225 1.026 0.933 1.118 0.978 1.103 Panel B: Initial claims DI-AR, lag Almon 1.017 0.586* 0.724 0.743** 0.786 1.414 1.041 0.607** 0.956 0.922 0.941 1.291 Beta 1.130 0.433* 0.951 0.754** 0.863 1.552 1.291 0.649** 0.722*0.671** 0.870 1.155 DI-AR Almon 1.189 0.661 1.000 0.777* 0.863 1.297 1.384 0.688** 0.909 0.866 0.854 1.176 Beta 1.130 0.433* 0.951 0.754** 0.863 1.552 1.291 0.649** 0.722*0.671** 0.870 1.155 DI Almon 1.326 1.132 0.900 0.682* 0.991 1.168 0.816 0.946 1.043 1.245 0.707 0.975 Beta 1.259 1.016 1.024 0.587* 1.243 1.108 0.890 0.889 1.103 1.304 0.746 1.111 Panel C: Google Trends index and initial claims DI-AR, lag Almon 0.947 0.586 0.976 0.754** 0.820 1.225 1.541 0.607** 0.752 1.072 1.028 0.940 Beta 1.287 0.661 0.926 0.777** 0.934 1.523 1.384 0.688** 0.626** 0.975 1.021 0.966 DI-AR Almon 1.339 0.750 1.024 0.754** 0.842 1.348 1.486 0.725* 0.885 1.025 0.986 0.957 Beta 1.287 0.661 0.926 0.777** 0.934 1.523 1.384 0.688** 0.626** 0.975 1.021 0.966 DI Almon 1.565 1.016 0.976 0.809 1.000 1.279 0.957 0.973 1.022 1.342 0.697 1.041 Beta 1.339 0.968 0.787 0.743 0.915 1.128 1.155 1.051 0.909 1.140 0.949 0.940 Note. The table reports the relative RMSFE for the one-step-ahead forecasts for each individual month of the competitor model compared to the benchmark forecasts after D'Amuri and Marcucci (2017). Numbers in bold correspond to the lowest RMSFE for each individual month, whereas values in italics are the lowest RMSFE for each panel for each individual month. Asterisks denote statistical significance at *10%, **5%, and ***1% level of the Diebold and Mariano (1995) test for the null of equal forecast accuracy between the benchmark and the competitor model when the benchmark is beaten. MAAS 408 rise until 2011, and then stabilize thereafter. Therefore, a forecast gain can also be determined after the end of the 2008–09 recession compared to the benchmark. For h=2 to h=5, most models lose their different forecast gains against the benchmark over time after the recession and, in particular, for h=4andh=5, all CSSED values finally assume negative values over time. All 6-month-ahead forecasts clearly outperform the benchmark. The performance increases during the recession and most models continue to improve over time. At h=7, the forecast performance of the various models varies greatly over time, with the best Panel D and F models, for example, showing a forecast gain over the benchmark in the first months of the recession but then declining very sharply in value over time with fluctuations. For the horizons h=9toh=12, none of the competitor models outperforms the benchmark at any point in time, and the performance declines for the most part over time. The results show that the forecasting framework presented in this paper with the MIDAS approach and the selection of predictors has some advantages over the D'A- muri and Marcucci (2017) approach in the short term, with the exception of forecasting horizons of 4 and 5 months, but produces worse results in the longer forecasting period, namely 8–12 months ahead. It can be generally stated that the quality of the forecast is subject to fluctuations over the different forecast horizons in comparison to this benchmark. To gain a deeper insight into the quality of the individual forecasts, the relative RMSFE of the forecast models for each individual month is determined and compared with the D'Amuri and Marcucci (2017) benchmark. In the following, only the most promising models are discussed, and this only for the shortest forecast horizon h=1.14 Table 3 shows the results for the GI and IC as individual predictor variables and both predictors combined. Once again, it turns out that no single model consistently produces the best results. It is shown that except for June, the relative RMSFE obtained for most models is below one, so the benchmark for these months is outperformed. However, the DM test does not always find a significant difference to the benchmark. This could happen due to the fact that the sample size decreases very sharply when the sample is broken down into individual months, so that each individual DM test is based on only very few values and the meaningfulness is therefore limited. In addition, these results and the further results listed in Supporting Information Appendix A.7 show that a kind of seasonal- 14The remaining results can be found in Supporting Information Appendix A.7. A discussion of all presented results would go beyond the scope of this paper. ity prevails in the forecasts compared to the benchmark because January, June, and July are the months in which the benchmark is most difficult to outperform. In conclusion, it can be said that the use of weekly data from the GI chosen in this paper and the number of initial claims in the short-term forecasting exercise mostly outperform the benchmark, although statistical significance cannot be determined for every point in time. 6CONCLUSION Given the recent interest in using Internet search data to forecast economic variables, the aim of this paper is to assess whether the use of Google search data is useful to forecast the US unemployment rate when compared with other more traditional predictor variables. One of the difficulties in obtaining a reliable Google Trends index is the choice of the keyword. In this paper the keyword “unemployment” is chosen to obtain a predictor variable for the unemployment rate. The keyword should reflect what people look for when they become unemployed or threatened by unemployment. In addition, the keyword must separate the unemployed from those who are looking for a new job but who already have a job. Since Google data also have some drawbacks, the number of initial claims are also considered as an additional predictor variable. To incorporate the current state of the US economy, unobserved latent factors are derived by principal components from a macroeconomic database. Because the Google index and the number of initial claims have a weekly frequency, while the US unemployment rate and also the derived factors have a monthly frequency, the MIDAS regression model is used to maintain the original data frequency. Based on Stock and Watson (2002), three different diffusion index variants of the MIDAS approach are used. Using a real-time forecast design across the entire sample, the selected Google Trends index provides the best forecast results as a single predictor variable within the “DI-AR, lag” variant and Almon lag polynomial as weighting scheme for the shortest forecast horizons h=1and h=2. Unfortunately, statistically, it does not exceed the D'Amuri and Marcucci (2017) benchmark after the DM test, which has already proven the predictive power of an alternative monthly Google Trends index. Nevertheless, this illustrates that the use of the GI and also the IC applied here with weekly information in a MIDAS framework leads to a forecast gain for the shortest horizons, although a kind of seasonality against the benchmark prevails in the forecasts—as the analysis of the individual months has shown. With increasing forecasting horizons, the forecasting performance of the best diffusion index variants decreases MAAS 409 over time, indicating that the forecasting methods proposed in this paper are only useful for short-term forecasts. This can also be seen in the development of the CSSED lines. At the beginning of the sample during the 2008–09 recession, the forecast performance rises relative to the benchmarks and it then falls at different rates over time. In addition, the results provide a mixed picture of which predictor variables are most useful because the best model and combination of predictor variables change from horizon to horizon. In summary, there is no clear indication as to which model and which predictor variables are best suited to forecast the US unemployment rate in this MIDAS framework and in this sample. Therefore, a combination of the best models should be used to get an idea of how the unemployment rate will behave in the near future. It will be interesting to see how the proposed forecasting models will behave as more data become available over time, especially in times of economic uncertainty. If the results are confirmed, then the use of Internet data alongside more traditional predictor variables could be routinely included in the near future. ORCID Benedikt Maas https://orcid.org/0000-0002-7402-8239 REFERENCES Andreou, E., Ghysels, E., & Kourtellos, A. (2010). Regression models with mixed sampling frequencies,Vol.158, pp. 246–261. Andreou, E., Ghysels, E., & Kourtellos, A. (2011). Forecasting with mixed-frequency data, Oxford handbook of economic forecasting, pp. 225–245. Andreou, E., Ghysels, E., & Kourtellos, A. (2013). Should macroeconomic forecasters use daily financial data and how? Journal of Business and Economic Statistics,31(2), 240–251. Askitas, N., & Zimmermann, K. F. (2009). Google econometrics and unemployment forecasting. Applied Economics Quarterly,55(2), 107–120. Bai, J., & Ng, S. (2002). Determining the number of factors in approximate factor models. Econometrica,70(1), 191–221. Bangwayo-Skeete, P. F., & Skeete, R. W. (2015). Can Google data improve the forecasting performance of tourist arrivals? Mixed-data sampling approach. Tourism Management,46, 454–464. Chen, T., So, E. P. K., Wu, L., & Yan, I. K. M. (2015). The 2007–2008 US recession: What did the real-time Google Trends data tell the United States? Contemporary Economic Policy,33(2), 395–403. Choi, H., & Varian, H. (2012). Predicting the present with Google Trends. Economic Record,88(1), 2–9. Cleveland, R. B., Cleveland, W. S., McRae, J. E., & Terpenning, I. (1990). STL: A seasonal-trend decomposition procedure based on Loess. Journal of Official Statistics,6(1), 3–73. D'Amuri, F., & Marcucci, J. (2017). The predictive power of Google searches in forecasting US unemployment. International Journal of Forecasting,33(4), 801–816. Dergiades, T., Milas, C., & Panagiotidis, T. (2014). Tweets, Google Trends, and sovereign spreads in the GIIPS. Oxford Economic Papers,67(2), 406–432. Diebold, F. X., & Mariano, R. S. (1995). Comparing predictive accuracy. Journal of Business and Economic Statistics,13(3), 253–263. Fondeur, Y., & Karamé, F. (2013). Can Google data help predict French youth unemployment? Economic Modelling,30, 117–125. Ghysels, E., Santa-Clara, P., & Valkanov, R. (2005). There is a risk–return trade-off after all. Journal of Financial Economics, 76(3), 509–548. Ghysels, E., Santa-Clara, P., & Valkanov, R. (2006). Predicting volatility: Getting the most out of return data sampled at different frequencies. Journal of Econometrics,131(1–2), 59–95. Ghysels, E., Sinko, A., & Valkanov, R. (2007). MIDAS regressions: Further results and new directions. Econometric Reviews,26(1), 53–90. Giannone, D., Reichlin, L., & Small, D. (2008). Nowcasting: The real-time informational content of macroeconomic data. Journal of Monetary Economics,55(4), 665–676. Guzmán, G. (2011). Internet search behavior as an economic forecasting tool: The case of inflation expectations. JournalofEconomic and Social Measurement,36(3), 119–167. Liu, T., Xu, X., & Fan, F. (2018). Forecasting Chinese GDP using online data. Emerging Markets Finance and Trade,54(4), 733–746. McCracken, M. W., & Ng, S. (2016). FRED-MD: A monthly database for macroeconomic research. Journal of Business and Economic Statistics,34(4), 574–589. McLaren, N., & Shanbhogue, R. (2011). Using internet search data as economic indicators. Bank of England Quarterly Bulletin,51(2), 134–140. Montgomery, A. L., Zarnowitz, V., Tsay, R. S., & Tiao, G. C. (1998). Forecasting the US unemployment rate. Journal of the American Statistical Association,93(442), 478–493. Pettenuzzo, D., Timmermann, A., & Valkanov, R. (2016). A MIDAS approach to modeling first and second moment dynamics. JournalofEconometrics,193(2), 315–334. Proietti, T. (2003). Forecasting the US unemployment rate. Computational Statistics and Data Analysis,42(3), 451–476. Smith, P. (2016). Google's MIDAS touch: Predicting UK unemployment with internet search data. Journal of Forecasting,35(3), 263–284. Stock, J. H., & Watson, M. W. (2002). Macroeconomic forecasting using diffusion indexes. Journal of Business and Economic Statistics,20(2), 147–162. Vicente, MR, López-Menéndez, A. J., & Pérez, R. (2015). Forecasting unemployment with internet search data: Does it help to improve predictions when job destruction is skyrocketing? Technological Forecasting and Social Change,92, 132–139. Vosen, S., & Schmidt, T. (2011). Forecasting private consumption: Survey-based indicators vs.Google Trends. Journal of Forecasting, 30(6), 565–578. Welch, I., & Goyal, A. (2008). A comprehensive look at the empirical performance of equity premium prediction,Vol.21, pp. 1455–1508. Wu, I., Brynjolfsson, E., & Goldfarb, A. (2015). The future of prediction: How Google searches foreshadow housing prices and sales, Economic analysis of the digital economy, pp. 89–118. Yang, X., Pan, B., Evans, J. A., & Lv, B. (2015). Forecasting Chinese tourist volume with search engine data. Tourism Management, 46, 386–397. MAAS 410 AUTHOR BIOGRAPHY Benedikt Maas is a Ph.D. student at University of Hamburg, Germany. SUPPORTING INFORMATION Additional supporting information may be found online in the Supporting Information section at the end of the article. Howtocitethisarticle: Maas B. Short-term forecasting of the US unemployment rate. Journal of Forecasting. 2020;39: 394–411. https://doi.org/10.1002/for.2630 MAAS 411