gradF {BSW}R Documentation

Deriving the first derivatives of the log likelihood function of the log-binomial model in bsw()

Description

gradF() derives the first derivatives of the log likelihood function of the log-binomial model.

Usage

gradF(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 vector containing the first derivatives of the log likelihood function of the log-binomial model.

Author(s)

Adam Bekhit, Jakob Schöpe


[Package BSW version 0.1.1 Index]