R/dshyperb.R

Defines functions dshyperb

Documented in dshyperb

dshyperb <- function(x, rho = 0, zeta = 1, param = c(rho,zeta)){
  ## Purpose: Calculate the density of the standardised hyperbolic
  ## ----------------------------------------------------------------------
  ## Arguments:
  ## ----------------------------------------------------------------------
  ## Author: David Scott, Date:  5 Jan 2011, 05:16
  rho <- param[1]
  zeta <- param[2]

  paramStar <- hyperbStandPars(rho, zeta)
  dens <- dhyperb(x, param = paramStar)
  return(dens)
}

Try the GeneralizedHyperbolic package in your browser

Any scripts or data that you put into this service are public.

GeneralizedHyperbolic documentation built on Nov. 26, 2023, 5:07 p.m.