This formula reference includes the following formula, sections and terms related to calculating Value at Risk. For a free online training course on calculating value at risk, please see our Value at Risk Crash Course or the Calculating Value at Risk Video training course.
Calculating Value at Risk
- Outstanding term to maturity
- Interpolation of prices and rates
- Excel’s Price formula
- Continuous return of daily prices
- SMA volatility (?)
- EWMA volatility (?)
- Weights and Scaling of weights under the EWMA approach
- Determining daily SMA and EWMA VaR
- Determining the index value for Historical VaR
- Scaling daily VaR
Value at Risk
Outstanding term to maturity
(assumes Actual/ 365 day count convention)

Interpolation
(e.g. interpolation of rates between tenors t and t+1)

Where,
T= outstanding term = t+k years, where t?t+k?t+1 and 0?k? 1
Tt=rounded down value of the outstanding term = t years
Tt+1= t+1 years
Rt=Rate observed at time t years
Rt+1=Rate observed at time t+1 years
Rt+k=Interpolated Rate for time t+k
Excel’s Price formula

Where:
t = number of days from settlement to next coupon date.
E = number of days in coupon period in which the settlement date falls.
N = number of coupons payable between settlement date and redemption date.
A = number of days from beginning of coupon period to settlement date.
Continuous return of daily prices

Where st is the price at time t and
Rt is the continuous rate of return of the daily prices and is calculated as the natural logarithm of successive prices.
SMA volatility (?)

Where Rt is the rate of return at time t and E(R) is the mean of the return distribution, i.e.

‘n’ represents the number of return observations used in the calculations.
EWMA volatility (?)

Where Rt is the rate of return at time t and
? is the decay factor where(0< ? <1). The industry standard of ? is 0.94.
Weights and Scaling of weights under the EWMA approach
As per the EWMA VaR formula the weight for the data (return) point at time t is:

Where ? is the decay factor where(0< ? <1). The industry standard of ? is 0.94.
The sum to infinity of the all the weights is 1. However it is not possible to have infinite data so if the sum of weights is not close to one, certain adjustments are needed. One option is to increase the number of observations used in the data. The second option is to scale the weights by dividing each weight by the following factor:

Where n is the number of return observations.
Determining daily SMA and EWMA VaR
? × z-value of standard normal cumulative distribution corresponding with a specified confidence level
Determining the index value for Historical VaR
Index Value = number of return observations × (1-confidence level%)
Scaling daily VaR
J-day VaR= ?J × (daily VaR)



| Premium Courses |








