#include <LiborFactorLoading.h>
With continuous times, set and
and let be the matrix
Here angular brackets denote the covariation process as usual and is the covariation matrix of the on the interval . This matrix and its upper triangular root are used in the simulation of the time step s->t for the process Y and related processes.
More precisely to simulate the time step (here t is discrete time) we need the matrix ,
for the drift step as well as its upper triangular root R satisfying for the volatility step.
If a low factor model with r factors is desired we need an approximation , where R(t) has rank at most r and more precisely dimension . The best approximation is obtained by diagonalizing the matrix as where H is a unitary matrix and the eigenvalues of H. One then sets
where the are the columns of H.
Definition at line 131 of file LiborFactorLoading.h.
|
|
|
Definition at line 211 of file LiborFactorLoading.h. |
|
Type object, contains integer and string IDs of the VolSurface and Correlations. Definition at line 156 of file LiborFactorLoading.h. |
|
Number Definition at line 160 of file LiborFactorLoading.h. |
|
Array of accrual intervals . Definition at line 164 of file LiborFactorLoading.h. |
|
Array of continuous Libor reset times . Definition at line 168 of file LiborFactorLoading.h. |
|
Libor reset date . Definition at line 171 of file LiborFactorLoading.h. References Real. |
|
The array of initial Libors . Definition at line 175 of file LiborFactorLoading.h. |
|
The array of initial XLibors . Definition at line 179 of file LiborFactorLoading.h. |
|
The scaling factor . See book, 6.11.1. Definition at line 183 of file LiborFactorLoading.h. |
|
The instantaneous log-Libor correlations. |
|
The VolSurface of the factor loading. Definition at line 190 of file LiborFactorLoading.h. |
|
The Correlations of the factor loading. Definition at line 193 of file LiborFactorLoading.h. |
|
Set the parameters of the factorloading from the vector X. The first 4 coordinates populate the VolSurface the rest goes to the Correlations. Index base of u must be zero. |
|
Volatility of forward Libor . See book, 6.4.
|
|
The integral neeeded for the distribution of time step increments s->t. See book, 6.5.1.
|
|
Annualized volatility of Libor . |
|
The upper triangular half of the covariation matrix CV(p,q,s,t).
|
|
The upper triangular half of the covariation matrix CV(t). This is the matrix needed for the drift part of the Libor process time step .
|
|
The upper triangular root R of the covariation matrix CV(t). This matrix is needed for the volatility part of the Libor process time step .
|
|
Rank r approximate root R of the covariation matrix CV(t). Best approximation , with R of rank at most r. This matrix is needed for the volatility part of the Libor process time step .
|
|
Examines how dominant are the first r eigenvalues of the covariation matrix CV(p,q,s,t)=(C_ij) with entries This matrix is needed for the Libor time step s->t. |
|
Examines how dominant are the first r eigenvalues of the covariation matrix CV(t)=(C_ij) with entries This matrix is needed for the Libor time step . |
|
Test the roots of all logLiborCovariationMatrix(int t). |
|
Computes approximate rank r factorizations C(t)=R(t)R(t)' for all the matrices logLiborCovariationMatrix(int t) and prints the relative error. |
|
Returns sample factor loading in dimension n.
|
|
Message and fields. |
|
Definition at line 135 of file LiborFactorLoading.h. |
|
Definition at line 137 of file LiborFactorLoading.h. |
|
Definition at line 139 of file LiborFactorLoading.h. |
|
Definition at line 140 of file LiborFactorLoading.h. |
|
Definition at line 141 of file LiborFactorLoading.h. |
|
Definition at line 142 of file LiborFactorLoading.h. |
|
Definition at line 143 of file LiborFactorLoading.h. |
|
Definition at line 145 of file LiborFactorLoading.h. |
|
Definition at line 146 of file LiborFactorLoading.h. |
|
Definition at line 147 of file LiborFactorLoading.h. |