efficiency {robustSFA} | R Documentation |
Function for Estimating Technical Efficiencies for Class rsfa
Description
This function returns the individual efficiencies calculated from the MDPD or ML estimates. The efficiencies are calculated using the estimator of Battese and Coelli (1988).
Usage
efficiency(object, ...)
Arguments
object |
An object of class |
... |
Unsed. |
Value
A column vector of the estimated individual efficiencies.
References
Battese, G.E. and Coelli, T. (1988). Prediction of firm-level technical efficiencies with a generalized frontier production function and panel data. Journal of Econometrics, 38, 387-399.
Examples
## Example using the 'riceProdPhil' dataset from the `frontier` package
library(frontier)
data(riceProdPhil)
my.model <- log(PROD) ~ log(AREA) + log(LABOR) + log(NPK) + log(OTHER)
fit.ml <- rsfa(my.model, data = riceProdPhil)
efficiency(fit.ml)
fit.mdpde<- rsfa(my.model, data = riceProdPhil, alpha = 0.1)
efficiency(fit.mdpde)
[Package robustSFA version 0.2.0 Index]