Learn R Programming

switchSelection (version 1.1.2)

logLik.mnprobit: Extract Log-Likelihood from a Fit of the mnprobit Function.

Description

Extract Log-Likelihood from a model fit of the mnprobit function.

Usage

# S3 method for mnprobit
logLik(object, ...)

Value

Returns an object of class 'logLik'.

Arguments

object

object of class "mnprobit"

...

further arguments (currently ignored)

Details

If estimator == "2step" in mnprobit then function may return NA value since two-step estimator of covariance matrix may be not positively defined.