Abstract
In this paper multivariate State Space (SS) models are used to evaluate and forecast household loans in Brazil, taking into account two Google search terms in order to identify credit demand: financiamento (type of loan used to finance goods) and empréstimo (a more general type of loan). Our framework is coupled with nonlinear features, such as Markov-switching and threshold point. We explore these nonlinearities to build identification strategies to disentangle the supply and demand forces which drive the credit market to equilibrium over time. We also show that the underlying nonlinearities significantly improves the performance of SS models on forecasting the household loans in Brazil, particularly in short-term horizons.
Acknowledgments
The authors gratefully acknowledges financial support from the Brazilian institutions CNPq (National Council for Scientific and Technological Development) and FAPDF (Research Support Foundation of Federal District).
-
Author contribution: All the authors have accepted responsibility for the entire content of this submitted manuscript and approved submission.
-
Research funding: None declared.
-
Conflict of interest statement: The authors declare no conflicts of interest regarding this article.
A.1 Data

Household loans and interest rate (personal credit).
Source: Central bank of Brazil.

Google trends indexes – financiamento and empréstimo.
Source: Google.
A.2 Estimated common factors (x t )

Common factor – (a) DSSL/DR and (b) DSSL/NDR.

Common factor – (a) DSSMS/E/DR and (b) DSSMS/E/NDR.

Common factor – (a) DSSMS/E&F/DR and (b) DSSMS/E&F/NDR.

Common factor – (a) DSST/E/DR and (b) DSST/E/NDR.

Common factor – (a) DSST/E&F/DR and (b) DSST/E&F/NDR.
A.3 Linearity tests
In Table 8, we present the results of some linearity tests. The Keenan’s one-degree test for nonlinearity against the null hypothesis that the time series follows some auto-regressive (AR) linear process. The McLeod–Li test checks for the presence of conditional heteroscedascity by computing the Ljung–Box (portmanteau) test with the squared data. Accordingly to Koller and Fischer (2002), the McLeod–Li test is an indirect test and based on the fact that by fitting a linear model to the data, the inherent non-linearity has been swept into the residuals. Tsay’s test evaluates quadratic nonlinearity in a time series. We also carry out the likelihood ratio test for threshold nonlinearity, with the null hypothesis being a normal AR process and the alternative hypothesis being a TAR model with homogeneous, normally distributed errors. The Teraesvirta’s neural network test for neglected nonlinearity, with the null hypotheses of linearity in “mean”. The Lo & Zivot test has three tests available: (i) linear versus 1 threshold TVAR; (ii) linear versus 2 thresholds TVAR; (iii) 1 threshold TVAR versus 2 thresholds TVAR. The tests (i) and (ii) can be seen as linearity tests, whereas the third can be seen as a specification test. In general, the most of the tests rejected linearity. Considering the Lo & Zivot test, we reject linearity in tests (i) and (ii), while the specification test (iii) favors just one regime change (1 threshold TVAR).
Linearity tests.
Tests | p Value | ||
---|---|---|---|
l t | f t | e t | |
Keenan’s one-degree test for nonlinearity (Keenan 1985) | |||
H0: Time series follows some AR process | 0.045 | 0.643 | 0.025 |
McLeod-Li test (Mcleod and Li 1983) | |||
H0: Time series follows some ARIMA process | 0.000 | 0.000 | 0.000 |
Tsay’s test for nonlinearity (Tsay 1986) | |||
H0: Time series follows some AR process | 0.977 | 0.029 | 0.000 |
Likelihood ratio test for threshold nonlinearity (Chan 1991) | |||
H0: Time series follows AR process/H1: Time series follows TAR process | 0.273 | 0.000 | 0.028 |
Teraesvirta’s neural network test* (Teräsvirta, Lin, and Granger 1993) | |||
H0: Linearity in “mean” | 0.000 | 0.000 | 0.000 |
Lo & Zivot multivariate linearity test (Lo and Zivot 2001) | |||
H0: Linear VAR/H1: 1 threshold TVAR | 0.001 | ||
H0: Linear VAR/H1: 2 thresholds TVAR | 0.003 | ||
H0: 1 threshold TVAR/H1: 2 thresholds TVAR | 0.332 |
-
aCalculated for regression, where l t = f(f t , e t ), f t = f(l t , e t ) and e t = f(l t , f t ).
A.4 Dynamic SS linear models (DSSL)
Among the benchmarks in the in-sample and out-of-sample evaluations, we evaluated the standard linear Gaussian SS model, known as Gaussian SS model, known as Dynamic SS Linear (DSSL) model. In this framework we rule out regime changes on parameters estimation, resulting at the following state-space representation:
and
with
Once again, the transition equation gives the law of motion for x t and follows a first order autoregressive process:
where the state variance is given by Q
x
= var(ϵt,x) with a normally distributed noise (
We consider two specifications following this basic structure. The first is a DSSL with diagonal R observation covariance matrix (DSSL/DR). The second one is a DSSL with non-diagonal R observation covariance matrix (DSSL/NDR).
References
Annibal, C., and S. Koyama. 2011. “Pesquisa Trimestral de Condições de Crédito no Brasil.” In Working Papers Series 245. Central Bank of Brazil, Research Department.Suche in Google Scholar
Bernanke, B. 1993. “Credit in the Macroeconomy.” Quarterly Review 18 (Spr): 50–70.Suche in Google Scholar
Bernanke, B., and A. Blinder. 1988. “Credit, Money, and Aggregate Demand.” The American Economic Review 78 (2): 435–9. https://doi.org/10.3386/w2534.Suche in Google Scholar
Bernanke, B., and A. Blinder. 1992. “The Federal Funds Rate and the Channels of Monetary Transmission.” The American Economic Review 82 (4): 901–21.Suche in Google Scholar
Bernanke, B. S., and M. Gertler. 1995. “Inside the Black Box: The Credit Channel of Monetary Policy Transmission.” The Journal of Economic Perspectives 9 (4): 27–48. https://doi.org/10.1257/jep.9.4.27.Suche in Google Scholar
Bester, H., and M. Hellwig. 1987. Moral Hazard and Equilibrium Credit Rationing: An Overview of the Issues, 135–66. Berlin, Heidelberg: Springer.10.1007/978-3-642-75060-1_9Suche in Google Scholar
Bulut, L. 2018. “Google Trends and the Forecasting Performance of Exchange Rate Models.” Journal of Forecasting 37: 303–15. https://doi.org/10.1002/for.2500.Suche in Google Scholar
Burdeau, E., and E. Kintzler. 2017. “Assessing the Use of Google Trends to Predict Credit Developments.” In 61th ISI World Statistics Congress.Suche in Google Scholar
Calza, A., C. Gartner, and J. Sousa. 2003. “Modelling the Demand for Loans to the Private Sector in the Euro Area.” Applied Economics 35 (1): 107–17. https://doi.org/10.1080/00036840210161837.Suche in Google Scholar
Carriere-Swallow, Y., and F. Labbé. 2013. “Nowcasting with Google Trends in an Emerging Market.” Journal of Forecasting 32: 289–98. https://doi.org/10.1002/for.1252.Suche in Google Scholar
Castelnuovo, E., and T. D. Tran. 2017. “Google it up! a Google Trends-Based Uncertainty Index for the United States and Australia.” Economics Letters 161 (C): 149–53. https://doi.org/10.1016/j.econlet.2017.09.032.Suche in Google Scholar
Chan, K. S. 1991. “Percentage Points of Likelihood Ratio Tests for Threshold Autoregression.” Journal of the Royal Statistical Society: Series B 53 (3): 691–6. https://doi.org/10.1111/j.2517-6161.1991.tb01858.x.Suche in Google Scholar
Chen, T., E. P. K. So, L. Wu, and I. K. M. Yan. 2015. “The 2007–2008 U.S. Recession: What Did the Real-Time Google Trends Data Tell the united states?” Contemporary Economic Policy 33 (2): 395–403. https://doi.org/10.1111/coep.12074.Suche in Google Scholar
Choi, H., and H. Varian. 2009a. “Predicting Initial Claims for Unemployment Benefits.” Google Technical Report.Suche in Google Scholar
Choi, H., and H. Varian. 2009b. “Predicting the Present with Google Trends.” Google Technical Report.10.1111/j.1475-4932.2012.00809.xSuche in Google Scholar
Cipollini, A., and F. Parla. 2018. “Credit Demand and Supply Shocks in Italy during the Great Recession.” Applied Economics 50 (53): 5795–813. https://doi.org/10.1080/00036846.2018.1488066.Suche in Google Scholar
CODACE/IBRE. 2017. Comunicado de Datação de Ciclos Mensais Brasileiros. Comitê de Datação de Ciclos Econômicos - Instituto Brasileiro de Economia - Fundação Getulio Vargas.Suche in Google Scholar
Coelho, C., J. M. P. Mello, M. Garcia, and R. Rigobon. 2017. A Method for Identifying Aggregate Credit Supply and Demand Parameters Using Heteroskedascity an Application for brazil.Suche in Google Scholar
Cosslett, S., and L.-F. Lee. 1985. “Serial Correlation in Latent Variable Models.” Journal of Econometrics 27: 79–97. https://doi.org/10.1016/0304-4076(85)90045-4.Suche in Google Scholar
Del Giovane, P., G. Eramo, and A. Nobili. 2011. “Disentangling Demand and Supply in Credit Developments: A Survey-Based Analysis for italy.” Journal of Banking & Finance 35 (10): 2719–32. https://doi.org/10.1016/j.jbankfin.2011.03.001.Suche in Google Scholar
Del Giovane, P., A. Nobili, and F. M. Signoretti. 2017. “Assessing the Sources of Credit Supply Tightening: Was the Sovereign Debt Crisis Different from Lehman?” International Journal of Central Banking 13 (2): 197–234.Suche in Google Scholar
Diebold, F., and R. Mariano. 1995. “Comparing Predictive Accuracy.” Journal of Business & Economic Statistics 13 (3): 253–63. https://doi.org/10.2307/1392185.Suche in Google Scholar
Dietzel, M. A. 2016. “Sentiment-based Predictions of Housing Market Turning Points with Google Trends.” International Journal of Housing Markets and Analysis 9: 108–36. https://doi.org/10.1108/ijhma-12-2014-0058.Suche in Google Scholar
Einav, L., and J. Levin. 2014. “The Data Revolution and Economic Analysis.” Innovation Policy and the Economy 14: 1–24.10.3386/w19035Suche in Google Scholar
Fecht, F., S. Thum, and P. Weber. 2019. “Fear, Deposit Insurance Schemes, and Deposit Reallocation in the German Banking System.” Journal of Banking & Finance 105: 151–65. https://doi.org/10.1016/j.jbankfin.2019.05.005.Suche in Google Scholar
Freixas, X., and J. Rochet. 2008. Microeconomics of Banking, Vol. 1, 2nd ed. The MIT Press. Also available at https://EconPapers.repec.org/RePEc:mtp:titles:0262062704.Suche in Google Scholar
Gertler, M., and S. Gilchrist. 1993. “The Role of Credit Market Imperfections in the Monetary Transmission Mechanism: Arguments and Evidence.” The Scandinavian Journal of Economics 95 (1): 43–64. https://doi.org/10.2307/3440134.Suche in Google Scholar
Goldfeld, S., and R. Quandt. 1973. “A Markov Model for Switching Regressions.” Journal of Econometrics 1: 3–15. https://doi.org/10.1016/0304-4076(73)90002-x.Suche in Google Scholar
Hamilton, J. 1989. “A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle.” Econometrica 57 (2): 357–84.10.2307/1912559Suche in Google Scholar
Hamilton, J. 1994. Time Series Analysis, 1 ed. Princeton University Press.10.1515/9780691218632Suche in Google Scholar
Hand, C., and G. Judge. 2012. “Searching for the Picture: Forecasting UK Cinema Admissions Using Google Trends Data.” Applied Economics Letters 19: 1051–5. https://doi.org/10.1080/13504851.2011.613744.Suche in Google Scholar
Hansen, B. 2000. “Sample Splitting and Threshold Estimation.” Econometrica 68 (3): 575–604. https://doi.org/10.1111/1468-0262.00124.Suche in Google Scholar
Hassani, H., and E. Silva. 2016. “Forecasting Energy Data with a Time Lag into the Future and Google Trends.” International Journal of Energy and Statistics 4: 1650020. https://doi.org/10.1142/s2335680416500204.Suche in Google Scholar
Hu, H., L. Tang, S. Zhang, and H. Wang. 2018. “Predicting the Direction of Stock Markets Using Optimized Neural Networks with Google Trends.” Neurocomputing 285: 188–95. https://doi.org/10.1016/j.neucom.2018.01.038.Suche in Google Scholar
Jaffee, D. M., and T. Russell. 1976. “Imperfect Information, Uncertainty, and Credit Rationing.” Quarterly Journal of Economics 90 (4): 651–66. https://doi.org/10.2307/1885327.Suche in Google Scholar
Jimenez, G., S. Ongena, J.-L. Peydro, and J. Saurina. 2012. “Credit Supply and Monetary Policy: Identifying the Bank Balance-Sheet Channel with Loan Applications.” The American Economic Review 102 (5): 2301–26. https://doi.org/10.1257/aer.102.5.2301.Suche in Google Scholar
Jun, S.-P., H. S. Yoo, and S. Choi. 2018. “Ten Years of Research Change Using Google Trends: From the Perspective of Big Data Utilizations and Applications.” Technological Forecasting and Social Change 130: 69–87. https://doi.org/10.1016/j.techfore.2017.11.009.Suche in Google Scholar
Kashyap, A., and J. Stein. 1994. “Monetary Policy and Bank Lending.” In Monetary Policy, 221–61. National Bureau of Economic Research, Inc. Also available at https://EconPapers.repec.org/RePEc:nbr:nberch:8334.10.3386/w4317Suche in Google Scholar
Keenan, D. M. 1985. “A Tukey Nonadditivity-type Test for Time Series Nonlinearity.” Biometrika 72 (1): 39–44. https://doi.org/10.1093/biomet/72.1.39.Suche in Google Scholar
Kick, T., T. Pausch, and B. Ruprecht (2015). The Winner’s Curse: Evidence on the Danger of Aggressive Credit Growth in Banking. Technical Report.10.2139/ssrn.2797057Suche in Google Scholar
Koller, W., and M. Fischer. 2002. “Testing for Non-linear Dependence in Univariate Time Series: An Empirical Investigation of the Austrian Unemployment Rate.” Networks and Spatial Economics 2: 191–209. https://doi.org/10.1023/a:1015373430711.10.1023/A:1015373430711Suche in Google Scholar
Lanne, M., H. Lütkepohl, and K. Maciejowska. 2010. “Structural Vector Autoregressions with Markov Switching.” Journal of Economic Dynamics and Control 34 (2): 121–31. https://doi.org/10.1016/j.jedc.2009.08.002.Suche in Google Scholar
Lo, M. C., and E. Zivot. 2001. “Threshold Cointegration and Nonlinear Adjustment to the Law of One Price.” Macroeconomic Dynamics 5 (4): 533–76. https://doi.org/10.1017/s1365100501023057.Suche in Google Scholar
McLaren, N., and R. Shanbhogue. 2011. “Using Internet Search Data as Economic Indicators.” Bank of England Quarterly Bulletin 51 (2): 134–40.10.2139/ssrn.1865276Suche in Google Scholar
Mcleod, I., and W. Li. 1983. “Diagnostic Checking Arma Time Series Models Using Squared-Residual Autocorrelation.” Journal of Time Series Analysis 4: 269–73. https://doi.org/10.1111/j.1467-9892.1983.tb00373.x.Suche in Google Scholar
Onder, I. 2017. “Forecasting Tourism Demand with Google Trends: Accuracy Comparison of Countries versus Cities.” International Journal of Tourism Research 19: 648–60. https://doi.org/10.1002/jtr.2137.Suche in Google Scholar
Piger, J. 2009. “Econometrics: Models of Regime Changes.” In Complex Systems in Finance and Econometrics, edited by R. Meyers. New York, NY: Springer. Also available at https://doi.org/10.1007/978-1-4419-7701-4_10.10.1007/978-1-4419-7701-4_10Suche in Google Scholar
Preis, T., H. S. Moat, and H. E. Stanley. 2013. “Quantifying Trading Behavior in Financial Markets Using Google Trends.” Scientific Reports 3: 1684. https://doi.org/10.1038/srep01684.Suche in Google Scholar PubMed PubMed Central
Rigobon, R. 2003. “Identification through Heteroskedasticity.” The Review of Economics and Statistics 85 (4): 777–92. https://doi.org/10.1162/003465303772815727.Suche in Google Scholar
Rivera, R. 2016. “A Dynamic Linear Model to Forecast Hotel Registrations in Puerto Rico Using Google Trends Data.” Tourism Management 57: 12–20. https://doi.org/10.1016/j.tourman.2016.04.008.Suche in Google Scholar
Stiglitz, J., and A. Weiss. 1981. “Credit Rationing in Markets with Imperfect Information.” The American Economic Review 71: 393–410.Suche in Google Scholar
Suzuki, T. 2004. “Credit Channel of Monetary Policy in Japan: Resolving the Supply versus Demand Puzzle.” Applied Economics 36: 2385–96. https://doi.org/10.1080/0003684042000280517.Suche in Google Scholar
Tabak, B. M., G. M. Gomes, and M. da Silva Medeiros. 2015. “The Impact of Market Power at Bank Level in Risk-Taking: The Brazilian Case.” International Review of Financial Analysis 40: 154–65. https://doi.org/10.1016/j.irfa.2015.05.014.Suche in Google Scholar
Teräsvirta, T., C.-F. Lin, and C. W. J. Granger. 1993. “Power of the Neural Network Linearity Test.” Journal of Time Series Analysis 14 (2): 209–20. https://doi.org/10.1111/j.1467-9892.1993.tb00139.x.Suche in Google Scholar
Tong, H. 1983. Threshold Models in Non-Linear Time Series Analysis Volume 21 of Lecture notes in statistics, 323, Springer-Verlag, Pennsylvania State University, ISSN 0930-0325, https://www.springer.com/gp/book/9780387909189.10.1007/978-1-4684-7888-4Suche in Google Scholar
Tong, H. 2011. “Threshold Models in Time Series Analysis—30 Years on.” Statistics and its Interface 4 (2): 107–18.10.4310/SII.2011.v4.n2.a1Suche in Google Scholar
Tsay, R. S. 1986. “Nonlinearity Tests for Time Series.” Biometrika 73 (2): 461–6. https://doi.org/10.1093/biomet/73.2.461.Suche in Google Scholar
Ubiergo, A. S. 2012. “The Puzzle of Brazil’s High Interest Rates.” In IMF Working Papers 12/62. International Monetary Fund.10.5089/9781463938390.001Suche in Google Scholar
Vosen, S., and T. Schmidt. 2011. “Forecasting Private Consumption: Survey-Based Indicators vs. Google Trends.” Journal of Forecasting 30 (6): 565–78. https://doi.org/10.1002/for.1213.Suche in Google Scholar
Vuong, Q. H. 1989. “Likelihood Ratio Tests for Model Selection and Non-nested Hypotheses.” Econometrica 57 (2): 307–33. https://doi.org/10.2307/1912557.Suche in Google Scholar
Williamson, S. 1987. “Costly Monitoring, Loan Contracts, and Equilibrium Credit Rationing.” Quarterly Journal of Economics 102 (1): 135–45. https://doi.org/10.2307/1884684.Suche in Google Scholar
Yu, L., Y. Zhao, L. Tang, and Z. Yang. 2018. “Online Big Data-Driven Oil Consumption Forecasting with Google Trends.” International Journal of Forecasting 35 (1): 213–23.10.1016/j.ijforecast.2017.11.005Suche in Google Scholar
Zeybek, O., and E. Ugurlu. 2015. “Nowcasting Credit Demand in Turkey with Google Trends Data.” Journal of Applied Economic Sciences 10: 293–300. https://doi.org/10.16992/asos.583.Suche in Google Scholar
Supplementary Material
The online version of this article offers supplementary material (https://doi.org/10.1515/snde-2019-0122).
© 2021 Walter de Gruyter GmbH, Berlin/Boston
Artikel in diesem Heft
- Frontmatter
- Research Articles
- What does Google say about credit developments in Brazil?
- Forecasting transaction counts with integer-valued GARCH models
- Asymmetries in the monetary policy reaction function: evidence from India
- A mixture autoregressive model based on Gaussian and Student’s t-distributions
- Time-specific average estimation of dynamic panel regressions
- Rescaled variance tests for seasonal stationarity
Artikel in diesem Heft
- Frontmatter
- Research Articles
- What does Google say about credit developments in Brazil?
- Forecasting transaction counts with integer-valued GARCH models
- Asymmetries in the monetary policy reaction function: evidence from India
- A mixture autoregressive model based on Gaussian and Student’s t-distributions
- Time-specific average estimation of dynamic panel regressions
- Rescaled variance tests for seasonal stationarity