Learn R Programming

ISOpureR (version 1.1.3)

ISOpureS2.model_optimize.vv.vv_compute_loglikelihood: Compute loglikelihood relevant to vv for step 2

Description

Computes the part of the loglikelihood function relevant to optimizing vv for step 2.

Usage

ISOpureS2.model_optimize.vv.vv_compute_loglikelihood(ww, sum_log_theta, D)

Arguments

ww

log(vv-1), a Kx1 matrix

sum_log_theta

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

D

the number of patients (a scalar)

Value

The negative of the loglikelihood relevant to optimizing vv