apaVaR.NIG(Returns, ConfidenceLevel)
Excel
=apaVaR.NIG(Returns, ConfidenceLevel)Result
Returns the parametric normal inverse Gaussian (NIG) value at risk (VaR).
Syntax
Returns: r x 1 vector of returns
ConfidenceLevel: confidence level, e.g. 0.95.
Remarks
The NIG parameters are estimated by moment matching.
Note that the NIG distribution is only defined when the kurtosis (not excess kurtosis) exceeds 3 + (5/3)·S², where S is the skewness.
The NIG parameters match the sample mean, sample variance (n − 1), sample skewness and sample excess kurtosis.
