tcensReg_hess: Hessian Matrix for Truncated Normal Distribution with...

Description Usage Arguments Value

View source: R/tcensReg_hess.R

Description

Hessian Matrix for Truncated Normal Distribution with Censoring with Linear Equation Mean

Usage

1
tcensReg_hess(theta, y, X, a = -Inf, v = NULL)

Arguments

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

Value

Matrix of Hessian values for the nth iterate


williazo/tcensReg documentation built on July 24, 2020, 1:39 a.m.