hess {BSW}R Documentation

Deriving the second partial derivatives of the log likelihood function of the log-binomial model in bsw() (Hessian matrix)

Description

hess() derives the second partial derivatives of the log likelihood function of the log-binomial model.

Usage

hess(theta, y, x)

Arguments

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.

Value

A numeric matrix containing the second partial derivatives of the log likelihood function of the log-binomial model (Hessian matrix).

Author(s)

Adam Bekhit, Jakob Schöpe


[Package BSW version 0.1.1 Index]