Learn R Programming

ordinalCont (version 1.3.0)

negloglik4: Penalized log-likelihood function

Description

Computes the penalized log-likelihood function

Usage

negloglik4(par, v, pars_obj, wts)

Arguments

par

vector of regression coefficients

v

vector of standardized scores from the continuous ordinal scale

pars_obj

the current object of class ocmpars.

wts

optional case weights

Value

Minus the penalized log-likelihood at parameter values par

Details

This function computes minus the penalized log-likelihood function. It is used internally to fit the model and should not be of interest of the user.