Learn R Programming

switchSelection (version 1.1.2)

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

Description

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

Usage

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

Value

Returns an object of class 'logLik'.

Arguments

object

object of class "mvoprobit"

...

further arguments (currently ignored)

Details

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