| sn_match | R Documentation |
Inverts the skew-normal moment formulas to convert
(mu, sigma, gamma) into (xi, omega, alpha) parameters.
Returns NULL with a warning when |gamma| exceeds the
skew-normal ceiling (~0.9953) – in that regime the third cumulant
cannot be matched by any skew-normal and the caller should fall back
to direct-quadrature quantiles.
sn_match(mu, sigma, gamma)
mu |
Posterior mean (numeric, length 1). |
sigma |
Posterior standard deviation (positive numeric, length 1). |
gamma |
Posterior skewness (numeric, length 1). |
Named list with elements xi, omega, alpha;
or NULL if |gamma| >= .SN_GAMMA_MAX.
Azzalini, A. (1985). A class of distributions which includes the normal ones. Scand. J. Statist. 12: 171-178.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.