apaCFsim(n, mu, sigma, skewness, kurtosis)
Excel
=apaCFsim(n, mu, sigma, skewness, kurtosis)Result
Simulates random drawings from a distribution based on the Cornish-Fisher expansion.
Syntax
n: number of observations to simulate
mu: location parameter
sigma: scale parameter
skewness: skewness parameter
kurtosis: Excess kurtosis parameter of the Cornish-Fisher expansion (see apaCFmom for the resulting moments)
