hess: Deriving the second partial derivatives of the log likelihood...

View source: R/hess.R

hessR 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


BSW documentation built on Nov. 5, 2025, 6:26 p.m.

Related to hess in BSW...