Estimating Latent CDS Default Intensity with a State-Space Model
Summary
This answer outlines a state-space approach to estimating latent default intensity from observed credit default swap quotes across maturities. It models risk-neutral default probability through an intensity process and presents the Cox–Ingersoll–Ross process as one possible positive-valued specification. The unobserved intensity and model parameters must be inferred from quotes that may include observation error.
For a linear observation relationship, the answer sketches discretizing the intensity process, expressing quotes as functions of the latent state, and applying a Kalman filter while optimizing parameters against the observation errors. CDS pricing is nonlinear in intensity, so a standard linear Kalman filter cannot be applied directly; the answer points to an unscented Kalman filter or Markov chain Monte Carlo as alternatives. The explanation is deliberately high level and does not provide state-variable selections, calibration instructions, or the requested MATLAB examples.
Key ideas
- CDS quotes reflect risk-neutral default probabilities that can be modeled through default intensity.
- A CIR process is one proposed model for a positive latent intensity.
- A state-space model links observed CDS quotes to unobserved intensity and parameters.
- The standard Kalman filter applies directly only when the observation model is linear.
- Nonlinear CDS pricing calls for methods such as the unscented Kalman filter or MCMC.
Tags
Full text
# Affine term structure for CDS
# Affine term structure for CDS
in papres such as https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2686284 (Exploring Mispricing in the Term Structure of CDS Spreads by Robert A. Jarrow, Haitao Li, Xiaoxia Ye, and May Hu) a state space model is applied to the term structure of the CDS. what are the variables that make up the state variables? How can I calibrate the uscented kalman filter? Have you some matlab examples?
## Answer by Kermittfrog (score 1, accepted)
https://quant.stackexchange.com/a/58736
In a (very small) nutshell, the estimation idea is the following:
- Quoted CDS contracts are driven by a risk neutral default probability $PD_Q(\tau\leq T)$.
- The default probability is again modeled via a default intensity process $\lambda_t$, i.e. $P_Q(\tau \leq T)=\mathrm{E_Q}\left(e^{-\int_0^T\lambda(s)ds}\right)$
- The default intensity process may be modeled as a CIR process (strictly positive), i.e. $d\lambda_t=\kappa(\theta-\lambda_t)dt+\sigma\sqrt{\lambda_t}dW_t$
Thus we may observe (daily) CDS quotes (at various, fixed, maturities, i.e. 1Y, 3Y, 5Y) but we cannot observe the underlying $-$ model-specific $-$ default intensities. In order to estimate the latent level $\lambda_t$ for each observation time point $t\in(0,1,\ldots ,T)$ as well as all unobservable parameters $\kappa,\theta,\sigma$ we need to find a way to glue observations $CDS_t$ (potentially with an observation error $\epsilon_t$) onto the (latent) state space process and do some inference.
Linear world: If the observation model (CDS quote) were a truly linear function of the underlying intensity, we could very easily make use of the standard Kalman filter machinery:
- Discretize the state space process, i.e. $\lambda_{i+1}=a+b\lambda_{i}+\sigma_iz_{i+1}$
- Formulate the (vector of) observations: $CDS_i=A+B\lambda_i+y_{i}$
- Apply the Kalman Filter (If you want to do full inference (i.e. if you want to find the 'true' underlying distribution etc.), you may need to apply forward and backward sweeps of the Kalman Filter).
- Optimize $\kappa,\theta,\sigma,\lambda_0,...$ so that the likelihood of the CDS observation errors is minimised.
As the CDS pricing equation is not linear in the underlying intensity state, we cannot simply invert the (linear) observation equations, but must resort to more computationally intensive means, e.g. the UKF or even brute force Markov Chain Monte Carlo.
Again: All this on a very high level.Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.