{
  "_id": "6a116e83acfb0bcc41cf5678",
  "Package": "metafrontier",
  "Type": "Package",
  "Title": "Analysis of Metafrontier Models for Efficiency and Productivity",
  "Version": "0.2.2",
  "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 firms\noperating under different technologies. 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>. Additional features include\npanel SFA with time-varying inefficiency, bootstrap confidence\nintervals for technology gap ratios, latent class metafrontier\nestimation via the EM algorithm, Murphy-Topel corrected\nstandard errors, 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",
  "Repository": "https://iik1.r-universe.dev",
  "Date/Publication": "2026-04-14 07:16:20 UTC",
  "RemoteUrl": "https://github.com/iik1/metafrontier",
  "RemoteRef": "HEAD",
  "RemoteSha": "59f490de55f77a149647d603e553624c7e0677a3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 09:04:36 UTC",
    "User": "root"
  },
  "Author": "Erik Enstad [aut, cre] (ORCID: <https://orcid.org/0009-0006-1053-3849>)",
  "Maintainer": "Erik Enstad <erik.enstad@nhh.no>",
  "MD5sum": "bacc1f38ffe78e5384698c66897bbcbe",
  "_user": "iik1",
  "_type": "src",
  "_file": "metafrontier_0.2.2.tar.gz",
  "_fileid": "4e7e4c1db84ed208db20be1f0d7d773e1b764b2fe04ac2b5e97636754e18f72c",
  "_filesize": 494141,
  "_sha256": "4e7e4c1db84ed208db20be1f0d7d773e1b764b2fe04ac2b5e97636754e18f72c",
  "_created": "2026-05-23T09:04:36.000Z",
  "_published": "2026-05-23T09:08:19.701Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77511237543,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175845853"
    },
    {
      "job": 77511237532,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175846247"
    },
    {
      "job": 77511237529,
      "time": 188,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175843711"
    },
    {
      "job": 77511237536,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175841502"
    },
    {
      "job": 77511065739,
      "time": 204,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175830994"
    },
    {
      "job": 77511237526,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175841488"
    },
    {
      "job": 77511237538,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175839755"
    },
    {
      "job": 77511237533,
      "time": 173,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175845705"
    },
    {
      "job": 77511237534,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175842800"
    }
  ],
  "_buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/iik1/metafrontier",
  "_commit": {
    "id": "59f490de55f77a149647d603e553624c7e0677a3",
    "author": "iik1 <eenstad@live.no>",
    "committer": "iik1 <eenstad@live.no>",
    "message": "Update cran-comments.md for v0.2.2 CRAN resubmission\n\nCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>\n",
    "time": 1776150980
  },
  "_maintainer": {
    "name": "Erik Enstad",
    "email": "erik.enstad@nhh.no"
  },
  "_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.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sfaR",
      "role": "Suggests"
    },
    {
      "package": "frontier",
      "role": "Suggests"
    },
    {
      "package": "Benchmarking",
      "role": "Suggests"
    },
    {
      "package": "plm",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "parallel",
      "role": "Suggests"
    }
  ],
  "_owner": "iik1",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-15",
      "n": 15
    },
    {
      "week": "2026-16",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "iik1",
      "count": 23,
      "uuid": 116549631
    }
  ],
  "_userbio": {
    "uuid": 116549631,
    "type": "user",
    "name": "iik1"
  },
  "_downloads": {
    "count": 534,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metafrontier"
  },
  "_devurl": "https://github.com/iik1/metafrontier",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/metafrontier.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/iik1/metafrontier",
  "_realowner": "iik1",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.2",
      "date": "2026-04-21"
    }
  ],
  "_exports": [
    "as_metafrontier_model",
    "boot_tgr",
    "efficiencies",
    "latent_class_metafrontier",
    "malmquist_meta",
    "metafrontier",
    "poolability_test",
    "select_n_classes",
    "simulate_metafrontier",
    "simulate_panel_metafrontier",
    "technology_gap_ratio",
    "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": "boot_tgr",
      "title": "Bootstrap Confidence Intervals for the Technology Gap Ratio",
      "topics": [
        "boot_tgr"
      ]
    },
    {
      "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": "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/iik1/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",
        "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-10 14:37:25",
      "modified": "2026-04-12 08:26:57",
      "commits": 2
    },
    {
      "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",
        "References"
      ],
      "created": "2026-04-11 11:00:34",
      "modified": "2026-04-11 11:00:34",
      "commits": 1
    },
    {
      "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-10 14:37:25",
      "modified": "2026-04-12 08:26:57",
      "commits": 2
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "metafrontier",
  "_universes": [
    "iik1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-23T09:06:55.000Z",
      "distro": "noble",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "cd4266d6148795fa40a4ea125af043d4f6e7ce24f11751457d476f6c2163ea57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-23T09:07:00.000Z",
      "distro": "noble",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "0f7ff7dea51a26997d3c23d2ff5d51c54d2a46a4e8c3fde62a304abf16cd14e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-23T09:06:52.000Z",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "240df229c22123d81820ae863b4e217c80516a3098d15a5b25c5d5a2ffcfad7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-23T09:06:26.000Z",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "314f8f08e1f5ade8cc508c5d09823d450d86a6be784cec0b791e511e8603595c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-05-23T09:06:59.000Z",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "cdd362229d70be6b71d5f643bf4de412ce053a3ac85fd32d2140656af07f1432",
      "status": "success",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-23T09:05:50.000Z",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "6d48b2fea68d5428bbc31c752b4af8c12cbb3fcc0a530ef0a7252aa2896d806b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-23T09:06:29.000Z",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "f124550d3cb8715b9e7ef99ae619dcfd014207f96b120e91031f033450164d66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-23T09:05:57.000Z",
      "commit": "59f490de55f77a149647d603e553624c7e0677a3",
      "fileid": "89fbf468726b8093ea927ad28ee69d5a8d2fcda6155ac838ecf80790d752b548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/iik1/actions/runs/26328747640"
    }
  ]
}