bsw()
(Hessian matrix)hess()
derives the second partial derivatives of the log likelihood function of the log-binomial model.
hess(theta, y, x)
A numeric vector containing the initial values of the model parameters.
A numeric vector containing the dependent variable of the model.
The model matrix.
A numeric matrix containing the second partial derivatives of the log likelihood function of the log-binomial model (Hessian matrix).