{
  "_id": "6ae253148d250e7ad09eed67",
  "Package": "metafrontier",
  "Type": "Package",
  "Title": "Analysis of Metafrontier Models for Efficiency and Productivity",
  "Version": "0.4.0",
  "Authors@R": "c(\nperson(\"Erik\", \"Enstad\", email = \"erik.enstad@nhh.no\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0006-1053-3849\")))",
  "Description": "Implements metafrontier production function models for\nestimating technical efficiencies and technology gaps for\ngroups of firms that face different restrictions of a common\nunderlying metatechnology (group-specific technologies in the\nsense of Battese, Rao, and O'Donnell, 2004). Supports both\nstochastic frontier analysis (SFA) and data envelopment\nanalysis (DEA) based metafrontiers. Includes the deterministic\nmetafrontier of Battese, Rao, and O'Donnell (2004)\n<doi:10.1023/B:PROD.0000012454.06094.29>, the stochastic\nmetafrontier of Huang, Huang, and Liu (2014)\n<doi:10.1007/s11123-014-0402-2>, and the metafrontier Malmquist\nproductivity index of O'Donnell, Rao, and Battese (2008)\n<doi:10.1007/s00181-007-0119-4>. The deterministic metafrontier\ncan be identified by either the minimum sum of absolute\ndeviations (LP) or the minimum sum of squared deviations (QP)\ncriterion. Group frontiers can be production or cost frontiers,\ncorrected for sample selection following Greene (2010)\n<doi:10.1007/s11123-009-0159-1>, or spatial-autoregressive\nstochastic frontiers. Transitive Fare-Primont and Lowe\nproductivity indexes (O'Donnell, 2012\n<doi:10.1093/ajae/aas023>) are decomposed against group\ntechnologies and the metatechnology. Additional features\ninclude panel SFA with time-varying inefficiency, bootstrap\nconfidence intervals for technology gap ratios, a DEA\npoolability permutation test, latent class metafrontier\nestimation via the EM algorithm, Murphy-Topel corrected\nstandard errors, convergence diagnostics, import of pre-fitted\nmodels from external estimation engines ('sfaR', 'frontier',\n'Benchmarking'), and 'ggplot2' visualisation methods.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/iik1/metafrontier",
  "BugReports": "https://github.com/iik1/metafrontier/issues",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-28 19:48:55 UTC",
    "User": "root"
  },
  "Author": "Erik Enstad [aut, cre] (ORCID:\n<https://orcid.org/0009-0006-1053-3849>)",
  "Maintainer": "Erik Enstad <erik.enstad@nhh.no>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-28 13:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/metafrontier",
  "RemoteRef": "HEAD",
  "RemoteSha": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
  "_user": "cran",
  "_type": "src",
  "_file": "metafrontier_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b437b8ef911255c22a1bffb2f42c8b9da24d705261f3a4ea7f51cedfb3d4646e",
  "_filesize": 671468,
  "_sha256": "b437b8ef911255c22a1bffb2f42c8b9da24d705261f3a4ea7f51cedfb3d4646e",
  "_expires": "2027-02-05T19:54:58.000Z",
  "_created": "2026-10-28T19:48:55.000Z",
  "_published": "2026-10-28T19:55:00.531Z",
  "_upstream": "https://github.com/cran/metafrontier",
  "_status": "success",
  "_maintainer": {
    "name": "Erik Enstad",
    "email": "erik.enstad@nhh.no",
    "orcid": "0009-0006-1053-3849"
  },
  "_jobs": [
    {
      "job": 123061058298,
      "time": 310,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12847641020"
    },
    {
      "job": 123061058365,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12845894630"
    },
    {
      "job": 123059068972,
      "time": 223,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12847660579"
    },
    {
      "job": 123061058184,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12847835167"
    },
    {
      "job": 123061058427,
      "time": 217,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12846547055"
    },
    {
      "job": 123061058580,
      "time": 217,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12845549494"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40757113216",
  "_commit": {
    "id": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
    "author": "Erik Enstad <erik.enstad@nhh.no>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.0\n",
    "time": 1793193002
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "lpSolveAPI",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sfaR",
      "role": "Suggests"
    },
    {
      "package": "frontier",
      "role": "Suggests"
    },
    {
      "package": "Benchmarking",
      "role": "Suggests"
    },
    {
      "package": "quadprog",
      "role": "Suggests"
    },
    {
      "package": "plm",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    },
    {
      "package": "productivity",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "spdep",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.2",
      "date": "2026-04-21"
    },
    {
      "name": "0.3.0",
      "date": "2026-07-15"
    },
    {
      "name": "0.3.1",
      "date": "2026-08-19"
    },
    {
      "name": "0.4.0",
      "date": "2026-10-28"
    }
  ],
  "_stars": 1,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 242,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metafrontier"
  },
  "_devurl": "https://github.com/iik1/metafrontier",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/metafrontier.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/iik1/metafrontier",
  "_realowner": "iik1",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2026-04-21"
    },
    {
      "version": "0.3.0",
      "date": "2026-07-15"
    },
    {
      "version": "0.3.1",
      "date": "2026-08-19"
    },
    {
      "version": "0.4.0",
      "date": "2026-10-28"
    }
  ],
  "_exports": [
    "as_metafrontier_model",
    "boot_tgr",
    "check_convergence",
    "efficiencies",
    "latent_class_metafrontier",
    "malmquist_meta",
    "metafrontier",
    "poolability_test",
    "select_n_classes",
    "simulate_metafrontier",
    "simulate_panel_metafrontier",
    "technology_gap_ratio",
    "tfp_index",
    "tgr_summary"
  ],
  "_help": [
    {
      "page": "as_metafrontier_model",
      "title": "Convert a Fitted Frontier Model to Metafrontier Format",
      "topics": [
        "as_metafrontier_model"
      ]
    },
    {
      "page": "autoplot.boot_tgr",
      "title": "Autoplot Method for Bootstrap TGR Objects",
      "topics": [
        "autoplot.boot_tgr"
      ]
    },
    {
      "page": "autoplot.malmquist_meta",
      "title": "Autoplot Method for Malmquist Meta Objects",
      "topics": [
        "autoplot.malmquist_meta"
      ]
    },
    {
      "page": "autoplot.metafrontier",
      "title": "Autoplot Method for Metafrontier Objects",
      "topics": [
        "autoplot.metafrontier"
      ]
    },
    {
      "page": "autoplot.tfp_meta",
      "title": "ggplot2 Visualisation of TFP Indexes",
      "topics": [
        "autoplot.tfp_meta"
      ]
    },
    {
      "page": "boot_tgr",
      "title": "Bootstrap Confidence Intervals for the Technology Gap Ratio",
      "topics": [
        "boot_tgr"
      ]
    },
    {
      "page": "check_convergence",
      "title": "Check Convergence of All Estimation Stages",
      "topics": [
        "check_convergence",
        "check_convergence.lc_metafrontier",
        "check_convergence.malmquist_meta",
        "check_convergence.metafrontier"
      ]
    },
    {
      "page": "coef.metafrontier",
      "title": "Extract Coefficients from a Metafrontier Model",
      "topics": [
        "coef.metafrontier"
      ]
    },
    {
      "page": "confint.metafrontier",
      "title": "Confidence Intervals for Metafrontier Coefficients",
      "topics": [
        "confint.metafrontier"
      ]
    },
    {
      "page": "efficiencies",
      "title": "Extract Efficiency Scores from a Metafrontier Model",
      "topics": [
        "efficiencies",
        "efficiencies.metafrontier"
      ]
    },
    {
      "page": "latent_class_metafrontier",
      "title": "Latent Class Metafrontier",
      "topics": [
        "latent_class_metafrontier"
      ]
    },
    {
      "page": "malmquist_meta",
      "title": "Metafrontier Malmquist Productivity Index",
      "topics": [
        "malmquist_meta"
      ]
    },
    {
      "page": "metafrontier",
      "title": "Estimate a Metafrontier Production Function",
      "topics": [
        "metafrontier"
      ]
    },
    {
      "page": "plot.metafrontier",
      "title": "Plot a Metafrontier Object",
      "topics": [
        "plot.metafrontier"
      ]
    },
    {
      "page": "poolability_test",
      "title": "Test Poolability of Group Frontiers",
      "topics": [
        "poolability_test"
      ]
    },
    {
      "page": "predict.metafrontier",
      "title": "Predict Frontier Values from a Metafrontier Model",
      "topics": [
        "predict.metafrontier"
      ]
    },
    {
      "page": "print.metafrontier",
      "title": "Print a Metafrontier Object",
      "topics": [
        "print.metafrontier"
      ]
    },
    {
      "page": "select_n_classes",
      "title": "Select Number of Latent Classes via BIC",
      "topics": [
        "select_n_classes"
      ]
    },
    {
      "page": "simulate_metafrontier",
      "title": "Simulate Metafrontier Data",
      "topics": [
        "simulate_metafrontier"
      ]
    },
    {
      "page": "simulate_panel_metafrontier",
      "title": "Simulate Panel Metafrontier Data",
      "topics": [
        "simulate_panel_metafrontier"
      ]
    },
    {
      "page": "summary.metafrontier",
      "title": "Summary of a Metafrontier Model",
      "topics": [
        "summary.metafrontier"
      ]
    },
    {
      "page": "technology_gap_ratio",
      "title": "Extract Technology Gap Ratios",
      "topics": [
        "technology_gap_ratio"
      ]
    },
    {
      "page": "tfp_index",
      "title": "Fare-Primont and Lowe TFP Indexes with a Metafrontier Decomposition",
      "topics": [
        "tfp_index"
      ]
    },
    {
      "page": "tgr_summary",
      "title": "Summary of Technology Gap Ratios",
      "topics": [
        "tgr_summary"
      ]
    },
    {
      "page": "vcov.metafrontier",
      "title": "Variance-Covariance Matrix for Metafrontier Coefficients",
      "topics": [
        "vcov.metafrontier"
      ]
    }
  ],
  "_readme": "https://github.com/cran/metafrontier/raw/HEAD/README.md",
  "_rundeps": [
    "Formula",
    "lpSolveAPI",
    "numDeriv"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to metafrontier",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a metafrontier?",
        "Quick start",
        "Simulate data",
        "Estimate the metafrontier",
        "Deterministic SFA metafrontier (Battese, Rao, and O'Donnell, 2004)",
        "Stochastic metafrontier (Huang, Huang, and Liu, 2014)",
        "DEA-based metafrontier",
        "Extracting results",
        "Efficiency scores",
        "Technology gap ratio",
        "Coefficients",
        "Model information",
        "Visualisation",
        "TGR distributions",
        "Efficiency scatter",
        "Efficiency decomposition",
        "Hypothesis testing",
        "Poolability test",
        "Convergence diagnostics",
        "Inefficiency distributions",
        "Comparing true and estimated values",
        "Panel SFA Metafrontier",
        "Bootstrap Confidence Intervals for TGR",
        "Murphy-Topel Variance Correction",
        "Latent Class Metafrontier",
        "Directional Distance Functions (DDF)",
        "References"
      ],
      "created": "2026-04-21 09:55:21",
      "modified": "2026-10-28 13:10:02",
      "commits": 3
    },
    {
      "source": "malmquist.Rmd",
      "filename": "malmquist.html",
      "title": "Metafrontier Malmquist Productivity Index",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "The three-way decomposition",
        "Simulating panel data",
        "Computing the index",
        "Detailed results",
        "Interpreting the decomposition",
        "Within-group vs metafrontier Malmquist",
        "Technology gap dynamics",
        "Returns to scale assumptions",
        "Using real-world panel data",
        "Caveats",
        "Interpretation of the index",
        "Cross-period infeasibility",
        "Firm matching",
        "SFA-based index",
        "References"
      ],
      "created": "2026-04-21 09:55:21",
      "modified": "2026-07-15 12:00:02",
      "commits": 2
    },
    {
      "source": "methods.Rmd",
      "filename": "methods.html",
      "title": "Metafrontier Methods: Theory and Computation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. The metafrontier framework",
        "1.1 Group-specific stochastic frontiers",
        "1.2 The metafrontier",
        "1.3 The efficiency decomposition",
        "2. Deterministic metafrontier (Battese, Rao, and O'Donnell, 2004)",
        "2.1 Estimation",
        "2.2 Properties",
        "2.3 Example",
        "3. Stochastic metafrontier (Huang, Huang, and Liu, 2014)",
        "3.1 Estimation",
        "3.2 Advantages over the deterministic approach",
        "3.3 Caveat: the generated-regressor problem",
        "3.4 Example",
        "3.5 A note on TGR values",
        "4. DEA-based metafrontier",
        "4.1 Approach",
        "4.2 Returns to scale",
        "5. Comparing methods",
        "6. Choosing a method: practical guidance",
        "7. Testing for technology heterogeneity",
        "8. Simulation for Monte Carlo studies",
        "References"
      ],
      "created": "2026-04-21 09:55:21",
      "modified": "2026-10-28 13:10:02",
      "commits": 3
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": false,
  "_nocasepkg": "metafrontier",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://iik1.r-universe.dev/metafrontier",
  "_previous": "0.3.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-28T19:53:13.000Z",
      "distro": "resolute",
      "commit": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
      "fileid": "https://r2.ropensci.org/111fa5320277bd4f30665506584fd2caf3eab9c855840dd8fd2326757a7dd0a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757113216"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-28T19:51:26.000Z",
      "distro": "resolute",
      "commit": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
      "fileid": "https://r2.ropensci.org/234424c7476b515426d4f491f31f83d0dd881a32c26e23dc3171f66f8dccf393",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757113216"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-28T19:51:17.000Z",
      "commit": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
      "fileid": "https://r2.ropensci.org/54c4f0d7f1459cd526f6525a791ff781756e40008a24323e3961ed8b5a5b2466",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757113216"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-28T19:50:27.000Z",
      "commit": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
      "fileid": "https://r2.ropensci.org/983a9326af2db8a710ccf2c10bea7771f0f3e6573fef6c56789edeb05a909cdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757113216"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-28T19:50:29.000Z",
      "commit": "f3304fcac5058c8ed6cff37f75cf70e49710705f",
      "fileid": "https://r2.ropensci.org/fb3d28c31a04158e45dcef6362db0cfc99f790c7892e535f7eeb8f6ea8c30653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40757113216"
    }
  ]
}