Learn R Programming

SemiParSampleSel (version 1.5)

logLik.SemiParSampleSel: Extract the log likelihood for a fitted SemiParSampleSel

Description

It extracts the log-likelihood for a fitted SemiParSampleSel model.

Usage

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

Arguments

object
A fitted SemiParSampleSel object as produced by SemiParSampleSel().
...
Un-used for this function.

Value

Standard logLik object.

Details

Modification of the classic logLik which accounts for the estimated degrees of freedom used in SemiParSampleSel objects. This function is provided so that information criteria work correctly with SemiParSampleSel objects by using the correct degrees of freedom.

See Also

AIC, BIC

Examples

Run this code
## see examples for SemiParSampleSel

Run the code above in your browser using DataLab