R/I_shashCDF.R

Defines functions .shashCDF

####
# CDF of shash density
.shashCDF <- function(q, param) {

  mu <- param[1]
  sig <- exp(param[2])
  eps <- param[3]
  del <- exp(param[4])
  
  return( pnorm(sinh((asinh((q - mu)/(del * sig)) - eps/del) * del)) )
  
}

Try the qgam package in your browser

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

qgam documentation built on April 11, 2025, 6:16 p.m.