Description Usage Arguments Value
View source: R/tcensReg_gradient_sepvar.R
Analytic Gradient Vector for J Independent Truncated Normal Random Variables with Separate Variance
1 | tcensReg_gradient_sepvar(theta, y, X, group, a = -Inf, v = NULL)
|
theta |
Numeric vector numeric vector containing estimates of beta and log sigma |
y |
Numeric vector with the observed truncated and censored outcomes |
X |
Numeric design matrix |
group |
Character vector identifying the group membership for the independent truncated normal variables. This defines the |
a |
Numeric scalar indicating the truncation value |
v |
Numeric scalar indicating the censoring value |
Vector of gradient values with p-1 beta parameters and log sigma for the nth iterate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.