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

Compute loglikelihood relevant to kappa for step 2

Description

Computes 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_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 of the loglikelihood relevant to optimizing kappa

Author(s)

Gerald Quon, Catalina Anghel, Francis Nguyen


[Package ISOpureR version 1.1.3 Index]