logLik.mnprobit {switchSelection} | R Documentation |
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 class 'mnprobit'
logLik(object, ...)
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.
Value
Returns an object of class 'logLik'.
[Package switchSelection version 1.1.2 Index]