Home   >   User Resources   >   Online Help   >   apaNIGest
 

 

Function index Version 3.0.0

apaNIGest(TimeSeriesMatrix)

Excel=apaNIGest(TimeSeriesMatrix)

Result

Estimates the NIG parameters alpha, beta, mu and delta for each time series by moment matching. Returns a 4 x c matrix, each column containing the parameters of the corresponding time series.

Syntax

TimeSeriesMatrix: r x c data matrix, each column containing a time series

Algorithm

Moment matching.

Remarks

Note that the NIG distribution is only defined when the kurtosis (not excess kurtosis) exceeds 3 + (5/3)·S², where S is the skewness.

Matches the sample mean, sample variance (n − 1), sample skewness and sample excess kurtosis (as Excel SKEW and KURT).

Each column is estimated separately and needs at least 4 observations and must not be constant. With more than one column, columns that cannot be estimated show #N/A; with a single column, an error message is returned.