Description Usage Arguments Value
View source: R/tcensReg_gradient_sepvar_maxLik.R
maxLik Gradient Vector for J Independent Truncated Normal Random Variables with Separate Variance
1 2 3 4 5 6 7 8 | tcensReg_gradient_sepvar_maxLik(
theta,
y,
X,
group,
left_trunc = -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 |
left_trunc |
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.