logL {npmr}R 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


[Package npmr version 1.3.1 Index]