SampleSkewnessCalculator skewness = new SampleSkewnessCalculator();
double[] spreads = getSpreads(underlyingPool, creditSpreadTenors, creditSpreadTermStructures, creditSpreadTenor);
return skewness.evaluate(spreads);
}
// ----------------------------------------------------------------------------------------------------------------------------------------
// Calculate the excess kurtosis of the spread of the obligors in the underlying pool for a given tenor