IFRS9, PiTPD, and the Kalman Filter
Contents
Prior to the adoption of International Financial Reporting Standard 9 (IFRS9), provisioning were made only after exposures had turned delinquent. This “after-the-fact” shortcoming was heavily criticized for painting rosy pictures of the health of financial institutions before the 2008 Global Financial Crisis.
IFRS9 addressed the shortcoming by introducing the concept of expected credit loss (ECL). The calculation of ECL is quite daunting. One of the inputs that required in the calculation is the default probability of an obligor given a certain economic state. This is the so-called point-in-time PD (PiT PD).
One of the approaches of obtaining PiT PD is via Vasicek’s model. Specifically, Vasicek’s model postulates that PiT PD is given by
where:
PiT PD is conditioned on 
This post shows how 
1.0 The Data
Due to the lack of long real GDP series in Malaysia (at the same constant prices), nominal GDP is used. The nominal GDP series spans 1963 to 2019. The analysis below uses the annual growth rate of the series.
2.0 The Model
The annual nominal GDP growth rate is observable. However, it may not reflect the true state of the economy. The true state of an economy is not directly observable.
Let 
where
The first equation is called the observation equation and the second equation is called the state equation. For the purpose of this post, the following conditions are imposed:
3.0 Estimation
The model in state-space form can be estimated using the Kalman Filter and the maximum likelihood approach. This is done below by using the astsa package in R.
The estimated values for 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
Next, the following codes are used to obtain 
|  |  | 
4.0 Forecasting
For the application in IFRS9, in-sample 
|  |  | 
5.0 Complex Model
A much more complex model can be specified.  Suppose that the observable variable 
This model has been proposed by Chatterjee (2015). In state-space form, the model can be written as
where:
There are 5 parameters (i.e 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
From the graph below, it can be seen that downturns as suggested by relatively large negative values of 
note
The forecasting algorithm for the complex model is different and is more complicated. Its analysis is omitted.
6.0 Conclusion
The Kalman Filter can be a handy tool for obtaining the required input for PiT PD calculation. However, for complex models, putting the models in state-space form could be a challenge. Another point worth mentioning is when estimating a complex model, the selection of initial values are critical.



