Learn R Programming

ISOpureR (version 1.1.3)

ISOpure.model_optimize.vv.vv_deriv_loglikelihood: Compute the derivative of the loglikelihood relevant to vv for step 1

Description

Computes the derivative of the loglikelihood function relevant to optimizing vv for step 1

Usage

ISOpure.model_optimize.vv.vv_deriv_loglikelihood(ww, sum_log_theta, DD)

Arguments

ww

log(vv-1), a Kx1 matrix

sum_log_theta

the column sums of log(theta), a 1xK matrix

DD

the number of patients (a scalar)

Value

The negative derivative of the part of the loglikelihood function relevant to vv with respect to (log) vv