This is the first part of a series of articles that will address financial cycles in Brazil. Economic literature suggests that Credit Granting can be used as a proxy for the Financial Cycle, which tends to present a boom before the onset of a recession.
Author

Henrique Costa

Published

October 19, 2024

Doi


After a really cool chat over coffee with my friend Catarina and some discussions on the topic of cycles and time series with my friends Emanuella and Patrícia, I thought about writing an article here for this blog and resurrecting it, updating and improving an analysis I did some time ago and published on LinkedIn, which can be accessed through this link: Credit Granting can be used as a proxy for the Financial Cycle, which tends to present a “boom” before the beginning of a recession.

Based on the study “The Financial Cycle in Brazil” carried out in the 3rd Project of the 2018 Agreement between FEBRABAN (Brazilian Federation of Banks) and PUC - Rio (Pontifical Catholic University of Rio de Janeiro), where the authors describe the five main stylized characteristics of the financial cycle based on the work of Borio (2012), which are:

In this paper, we will focus on seeing only part of the first characteristic, in which the financial cycle is described in a more parsimonious way in terms of credit.

If you want me to develop part 2 onwards, analyzing the other characteristics, leave a comment here or in the LinkedIn post at this link


Intro

I will start with the definition of a cycle: a cycle is a low-frequency variation event. Just because it is a low-frequency event does not mean it will only be a short-term variation event. Cycles can have short or long durations, and are generally not standardized.

Standardized variation events, that is, events that have homogeneous behavior over time, are generally characteristic of a seasonal event. Seasonality is called a “known component”, precisely because it is a standardized event. If it is standardized, it will always have homogeneous behavior, and thus its future trajectory is “known”.

A cycle is different from a seasonal event, even though it may somehow assume behavior that appears to be homogeneous, but its future trajectory is unknown.

Cycles are important in general, because economies tend to experience periods of expansion and correction (recession) of activities, especially financial ones, in which the granting of credit generates more activity. The financial cycle is the period from the initial investment to the return on investment, but the financial cycle here will be characterized as the credit cycle, since the credit cycle is a proxy for the aggregate financial cycle.

In most cases, investment begins with credit, for the simple fact that third-party capital has a lower cost than equity, so credit is taken out to invest. The generation of revenue, cash and profit subsequently generates the full payment of the principal plus interest on the credit taken out. Increasing credit concessions indicate an expanding business environment, therefore a buoyant economy, and when there is a reduction in credit concessions, the opposite is true. From this perspective, credit concessions will act as a proxy for the financial cycle.

There are reports in the economic literature that financial booms (characterized as a strong expansion in the granting of credit) create conditions for recession and unemployment, as experienced in the great international financial crisis of 2008. This is if you, dear reader, were born before 1991 (generation Y or millennials). If you were born after 1992, I’m sorry, but you didn’t even feel this crisis.

As the literature assumes, if there is a boom, at some point there will be a bust (correction or recession). And such a financial bust can temporarily synchronize the financial and business cycles, even though financial cycles can be much longer than business cycles.

Estimating or analyzing the financial cycle is very important to observe the levels of economic activity and test market expectations. The financial cycle is also important for macroprudential issues, which is connected with the regulation of the national financial system, by the Central Bank of Brazil, which in its agenda, tries to implement the Basel III framework, which talks about the countercyclical buffer, which uses the idea of the financial cycle.

Credit concessions

After starting our discussion with this introduction about cycles, let’s talk a little about credit granting. Personally, I didn’t want to choose the stocks of credit operations and instead, I chose credit granting as a proxy variable for the financial cycle, for the simple fact that I wanted to, the analysis is mine and I choose the variable I want, just kidding (hahahaha).

I chose credit granting because it represents in an aggregated way the encounter between credit supply and demand (selected by hand, or rather, by models), because in the future I want to analyze information asymmetries, try to assess whether, on average, the models have dealt well with adverse selection.

I understand that stocks could also provide me with such an investigation, but stocks are cumulative aggregates and in my perception it could generate a dirty time series, carrying a smoothing that would hinder the decomposition of the components. And oh, it’s worth mentioning that these reasons I’m listing are just an excuse, the real reason is that I didn’t visually like the graph of the credit stock series (hahahaha).

Well, let’s go.

Below I present to you the time series of Credit Grants (Total). The definition on the website of the Central Bank of Brazil is: Value (in millions of Brazilian reais) of new credit operations contracted in the reference period in the National Financial System. Includes operations contracted in the free credit segment and in the directed credit segment. Here is the aggregated series, without distinction of the type of credit taker, whether it is personal credit or corporate credit.



In the graph above, we have the time series of total credit concession for the end of each period (monthly), and in blue we have the total credit concessions with seasonal adjustment. Both series are made available by the Central Bank of Brazil, through the time series management system, and obviously, for educational purposes, I will use the series with seasonal adjustment.

However, I will use the disaggregated series for the type of credit taker. We have two configurations: credit for individuals or personal credit, and credit for legal entities or corporate credit. Next, we can observe the composition of total credit concessions based on these two types of borrower.


We can observe a slow decline in the granting of credit to companies, as the proportion is decreasing over time, and currently it is below 50%. People are taking out more credit than companies.

This makes us think about the basic hypothesis of financial cycles in resonance with business cycles: investment and return. Companies are taking out less credit, where less credit means less investment, if there is less investment, then we will have less return. Or we can think of it another way: are companies having difficulty accessing credit lines? Leave your opinion on this in the comments.

Apparently, the promotion of investment in companies via credit is decreasing, but people are accessing more credit. More credit means more debt, greater commitment of income, but it also means more consumption. If people are having less difficulty than companies in accessing credit lines, and this credit is aggregated into several lines, including loans and financing (vehicles and real estate).

If this is true, more credit means increased consumption, which generates more income in the economy, and this could therefore lead to some degree of demand inflation. Have prices been rising? Tell me in the comments if you have observed the price indexes in recent months, and if you have perceived this increase in prices.

One point to note: it is precisely these movements that can generate a possible correction. Greater credit concession is the cyclical expansion, if this credit becomes non-performing, it can generate a correction (recession). Why is this? Because more credit can mean more income in the economy, but it does not necessarily mean greater returns for companies.



Here we have a graph where we can observe the accumulated variation rate throughout the period of the collected time series. It is possible to see exactly this difference between the two types of borrowers.

But I don’t know if you were paying attention when you saw this graph, but it’s all a matter of perspective. I took the trouble to make a cut in this graph, starting from the beginning of the covid-19 pandemic.

I made a cut in the data starting from February 2020, and calculated the variation rates of both. After that, I normalized the series as an accumulated growth rate so that I could observe the trajectory of each of them from the same point, which in this case is zero.



At the beginning of the pandemic, the Federal Government and the National Bank for Economic and Social Development (BNDES) announced credit programs for small businesses, including working capital and payroll financing – but many of these have not reached small businesses.

In addition to this credit initiative, there have been others, but it is from here that we see things changing course. While we see credit being granted to people in general, there has been an increase for companies, and I believe this was the effect of this first credit initiative. But if you are more curious about this subject, access this link with the full news (note: this is in Brazilian Portuguese)

Without further ado, let’s take a look at the behavior of the series. Let’s start with the “Total” series and then look at the personal credit series (here we will call it CCPF - granting of credit to individuals) and corporate credit (here we will call it CCPJ - granting of credit to legal entities).


Credit gap: a warning of recession?

In economic literature, more specifically in macroeconomic theories, there are real business cycles, which are widely used to assess whether economic activity conditions are putting pressure on inflation through a factor called the output gap.

The output gap is an indicator calculated by the difference between a country’s current Gross Domestic Product (GDP) and potential GDP. Potential GDP can be understood as the level of output that a country can produce when its production factors are not idle. The output gap can be positive or negative. A positive gap can indicate the effects of an irresponsible fiscal policy, while a negative gap signals that the economy may be operating below its potential.

Just as this output gap theory works for GDP and its real business cycles, it can also work for financial cycles. Since credit granting is our proxy variable for the financial cycle, we will calculate the credit granting gap, or rather, actual credit and potential credit, to find the gap.

In the literature on the subject, it is common to refer to this process of calculating the gap as “Filtering macroeconomic series”. In other cases, you may find a different term: “Decomposition of time series”.

It doesn’t matter which term we use here, but for the sake of educational example, I will call it decomposition. Why? Because I thought the term decomposition was cooler, since filtering didn’t appeal to me hahahaha. But filtering makes a little more sense, since we will extract the components of the time series, between cycle and trend, since our series is already seasonally adjusted.

Here I will test two methods, a very common one (older, with more criticisms, but on average it works very well) and a modern one (it is a more recent method, and I found it to be very robust).

The most common and simple one is the HP Filter (Hodrick-Prescott), well known in the economic literature. There are many criticisms about it, but I must say that I was impressed, because in some papers I read, it seemed to work very well. I believe that for its time, it must have been the pinnacle. The modern one is a method known as Empirical Mode Decomposition (EMD), but I will use an adapted version, Complete Ensemble Empirical Mode Decomposition with Adaptive Noise (CEEMDAN). I am leaving this paragraph only for the curious!

First we will estimate the trend and cycle through the HP filter, and then through CEEMDAN.



The algorithm is very simple and runs very easily on any computer. The graph above shows us the components of interest: trend and cycle. For now, for educational purposes, we will focus only on the red line, which is what I am interested in.

Now let’s look at the result of the CEEMDAN algorithm, which is a little complicated and requires a much greater computational effort than the HP filter. The graph is not as pretty as the HP filter, but it will show us the components that CEEMDAN calculated for us.



Here it is the same thing, we will focus only on the “residual” series because that is what interests us, as it will be a proxy for the trend, just like in the HP filter.

Now that we have the trend lines of both methods, we will use them to build the comparison graph, between the trends and the total credit granting with seasonal adjustment (an important detail is to always remember the seasonal adjustment).

But before we see the final result, I would like to recall the first paragraphs of this topic, where I comment on the output gap, or rather, on the financial gap (credit gap), where I commented that the gap is found through the difference between the “Effective Factor” and the “Potential Factor”.

For educational purposes, the potential factor will be represented by the trend curve, and the effective factor will be represented by the total credit concession series itself.



Without much mystery, the graph is composed of effective credit and potential credit. In addition, the shaded areas represent the periods of recession dated by the Economic Cycle Dating Committee (CODACE), created by the Brazilian Institute of Economics (FGV IBRE).

But CADACE dated the business cycles (GDP), so I wanted to bring the dates to the graph for comparison. If the hypothesis that the boom in the financial cycle can generate conditions for recession (correction) in the business cycle, then we would be able to observe in the graph, when this information is superimposed.

In this time frame, we can only observe two moments dated as recession, but we have three periods of expansion, in which the last one seems accelerated, which may seem like a boom in the business cycle. I could be wrong, and if you know about this subject, leave it in the comments.

The cool thing is that we can see in the graph that when actual credit persistently exceeds potential credit, there is always room for correction.

The dashed line separates the end of the series from the projection. Here, without further ado, I did not use ARIMA, I used a forecast through a model called Prophet, which, if I’m not mistaken, was created by Facebook (now Meta).

What do you think? Does this graph explain the idea that the financial cycle tends to experience a boom before the start of a recession? Leave your opinion in the comments.

Visualizing gaps


To conclude this first article, let’s look at the graph of the financial gap through the credit cycle estimated by the HP filter and the CEEMDAN algorithm.

For educational purposes, the gap is the difference between potential credit and effective credit.



Tell me in the comments what you think of this chart. Which cycle best captures business cycles?

To conclude, I tried to explore the Harding & Pagan (2002) algorithm for dating cycles. In short, I applied it to the total credit granting series, to try to find short-term cycles.



If you are unable to comment here, you can go to the updated post I made on LinkedIn about this article AT THIS LINK HERE. I would really appreciate it if you would like to contribute to the text, or if you have any corrections or adjustments to suggest to me. Thank you very much for your time.


Hey! 👋, did you find my work useful? Consider buying me a coffee ☕, by clicking here 👇🏻

Reuse

Citation

For attribution, please cite this work as:
Costa, Henrique. 2024. “Financial Cycle: Credit - Part I.” October 19, 2024. https://doi.org/10.59350/tne4j-4je60.