ISOpureS2.model_optimize.kappa.kappa_deriv_loglikelihood function

Compute derivative of loglikelihood with respect to kappa for step 2

Compute derivative of loglikelihood with respect to kappa for step 2

Computes the derivative of the part of the loglikelihood function relevant to optimizing kappa for step 2. Instead of performing constrained optimization on kappa directly, we optimize the log of kappa in an unconstrained fashion.

ISOpureS2.model_optimize.kappa.kappa_deriv_loglikelihood(log_kappa, model)

Arguments

  • log_kappa: the 1xD matrix log(kappa - model$MIN_KAPPA)
  • model: list containing all the parameters to be optimized

Returns

The negative derivative of the part of the loglikelihood function relevant to kappa with respect to log kappa (a Dx1 matrix).

Author(s)

Gerald Quon, Catalina Anghel, Francis Nguyen

  • Maintainer: Paul C Boutros
  • License: GPL-2
  • Last published: 2019-05-11

Useful links