Evaluate at a particular set of parameters the gradient and Hessian of the Gompertz function.
gompertz_gradient(x, theta)gompertz_hessian(x, theta)
gompertz_gradient_hessian(x, theta)
Gradient or Hessian evaluated at the specified point.
numeric vector at which the function is to be evaluated.
numeric vector with the four parameters in the form
c(alpha, delta, eta, phi)
.
The Gompertz function f(x; theta)
is defined here as
g(x; theta) = exp(-exp(-eta * (x - phi)))
f(x; theta) = alpha + delta g(x; theta)
where theta = c(alpha, delta, eta, phi)
and eta > 0
. When delta
is
positive (negative) the curve is monotonically increasing (decreasing).