Learn R Programming

sfaR (version 1.0.0)

ic: Extract information criteria of stochastic frontier models

Description

ic returns information criterion from stochastic frontier models estimated with sfacross, sfalcmcross, or sfaselectioncross.

Usage

# S3 method for sfacross
ic(object, IC = "AIC", ...)

# S3 method for sfalcmcross ic(object, IC = "AIC", ...)

# S3 method for sfaselectioncross ic(object, IC = "AIC", ...)

Value

ic returns the value of the information criterion (AIC, BIC or HQIC) of the maximum likelihood coefficients.

Arguments

object

A stochastic frontier model returned by sfacross, sfalcmcross, or sfaselectioncross.

IC

Character string. Information criterion measure. Three criteria are available:

  • 'AIC' for Akaike information criterion (default)

  • 'BIC' for Bayesian information criterion

  • 'HQIC' for Hannan-Quinn information criterion

.

...

Currently ignored.

Details

The different information criteria are computed as follows:

  • AIC: \(-2 \log{LL} + 2 * K\)

  • BIC: \(-2 \log{LL} + \log{N} * K\)

  • HQIC: \(-2 \log{LL} + 2 \log{\left[\log{N}\right]} * K\)

where \(LL\) is the maximum likelihood value, \(K\) the number of parameters estimated and \(N\) the number of observations.

See Also

sfacross, for the stochastic frontier analysis model fitting function using cross-sectional or pooled data.

sfalcmcross, for the latent class stochastic frontier analysis model fitting function using cross-sectional or pooled data.

sfaselectioncross for sample selection in stochastic frontier model fitting function using cross-sectional or pooled data.

Examples

Run this code

if (FALSE) {
## Using data on Swiss railway
# LCM (cost function) half normal distribution
cb_2c_u <- sfalcmcross(formula = LNCT ~ LNQ2 + LNQ3 + LNNET + LNPK + LNPL,
udist = 'hnormal', uhet = ~ 1, data = swissrailways, S = -1, method='ucminf')
ic(cb_2c_u)
ic(cb_2c_u, IC = 'BIC')
ic(cb_2c_u, IC = 'HQIC')
}

Run the code above in your browser using DataLab