logL: Log-likelihood for multinomial regression model

View source: R/logL.R

logLR Documentation

Log-likelihood for multinomial regression model

Description

Computes the log-likelihood of the fitted regression parameters given the data observed. Intended for internal use only.

Usage

logL(B, b, X, Y)

Arguments

B

Regression coefficient matrix

b

Regression intercept vector

X

Covariate matrix

Y

Multinomial response matrix

Value

The log-likelihood of B and b given X and Y

Author(s)

Scott Powers, Trevor Hastie, Rob Tibshirani

See Also

nuclear, objective


npmr documentation built on Nov. 12, 2023, 1:08 a.m.