ghypChangePars function

Change Parameterizations of the Generalized Hyperbolic Distribution

Change Parameterizations of the Generalized Hyperbolic Distribution

This function interchanges between the following 4 parameterizations of the generalized hyperbolic distribution:

  1. lambda,alpha,beta,delta,mulambda, alpha, beta, delta, mu

  2. lambda,zeta,rho,delta,mulambda, zeta, rho, delta, mu

  3. lambda,xi,chi,delta,mulambda, xi, chi, delta, mu

  4. c("%", "\n\n", "lambda,alphabar,betabar,delta,mu lambda, alpha bar, beta bar, delta, mu")

These are the parameterizations given in Prause (1999)

ghypChangePars(from, to, Theta, noNames = FALSE)

Arguments

  • from: The set of parameters to change from.
  • to: The set of parameters to change to.
  • Theta: "from" parameter vector consisting of 5 numerical elements.
  • noNames: Logical. When TRUE, suppresses the parameter names in the output.

Details

In the 4 parameterizations, the following must be positive:

  1. alpha,deltaalpha, delta

  2. zeta,deltazeta, delta

  3. xi,deltaxi, delta

  4. alphabar,deltaalpha bar, delta

Furthermore, note that in the first parameterization alphaalpha must be greater than the absolute value of betabeta; in the third parameterization, xixi

must be less than one, and the absolute value of chichi must be less than xixi; and in the fourth parameterization, alphabaralpha bar must be greater than the absolute value of betabarbeta bar.

Returns

A numerical vector of length 5 representing Theta in the to parameterization.

References

Barndorff-Nielsen, O. and , 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.

Author(s)

David Scott d.scott@auckland.ac.nz , Jennifer Tso, Richard Trendall

See Also

dghyp

Examples

Theta1 <- c(2,2,1,3,0) # Parameterization 1 Theta2 <- ghypChangePars(1, 2, Theta1) # Convert to parameterization 2 Theta2 # Parameterization 2 ghypChangePars(2, 1, as.numeric(Theta2)) # Convert back to parameterization 1