May 24th, 2012, 9:20 pm
Here you go roomer. The spreadsheet now includes the VBA code to calculate the CoSkewness and CoKurtosis tensor matrices which can be used to decompose portfolio risk for the Cornish Fisher (Modified) VaR and CVaR. Please note this is not the most efficient way to calculate these matrices as only the unique elements need be stored in practice see Fowler (2005). They also scale very poorly as the number of assets (n) gets large so it should really only be used for illustrative purposes. Moreover, the Cornish Fisher modification to the normal distribution, although attractive because of its ease of calculation, is subject to a number of problems including a lack of monotonicity and tail instability even at low levels of skewness and kurtosis see my recent presentation on Why Distributions Matter for more on this.
-
Attachments
-
Coskew and CoKurtosis with VBA.zip
- (181.84 KiB) Downloaded 72 times