June 15th, 2014, 9:31 pm
QuoteOriginally posted by: mathmarcQuoteOriginally posted by: surya2centsIs there a fast approximate Jacobian calculation of swaps with respect to libor and discount curves? Why do you want an approximate calculation? Why not an exact one? Specially if you want to use it for risk management, it is better to have an exact matrix.Algorithmic Differentiation (AD) provides a fast exact calculation. In AD, fast mean that computing the sensitivity of the output (PV) with respect to the input (curve parameters) takes less than 3 times the time required for one PV (even if there are 100 dependent nodes in your curves and thus 100 sensitivities to compute). From my experience, having implemented it for a full quantitatve finance library, it is very efficient and decently easy to put in place (if your library has been design from the start with AD in mind).Bearish: I'm not familiar with Miron and Swannell book. What is their suggestion to speed the curve calibration with a large number of node?I don't think I ever read the book, but I saw some of the ideas implemented by one of the authors in Excel 4 macro language (which I suspect may still run somewhere). The point, as I recall it, was basically to obtain hedges efficiently by having precomputed the sensitivity of the curve points to the hedging instruments. Undoubtedly, more modern approaches would be preferred today.