metafrontier: Unified metafrontier analysis for efficiency and productivity in R
Erik Enstad ()
Additional contact information
Erik Enstad: Dept. of Business and Management Science, Norwegian School of Economics, Postal: NHH , Department of Business and Management Science, Helleveien 30, N-5045 Bergen, Norway, https://www.nhh.no/en/employees/faculty/erik-enstad/
No 2026/2, Discussion Papers from Norwegian School of Economics, Department of Business and Management Science
Abstract:
Comparing the technical efficiency of firms that operate under different production technologies requires a metafrontier framework that envelops group-specific frontiers. Despite a substantial methodological literature and growing applied demand, no comprehensive R pack-age for metafrontier analysis has been available on CRAN. We introduce metafrontier, a package that provides a unified interface for three complementary approaches: the deterministic metafrontier of Battese, Rao, and O’Donnell (2004), the stochastic metafrontier of Huang, Huang, and Liu (2014), and DEA-based metafrontier models. The package estimates group-specific frontiers, constructs the metafrontier envelope, and decomposes efficiency into group technical efficiency and the technology gap ratio. Additional features include the metafrontier Malmquist productivity index with three-way decomposition, bootstrap confidence intervals for technology gap ratios, Murphy–Topel corrected standard errors, latent class metafrontier estimation via the EM algorithm, panel stochastic frontier models with time-varying inefficiency, and ggplot2 visualisation methods. An interoperability layer accepts pre-fitted models from sfaR, frontier, and Benchmarking. We illustrate the package with simulated examples and a Monte Carlo study demonstrating parameter recovery under both metafrontier estimators. All examples and simulations are fully reproducible and complete in under ten minutes on a standard laptop.
Keywords: stochastic frontier analysis; data envelopment analysis; metafrontier; technology gap ratio; productivity; R package (search for similar items in EconPapers)
JEL-codes: C14 C51 C61 D24 (search for similar items in EconPapers)
Pages: 27 pages
Date: 2026-04-30
References: Add references at CitEc
Citations:
Downloads: (external link)
https://hdl.handle.net/11250/5512764 Full text (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:hhs:nhhfms:2026_002
Access Statistics for this paper
More papers in Discussion Papers from Norwegian School of Economics, Department of Business and Management Science NHH, Department of Business and Management Science, Helleveien 30, N-5045 Bergen, Norway. Contact information at EDIRC.
Bibliographic data for series maintained by Stein Fossen ().