Maximum likelihood estimation of stochastic frontier models for cross-sectional and panel data. Covers fifteen noise and inefficiency distribution pairs with optional heteroskedasticity, true fixed and random effects (Greene, 2005), the four-component model, and extensions for zero inefficiency, latent classes, two-tier frontiers, sample selection, and endogeneity. Includes efficiency prediction, marginal effects, and specification tests. sfa is currently hosted on CRAN and on GitHub.
Data envelopment analysis in R. Estimates radial, slacks-based, additive, and directional distance efficiency under any returns-to-scale assumption, with peers, slacks, scale efficiency, and bootstrap bias correction (Simar and Wilson, 1998). Also covers cost, revenue, and profit efficiency and cross-efficiency rankings. DEA is currently hosted on CRAN and on GitHub.