ic | R Documentation |
ic
returns information criterion from classic or latent class stochastic frontier
models estimated with sfacross
or lcmcross.
## S3 method for class 'sfacross' ic(object, IC = "AIC", ...) ## S3 method for class 'lcmcross' ic(object, IC = "AIC", ...)
object |
A classic or latent class stochastic frontier model returned by
|
IC |
Character string. Information criterion measure. Three criteria are available:
|
... |
Currently ignored. |
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{≤ft[\log{N}\right]} * K
where LL is the maximum likelihood value, K the number of parameters estimated and N the number of observations.
ic
returns the value of the information criterion (AIC, BIC or
HQIC) of the maximum likelihood coefficients.
K Hervé Dakpo, Yann Desjeux and Laure Latruffe
sfacross
, for the stochastic frontier analysis model fitting
function.
lcmcross
, for the latent class stochastic frontier analysis
model fitting function.
## Using data on Swiss railway # LCM (cost function) half normal distribution cb_2c_u <- lcmcross(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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.