Description Usage Arguments Value
View source: R/tcensReg_llike_sepvar.R
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.
1 | tcensReg_llike_sepvar(theta, y, X, group, a = -Inf, v = NULL)
|
theta |
Numeric vector containing the values at the present iterate for the (p-1) fixed mean parameters and the J log sigma values |
y |
Numeric vector containing the outcome |
X |
Numeric design matrix |
group |
Factor variable used to define the J groups |
a |
Numeric scalar defining the common truncation value for each Truncated Normal |
v |
Numeric scalar defining the common censoring value |
Scalar value of the log-likelihood at the nth-iterate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.