LogLikelihood: Log-Likelihood

Description Usage Arguments Value

View source: R/LogLikelihood.R

Description

Computes the log-likelihood for a model. Used by optim on occasion.

Usage

1

Arguments

beta

A vector of coefficients in a logistic GLM.

X

The design matrix.

Y

The outcome.

Value

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


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