nll_logit: Calculate the negative log likelihood of an entire data set

Description Usage Arguments

View source: R/nll_logit.R

Description

This function calculate the negative log likelihood of an entire data set.

Usage

1
nll_logit(dataNumeric, betaDotX, xIndices, yIndex)

Arguments

dataNumeric

The numeric format of the given data set. Variable values start from 0. Obtained by using the function factor2numeric().

betaDotX

Inner product of logit parameters beta and a data point X.

xIndices

Indices of the input variables.

yIndex

Input of the output/target variable.


kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.