hess {BSW} | R Documentation |
bsw()
(Hessian matrix)hess()
derives the second partial derivatives of the log likelihood function of the log-binomial model.
hess(theta, y, x)
theta |
A numeric vector containing the initial values of the model parameters. |
y |
A numeric vector containing the dependent variable of the model. |
x |
The model matrix. |
A numeric matrix containing the second partial derivatives of the log likelihood function of the log-binomial model (Hessian matrix).
Adam Bekhit, Jakob Schöpe