Skip to contents

Computes \(-epn \times H1(epn \times y)\), typically used in partial derivatives of log-likelihood.

Usage

eta1G.f(epn, y, H1)

Arguments

epn

Numeric value, e.g., \(\exp(Z \beta)\).

y

Numeric scalar or vector.

H1

A function. The first derivative of H.

Value

A numeric value.