Package: metafrontier
Type: Package
Title: Analysis of Metafrontier Models for Efficiency and Productivity
Version: 0.2.2
Authors@R: c(
    person("Erik", "Enstad", email = "erik.enstad@nhh.no",
           role = c("aut", "cre"),
           comment = c(ORCID = "0009-0006-1053-3849")))
Description: Implements metafrontier production function models for
    estimating technical efficiencies and technology gaps for firms
    operating under different technologies. 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>. Additional features include
    panel SFA with time-varying inefficiency, bootstrap confidence
    intervals for technology gap ratios, latent class metafrontier
    estimation via the EM algorithm, Murphy-Topel corrected standard
    errors, and 'ggplot2' visualisation methods.
License: GPL (>= 3)
Encoding: UTF-8
RoxygenNote: 7.3.3
Depends: R (>= 4.0.0)
Imports: stats, graphics, grDevices, Formula, numDeriv, lpSolveAPI,
        methods
Suggests: testthat (>= 3.0.0), knitr, rmarkdown, sfaR, frontier,
        Benchmarking, plm, ggplot2, parallel
VignetteBuilder: knitr
URL: https://github.com/iik1/metafrontier
BugReports: https://github.com/iik1/metafrontier/issues
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-04-14 07:18:02 UTC; s14454
Author: Erik Enstad [aut, cre] (ORCID: <https://orcid.org/0009-0006-1053-3849>)
Maintainer: Erik Enstad <erik.enstad@nhh.no>
Repository: CRAN
Date/Publication: 2026-04-21 08:30:24 UTC
Built: R 4.6.0; ; 2026-04-26 21:57:56 UTC; unix
