Learn R Programming

OBRE (version 0.2-0)

NlLike: Negative Log-Likelihood

Description

The function compute the Negative Log-Likelihood value that has to be used for optimization in MLE function.

Usage

NlLike(nvTheta, nvData, lDensityExpr)

Value

Negative log likelihood value.

Arguments

nvTheta

Parameters of the distribution.

nvData

The vector of the data.

lDensityExpr

The distribution density espressions.