Description Usage Arguments Value
View source: R/tcensReg_gradient.R
Gradient Vector for Truncated Normal Distribution with Censoring with Linear Equation Mean
| 1 | tcensReg_gradient(theta, y, X, a = -Inf, v = NULL)
 | 
| theta | Numeric vector containing estimates of β and \log(σ) | 
| y | Numeric vector with the observed truncated and censored outcomes | 
| X | Numeric design matrix | 
| a | Numeric scalar indicating the truncation value. Initial value is -Inf indicating no truncation | 
| v | Numeric scalar indicating the censoring value. Initially set to NULL indicating no censoring | 
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.