Learn R Programming

SemiParSampleSel (version 1.0)

InfCr: Information Criteria

Description

InfCr can be used to calculate the Akaike information criterion (AIC), corrected AIC and Bayesian information criterion.

Usage

InfCr(x,cr="AIC")

Arguments

x
A fitted SemiParSampleSel object as produced by SemiParSampleSel().
cr
The criterion to be used. Default is AIC; alternatives are AICc and BIC.

Value

  • It returns a numeric value corresponding to the selected criterion.

Details

When comparing fitted objects, the smaller the chosen criterion, the better the fit.

See Also

SemiParSampleSel-package, SemiParSampleSel, summary.SemiParSampleSel

Examples

Run this code
## see examples for SemiParBIVProbit

Run the code above in your browser using DataLab