Description Usage Arguments Details Value Author(s) References Examples
Density, distribution function, quantile function, and random generation for Tukey's gh distribution.
1 2 3 4 |
x, q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. |
A |
location parameter. |
B |
scale parameter, has to be positive. |
g |
skewness parameter. |
h |
kurtosis parameter. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p) |
Tukey's gh distribution with location parameter A, scale parameter B, skewness parameter g, and kurtosis parameter h is obtained by transforming a standard normal variable X by
T(X)=A+B exp(h/2 X^2)(exp(gX)-1)/g
if g is not equal to zero, and else by
T(X)=A+B exp(h/2 X^2) X.
dgh gives the density, pgh gives the distribution function, qgh gives the quantile function, and rgh generates random deviates.
The length of the result is determined by n for rgh, and is the length of the numerical arguments for the other function.
Linda Moestel
Tukey, J. W. (1960): The Practical Relationship between the Common Transformations of Counts of Amounts. Technical Report 36, Princeton University Statistical Techniques Research Group, Princeton.
Klein, I. and Fischer, M. (2002): Symmetrical gh-transformed Distributions. in S. Mittnek and I. Klein: Contributions to Modern Econometrics, Kluwer Academic Publishers.
Pfaelzner, F. (2017): Einsatz von Tukey-type Verteilungen bei der Quantifizierung von operationellen Risiken. MMasterthesis Friedrich-Alexander-University Erlangen-Nueremberg.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.