Learn R Programming

gk (version 0.6.0)

Qgh_deriv: g-and-h Q derivative

Description

Derivative of the g-and-h Q function.

Usage

Qgh_deriv(
  z,
  A,
  B,
  g,
  h,
  c = 0.8,
  getR = FALSE,
  type = c("generalised", "tukey")
)

Value

The derivative of the g-and-h Q function at p.

Arguments

z

A vector of normal quantiles.

A

Vector of A (location) parameters.

B

Vector of B (scale) parameters. Must be positive.

g

Vector of g parameters.

h

Vector of h parameters. Must be positive.

c

Vector of c parameters. Often fixed at 0.8 which is the default.

getR

When TRUE returns a faster partial calculation that has the same sign as the derivative (Used in checking parameter validity.)

type

Can be "generalised" (default) or "tukey".