Home   >   User Resources   >   Online Help   >   apaNormalMixture.Moments
 

 

Function index Version 3.0.0

apaNormalMixture.Moments(Weights, Means, CovariancesVech)

Excel=apaNormalMixture.Moments(Weights, Means, CovariancesVech)

Result

Returns the means, volatilities, skewness, excess kurtosis and correlations of a normal mixture distribution with any number of components.

Syntax

Weights: nComponents x 1 vector of mixture weights

Means: nComponents x nAssets matrix of component means

CovariancesVech: nComponents x nAssets(nAssets+1)/2 matrix, each row containing the vech of a component covariance matrix (lower triangle including the diagonal, stacked column by column)

Algorithm

The weights are normalized to sum to one. With component weights w(k), means μ(k) and covariance matrices Σ(k), the mixture mean is μ = Σ w(k) μ(k) and the mixture covariance matrix is Σ w(k) (Σ(k) + d(k) d(k)′) with d(k) = μ(k) − μ. For each asset, the third and fourth central moments are Σ w(k) (3 d s + d³) and Σ w(k) (3 s² + 6 d² s + d⁴), where d is the asset's element of d(k) and s its variance in component k; skewness and excess kurtosis divide them by σ³ and σ⁴ (minus 3).

The output has 4 + nAssets rows and nAssets columns: means, volatilities, skewness, excess kurtosis, followed by the correlation matrix.