Learn R Programming

ldsr (version 0.0.2)

negLogLik: Calculates the negative log-likelihood

Description

Calculates the negative log-likelihood

Usage

negLogLik(theta, u, v, y)

Arguments

theta

A vector of model parameters, to be converted to a list

u

Input matrix

v

Input matrix

y

Observations

Value

The negative log-likelihood