powered by
Generate n pseudo random numbers from a p dimensional generalized hyperbolic distribution.
rGHD(n,p, mu=rep(0,p),alpha=rep(0,p),sigma=diag(p),omega=1,lambda=0.5)
number of observations.
number of variables.
(optional) the p dimensional mean
(optional) the p dimensional skewness parameter alpha
(optional) the p x p dimensional scale matrix
(optional) the unidimensional concentration parameter omega
(optional) the unidimensional index parameter lambda
A n times p matrix of numbers psudo randomly generated from a generilzed hyperbolic distribution
The default values are: 0 for the mean and the skweness parameter alpha, diag(p) for sigma, 1 for omega, and 0.5 for lambda.
R.P. Browne, and P.D. McNicholas (2015). A Mixture of Generalized Hyperbolic Distributions. Canadian Journal of Statistics, 43.2 176-198
# NOT RUN { data=rGHD(300,2,alpha=c(2,-2)) plot(data) # }
Run the code above in your browser using DataLab