This function is part of the supporting function space to calculate the value of the log-likelihood at the nth iteration of theta. For this parametrization we assume that there exists (p-1) linear parameters for the mean and J separate variance parameters.
tcensReg_llike_sepvar(theta, y, X, group, a = -Inf, v = NULL)
Numeric vector containing the values at the present iterate for the (p-1) fixed mean parameters and the J log sigma values
Numeric vector containing the outcome
Numeric design matrix
Factor variable used to define the J groups
Numeric scalar defining the common truncation value for each Truncated Normal
Numeric scalar defining the common censoring value
Scalar value of the log-likelihood at the nth-iterate