metafrontier: Analysis of Metafrontier Models for Efficiency and Productivity

Implements metafrontier production function models for estimating technical efficiencies and technology gaps for groups of firms that face different restrictions of a common underlying metatechnology (group-specific technologies in the sense of Battese, Rao, and O'Donnell, 2004). Supports both stochastic frontier analysis (SFA) and data envelopment analysis (DEA) based metafrontiers. Includes the deterministic metafrontier of Battese, Rao, and O'Donnell (2004) <doi:10.1023/B:PROD.0000012454.06094.29>, the stochastic metafrontier of Huang, Huang, and Liu (2014) <doi:10.1007/s11123-014-0402-2>, and the metafrontier Malmquist productivity index of O'Donnell, Rao, and Battese (2008) <doi:10.1007/s00181-007-0119-4>. The deterministic metafrontier can be identified by either the minimum sum of absolute deviations (LP) or the minimum sum of squared deviations (QP) criterion. Additional features include panel SFA with time-varying inefficiency, bootstrap confidence intervals for technology gap ratios, a DEA poolability permutation test, latent class metafrontier estimation via the EM algorithm, Murphy-Topel corrected standard errors, convergence diagnostics, import of pre-fitted models from external estimation engines ('sfaR', 'frontier', 'Benchmarking'), and 'ggplot2' visualisation methods.

Version: 0.3.0
Depends: R (≥ 4.0.0)
Imports: stats, graphics, grDevices, Formula, numDeriv, lpSolveAPI, methods
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, sfaR, frontier, Benchmarking, quadprog, plm, ggplot2, parallel
Published: 2026-07-15
DOI: 10.32614/CRAN.package.metafrontier
Author: Erik Enstad ORCID iD [aut, cre]
Maintainer: Erik Enstad <erik.enstad at nhh.no>
BugReports: https://github.com/iik1/metafrontier/issues
License: GPL (≥ 3)
URL: https://github.com/iik1/metafrontier
NeedsCompilation: no
Citation: metafrontier citation info
Materials: README, NEWS
CRAN checks: metafrontier results

Documentation:

Reference manual: metafrontier.html , metafrontier.pdf
Vignettes: Introduction to metafrontier (source, R code)
Metafrontier Malmquist Productivity Index (source, R code)
Metafrontier Methods: Theory and Computation (source, R code)

Downloads:

Package source: metafrontier_0.3.0.tar.gz
Windows binaries: r-devel: metafrontier_0.2.2.zip, r-release: metafrontier_0.2.2.zip, r-oldrel: metafrontier_0.2.2.zip
macOS binaries: r-release (arm64): metafrontier_0.3.0.tgz, r-oldrel (arm64): metafrontier_0.3.0.tgz, r-release (x86_64): metafrontier_0.2.2.tgz, r-oldrel (x86_64): metafrontier_0.2.2.tgz
Old sources: metafrontier archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=metafrontier to link to this page.