...
To reverse engineer the VaR Volatility equation:
Starting with the original equation,
subtract VaR from both sides of the equation, multiply T through the first term, and rearrange the order of items in various terms.Define the following variables:
Substitute a, b, and c into the latest equation. The equation is reduced to a standard quadratic equation:
This equation has two solutions, called roots, forthat are given by the quadratic formula:
Solve for
The reverse engineered solution to is the positive root of the quadratic formula. The algorithm uses the assumption that the risk free rates are not already de-annualized. This is done during the calculation process using a default of 365 days for annualization. The calculation is based on the inputs previously discussed, along with the number of trading days.