Learn R Programming

npmr (version 1.3.1)

logL: 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)

Value

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

Arguments

B

Regression coefficient matrix

b

Regression intercept vector

X

Covariate matrix

Y

Multinomial response matrix

Author

Scott Powers, Trevor Hastie, Rob Tibshirani

See Also

nuclear, objective