LogLikelihood_offset: Log-Likelihood Offset
Description
Computes the log-likelihood for a logistic regression model with an offset.
Used by optim
on occasion.
Usage
LogLikelihood_offset(beta, Y, H, offset)
Arguments
beta
A vector of coefficients in a logistic GLM.
H
The matrix of covariates.
Value
Numeric of the summed negative log-likelihood loss over observations.