param: The maximum likelihood estimates parameter vector of the hyperbolic distribution. There are five different sets of parameterazations can be used in this function, the first four sets are listed in hyperbChangePars and the last set is the log scale of the first set of the parameterization, i.e., mu,log(delta),Pi,log(zeta).
hessianMethod: Two methods are available to calculate the Hessian exactly ( "exact") or approximately ("tsHessian").
whichParam: Numeric. A number between 1 to 5 indicating which set of the parameterization is the specified value in argument param belong to.
mu: Value of the parameter mu of the hyperbolic distribution.
delta: Value of the parameter delta of the hyperbolic distribution.
r: Parameter used in calculating a cumulative sum of the data vector x.
k: Parameter used in calculating a cumulative sum of the data vector x.
Details
The formulae for the exact Hessian are derived by Maple
software with some simplifications. For now, the exact Hessian can only be obtained based on the first, second or the last parameterization sets. The approximate Hessian is obtained via a call to tsHessian from the package DistributionUtils. summary.hyperbFit calls the function hyperbHessian to calculate the Hessian matrix when the argument hessian = TRUE.
Returns
hyperbHessian gives the approximate or exact Hessian matrix for the data vector x and the estimated parameter vector param. sumX is a sum term used in calculating the exact Hessian. It is called by hyperbHessian when the argument hessianMethod = "exact". It is not expected to be called directly by users.