LogLikelihood_offset: Log-Likelihood Offset

Description Usage Arguments Value

View source: R/LogLikelihood.R

Description

Computes the log-likelihood for a logistic regression model with an offset. Used by optim on occasion.

Usage

1

Arguments

beta

A vector of coefficients in a logistic GLM.

Y

A vector of the outcome.

H

The matrix of covariates.

offset

The vector of offsets.

Value

Numeric of the summed negative log-likelihood loss over observations.


survtmle documentation built on May 2, 2019, 9:44 a.m.