efficiencies | R Documentation |
efficiencies
returns (in-)efficiency estimates from classic or latent class stochastic
frontier models estimated with sfacross
or lcmcross.
## S3 method for class 'sfacross' efficiencies(object, level = 0.95, ...) ## S3 method for class 'lcmcross' efficiencies(object, level = 0.95, ...)
object |
A classic or latent class stochastic frontier model returned by
|
level |
A number between between 0 and 0.9999 used for the computation
of (in-)efficiency confidence intervals (defaut = |
... |
Currently ignored. |
The conditional inefficiency is obtained following Jondrow et al. (1982) and the conditional efficiency is computed following Battese and Coelli (1988). In some cases the conditional mode is also returned (Jondrow et al. 1982). The confidence interval is computed following Horrace and Schmidt (1996), Hjalmarsson et al. (1996), or Berra and Sharma (1999) (see ‘Value’ section).
In the case of the half normal distribution for the one-sided error term, the formulae
are as follows (for notations, see the ‘Details’ section of
sfacross
or lcmcross
):
The conditional inefficiency is
E≤ft[u_i|ε_i\right]=μ_{i*} + σ_*\frac{φ≤ft(\frac{μ_{i*}}{σ_*}\right)}{Φ≤ft(\frac{μ_{i*}}{σ_*}\right)}
where
μ_{i*}=\frac{-Sε_iσ_u^2}{σ_u^2 + σ_v^2}
and
σ_*^2 = \frac{σ_u^2 σ_v^2}{σ_u^2 + σ_v^2}
The Battese and Coelli (1988) conditional efficiency is obtained by:
E≤ft[\exp{≤ft(-u_i\right)}|ε_i\right] = \exp{≤ft(-μ_{i*}+\frac{1}{2}σ_*^2\right)} \frac{Φ≤ft(\frac{μ_{i*}}{σ_*}-σ_*\right)}{Φ≤ft(\frac{μ_{i*}}{σ_*}\right)}
The conditional mode is computed using:
M≤ft[u_i|ε_i\right]= μ_{i*} \quad For \quad μ_{i*} > 0
and
M≤ft[u_i|ε_i\right]= 0 \quad For \quad μ_{i*} ≤q 0
The confidence intervals are obtained with:
μ_{i*} + I_Lσ_* ≤q E≤ft[u_i|ε_i\right] ≤q μ_{i*} + I_Uσ_*
with LB_i = μ_{i*} + I_Lσ_* and UB_i = μ_{i*} + I_Uσ_*
and
I_L = Φ^{-1}≤ft\{1 - ≤ft(1-\frac{α}{2}\right)≤ft[1-Φ≤ft(-\frac{μ_{i*}}{σ_*}\right)\right]\right\}
and
I_U = Φ^{-1}≤ft\{1-\frac{α}{2}≤ft[1-Φ≤ft(-\frac{μ_{i*}}{σ_*}\right)\right]\right\}
Thus
\exp{≤ft(-UB_i\right)} ≤q E≤ft[\exp{≤ft(-u_i\right)}|ε_i\right] ≤q \exp{≤ft(-LB_i\right)}
A data frame that contains individual (in-)efficiency estimates. These are ordered in the same way as the corresponding observations in the dataset used for the estimation.
- For object of class 'sfacross'
the following elements are
returned:
u |
Conditional inefficiency. In the case argument |
uLB |
Lower bound for conditional inefficiency. Only when the argument
|
uUB |
Upper bound for conditional inefficiency. Only when the argument
|
teJLMS |
\exp{(-u)}. When the argument |
m |
Conditional model. Only when the argument |
teMO |
\exp{(-m)}. Only when, in the function sfacross,
|
teBC |
Battese and Coelli (1988) conditional efficiency. Only when, in
the function sfacross, |
teBCLB |
Lower bound for Battese and Coelli (1988) conditional
efficiency. Only when, in the function sfacross, |
teBCUB |
Upper bound for Battese and Coelli (1988) conditional
efficiency. Only when, in the function sfacross, |
- For object of class 'lcmcross'
the following elements are
returned:
Group_c |
Most probable class of each observation. |
PosteriorProb_c |
Highest posterior probability. |
PosteriorProb_c# |
Posterior probability associated to class #, regardless of |
PriorProb_c# |
Prior probability associated to class #, regardless of |
u_c |
Conditional inefficiency of the most probable class given the posterior probability. |
teJLMS_c |
\exp{(-u_c)}. Only when, in the function lcmcross, |
u_c# |
Conditional inefficiency associated to class #, regardless of |
ineff_c# |
Conditional inefficiency ( |
K Hervé Dakpo, Yann Desjeux and Laure Latruffe
Battese, G.E., and T.J. Coelli. 1988. Prediction of firm-level technical efficiencies with a generalized frontier production function and panel data. Journal of Econometrics, 38:387–399.
Bera, A.K., and S.C. Sharma. 1999. Estimating production uncertainty in stochastic frontier production function models. Journal of Productivity Analysis, 12:187-210.
Hjalmarsson, L., S.C. Kumbhakar, and A. Heshmati. 1996. DEA, DFA and SFA: A comparison. Journal of Productivity Analysis, 7:303-327.
Horrace, W.C., and P. Schmidt. 1996. Confidence statements for efficiency estimates from stochastic frontier models. Journal of Productivity Analysis, 7:257-282.
Jondrow, J., C.A.K. Lovell, I.S. Materov, and P. Schmidt. 1982. On the estimation of technical inefficiency in the stochastic frontier production function model. Journal of Econometrics, 19:233–238.
Nguyen, N.B. 2010. Estimation of technical efficiency in stochastic frontier analysis. PhD Dissertation, Bowling Green State University, August.
sfacross
, for the stochastic frontier analysis model fitting
function.
lcmcross
, for the latent class stochastic frontier analysis
model fitting function.
## Using data on fossil fuel fired steam electric power generation plants in the U.S. # Translog SFA (cost function) truncated normal with scaling property tl_u_ts <- sfacross(formula = log(tc/wf) ~ log(y) + I(1/2 * (log(y))^2) + log(wl/wf) + log(wk/wf) + I(1/2 * (log(wl/wf))^2) + I(1/2 * (log(wk/wf))^2) + I(log(wl/wf) * log(wk/wf)) + I(log(y) * log(wl/wf)) + I(log(y) * log(wk/wf)), udist = "tnormal", muhet = ~ regu, uhet = ~ regu, data = utility, S = -1, scaling = TRUE, method = "mla") eff.tl_u_ts <- efficiencies(tl_u_ts) head(eff.tl_u_ts) summary(eff.tl_u_ts) cb_2c_h1 <- lcmcross(formula = ly ~ lk + ll + yr, thet = ~initStat, data = worldprod) eff.ccb_2c_h1 <- efficiencies(cb_2c_h1) table(eff.ccb_2c_h1$Group_c) summary(eff.ccb_2c_h1[,c("ineff_c1", "ineff_c2")]) summary(eff.ccb_2c_h1[eff.ccb_2c_h1$Group_c == 1, c("PosteriorProb_c1", "PriorProb_c1")]) summary(eff.ccb_2c_h1[eff.ccb_2c_h1$Group_c == 2, c("PosteriorProb_c2", "PriorProb_c2")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.