apaCFsim.Correlated(nSims, CFparameters, Correlations)
Excel
=apaCFsim.Correlated(nSims, CFparameters, Correlations)Result
Simulates correlated random drawings from distributions based on the Cornish-Fisher expansion.
Syntax
nSims: number of observations to simulate
CFparameters: 4 x c matrix of Cornish-Fisher parameters (location, scale, skewness and excess kurtosis parameters, e.g. from apaCFcal), each column containing a variable
Correlations: c x c rank correlation matrix
Remarks
Correlations are measured in unit space, i.e. the resulting drawings are rank correlated in return space.
