ISOpureS2.model_optimize.kappa.kappa_deriv_loglikelihood {ISOpureR}R Documentation

Compute derivative of loglikelihood with respect to kappa for step 2

Description

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.

Usage

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

Value

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


[Package ISOpureR version 1.1.3 Index]