This function interchanges between the following 5 parameterizations of the generalized hyperbolic distribution:
1.
2.
3.
4.
5.
The first four are the parameterizations given in Prause (1999). The final parameterization has proven useful in fitting.
ghypChangePars(from, to, param, noNames = FALSE)
A numerical vector of length 5 representing param
in the
to
parameterization.
The set of parameters to change from.
The set of parameters to change to.
"from" parameter vector consisting of 5 numerical elements.
Logical. When TRUE
, suppresses the parameter
names
in the output.
David Scott d.scott@auckland.ac.nz, Jennifer Tso, Richard Trendall
In the 5 parameterizations, the following must be positive:
1.
2.
3.
4.
5.
Furthermore, note that in the first parameterization
Barndorff-Nielsen, O. and Blæsild, P. (1983). Hyperbolic distributions. In Encyclopedia of Statistical Sciences, eds., Johnson, N. L., Kotz, S. and Read, C. B., Vol. 3, pp. 700--707. New York: Wiley.
Prause, K. (1999) The generalized hyperbolic models: Estimation, financial derivatives and risk measurement. PhD Thesis, Mathematics Faculty, University of Freiburg.
dghyp
param1 <- c(0, 3, 2, 1, 2) # Parameterization 1
param2 <- ghypChangePars(1, 2, param1) # Convert to parameterization 2
param2 # Parameterization 2
ghypChangePars(2, 1, param2) # Back to parameterization 1
Run the code above in your browser using DataLab