{
  "_id": "6a226a38cd65a98ecbd462ad",
  "Package": "smfa",
  "Title": "Stochastic Metafrontier Analysis",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Sulman Olieko\", \"Owili\", email = \"oliekosulman@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7401-5326\"))\n)",
  "Description": "Implements stochastic metafrontier analysis for\nproductivity and performance benchmarking across firms\noperating under different technologies. Contains routines for\nthe deterministic metafrontier envelope of O'Donnell et al.\n(2008) <doi:10.1007/s00181-007-0119-4> via linear and quadratic\nprogramming, and the stochastic metafrontier of Huang et al.\n(2014) <doi:10.1007/s11123-014-0402-2>. Also supports latent\nclass stochastic metafrontier analysis and sample selection\ncorrection stochastic metafrontier models. Depends on the\n'sfaR' package by Dakpo et al. (2023)\n<https://CRAN.R-project.org/package=sfaR>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/SulmanOlieko/smfa,\nhttps://SulmanOlieko.github.io/smfa/",
  "BugReports": "https://github.com/SulmanOlieko/smfa/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "pkgdown",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "make texlive libssl-dev",
  "Repository": "https://sulmanolieko.r-universe.dev",
  "Date/Publication": "2026-05-06 19:44:00 UTC",
  "RemoteUrl": "https://github.com/sulmanolieko/smfa",
  "RemoteRef": "HEAD",
  "RemoteSha": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 06:14:01 UTC",
    "User": "root"
  },
  "Author": "Sulman Olieko Owili [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7401-5326>)",
  "Maintainer": "Sulman Olieko Owili <oliekosulman@gmail.com>",
  "MD5sum": "b6afeb26aecb57f03d0a044189be6c00",
  "_user": "sulmanolieko",
  "_type": "src",
  "_file": "smfa_1.0.0.tar.gz",
  "_fileid": "66a79b75641cf7d280dc5b28a033de6e832011d67cb2b9a2a7ed20bb51fe17a5",
  "_filesize": 746293,
  "_sha256": "66a79b75641cf7d280dc5b28a033de6e832011d67cb2b9a2a7ed20bb51fe17a5",
  "_created": "2026-06-05T06:14:01.000Z",
  "_published": "2026-06-05T06:18:32.192Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79674393732,
      "time": 216,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430088452"
    },
    {
      "job": 79674393699,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430085944"
    },
    {
      "job": 79674393668,
      "time": 231,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430083081"
    },
    {
      "job": 79674393718,
      "time": 178,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430071188"
    },
    {
      "job": 79673825964,
      "time": 304,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430039261"
    },
    {
      "job": 79674393705,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430072967"
    },
    {
      "job": 79674393791,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430069376"
    },
    {
      "job": 79674393713,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430064715"
    },
    {
      "job": 79674393677,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430073401"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sulmanolieko/smfa",
  "_commit": {
    "id": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
    "author": "Sulman Olieko Owili <141807255+SulmanOlieko@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1778096640
  },
  "_maintainer": {
    "name": "Sulman Olieko Owili",
    "email": "oliekosulman@gmail.com",
    "login": "sulmanolieko",
    "orcid": "0000-0001-7401-5326",
    "description": "",
    "uuid": 141807255
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "sfaR",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    }
  ],
  "_owner": "sulmanolieko",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 40
    },
    {
      "week": "2026-10",
      "n": 7
    },
    {
      "week": "2026-11",
      "n": 7
    },
    {
      "week": "2026-12",
      "n": 7
    },
    {
      "week": "2026-17",
      "n": 19
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-04-26"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "sulmanolieko",
      "count": 84,
      "uuid": 141807255
    }
  ],
  "_userbio": {
    "uuid": 141807255,
    "type": "user",
    "name": "Sulman Olieko Owili"
  },
  "_downloads": {
    "count": 425,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smfa"
  },
  "_devurl": "https://github.com/sulmanolieko/smfa",
  "_pkgdown": "https://SulmanOlieko.github.io/smfa/",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/smfa.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sulmanolieko/smfa",
  "_realowner": "sulmanolieko",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-04-28"
    }
  ],
  "_exports": [
    "smfa"
  ],
  "_help": [
    {
      "page": "coef",
      "title": "Extract coefficients of stochastic metafrontier models",
      "topics": [
        "coef",
        "coef.smfa",
        "coef.summary.smfa"
      ]
    },
    {
      "page": "efficiencies",
      "title": "Compute efficiency estimates and metatechnology ratios from stochastic metafrontier models",
      "topics": [
        "efficiencies",
        "efficiencies.smfa"
      ]
    },
    {
      "page": "fitted",
      "title": "Extract fitted values of stochastic metafrontier models",
      "topics": [
        "fitted",
        "fitted.smfa"
      ]
    },
    {
      "page": "ic",
      "title": "Extract information criteria of stochastic metafrontier models",
      "topics": [
        "ic",
        "ic.smfa"
      ]
    },
    {
      "page": "logLik",
      "title": "Extract log-likelihood value of stochastic metafrontier models",
      "topics": [
        "logLik",
        "logLik.smfa"
      ]
    },
    {
      "page": "nobs",
      "title": "Extract total number of observations used in frontier models",
      "topics": [
        "nobs",
        "nobs.smfa"
      ]
    },
    {
      "page": "residuals",
      "title": "Extract residuals of stochastic metafrontier models",
      "topics": [
        "residuals",
        "residuals.smfa"
      ]
    },
    {
      "page": "smfa",
      "title": "Stochastic metafrontier estimation",
      "topics": [
        "print.smfa",
        "smfa"
      ]
    },
    {
      "page": "summary",
      "title": "Summary of results for stochastic metafrontier models",
      "topics": [
        "print.summary.smfa",
        "summary",
        "summary.smfa"
      ]
    },
    {
      "page": "vcov",
      "title": "Compute variance-covariance matrix of stochastic metafrontier models",
      "topics": [
        "vcov",
        "vcov.smfa"
      ]
    }
  ],
  "_pkglogo": "https://github.com/sulmanolieko/smfa/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/sulmanolieko/smfa/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bdsmatrix",
    "codetools",
    "collapse",
    "cubature",
    "curl",
    "digest",
    "doParallel",
    "fastGHQuad",
    "foreach",
    "Formula",
    "generics",
    "hpa",
    "httr",
    "iterators",
    "jsonlite",
    "lattice",
    "lmtest",
    "marqLevAlg",
    "MASS",
    "Matrix",
    "maxLik",
    "mime",
    "miscTools",
    "mnorm",
    "nleqslv",
    "nlme",
    "openssl",
    "plm",
    "qrng",
    "R6",
    "randtoolbox",
    "rbibutils",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "Rdpack",
    "rngWELL",
    "sandwich",
    "sfaR",
    "sys",
    "texreg",
    "trustOptim",
    "ucminf",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "efficiency-extraction.Rmd",
      "filename": "efficiency-extraction.html",
      "title": "Extracting Efficiencies and MTRs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Setup: Fit a Model",
        "summary() — Full Model Summary",
        "efficiencies() — Firm-Level Efficiency and MTR Scores",
        "Column Reference",
        "Subsetting by Group",
        "Visualising the Distribution",
        "coef() — Estimated Coefficients",
        "vcov() — Variance-Covariance Matrix",
        "logLik() — Log-Likelihood",
        "ic() — Information Criteria",
        "nobs() — Number of Observations",
        "fitted() — Fitted Values",
        "residuals() — Residuals",
        "Comparing Multiple Models"
      ],
      "created": "2026-03-12 10:21:52",
      "modified": "2026-04-24 13:08:01",
      "commits": 2
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with smfa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is smfa?",
        "Conceptual Framework",
        "Methods Supported",
        "Installation",
        "Quick-Start Example",
        "Step 1: Load data and create groups",
        "Step 2: Fit the metafrontier model",
        "Step 3: Summarise results",
        "Step 4: Extract firm-level efficiencies",
        "What Next?"
      ],
      "created": "2026-03-12 10:21:52",
      "modified": "2026-04-24 13:08:01",
      "commits": 4
    },
    {
      "source": "sfalcmcross-metafrontier.Rmd",
      "filename": "sfalcmcross-metafrontier.html",
      "title": "Latent Class SFA Metafrontier (groupType = \"sfalcmcross\")",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Data Preparation",
        "Method 1: LCM + LP Metafrontier",
        "Method 2: LCM + QP Metafrontier",
        "Method 3: LCM + SFA (Huang)",
        "Method 4: LCM + SFA (O'Donnell)",
        "Choosing the Number of Classes",
        "Extracting Efficiencies and Posterior Probabilities",
        "Class membership summary",
        "Key Difference from sfacross"
      ],
      "created": "2026-03-12 10:21:52",
      "modified": "2026-04-24 13:08:01",
      "commits": 3
    },
    {
      "source": "sfaselectioncross-metafrontier.Rmd",
      "filename": "sfaselectioncross-metafrontier.html",
      "title": "Sample Selection SFA Metafrontier (groupType = \"sfaselectioncross\")",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Data Preparation (Simulated Example)",
        "Method 1: sfaselectioncross + LP Metafrontier",
        "Method 2: sfaselectioncross + QP Metafrontier",
        "Method 3: sfaselectioncross + SFA (Huang)",
        "Method 4: sfaselectioncross + SFA (O'Donnell)",
        "Interpreting the Selection Correction",
        "Extracting Efficiencies"
      ],
      "created": "2026-03-12 10:21:52",
      "modified": "2026-04-24 13:08:01",
      "commits": 3
    },
    {
      "source": "sfacross-metafrontier.Rmd",
      "filename": "sfacross-metafrontier.html",
      "title": "Standard SFA Metafrontier (groupType = \"sfacross\")",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Data Preparation",
        "Method 1: LP Metafrontier",
        "Method 2: QP Metafrontier",
        "Method 3: Stochastic Metafrontier — Huang et al. (2014)",
        "Method 4: Stochastic Envelope — O'Donnell et al. (2008)",
        "Comparing Methods",
        "Extracting Efficiencies",
        "Other Extractors"
      ],
      "created": "2026-03-12 10:21:52",
      "modified": "2026-04-24 13:08:01",
      "commits": 2
    }
  ],
  "_score": 5.544068044350276,
  "_indexed": true,
  "_nocasepkg": "smfa",
  "_universes": [
    "sulmanolieko"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T06:17:11.000Z",
      "distro": "noble",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "5f4acd90eedd9624930677d284df72314ea692ef814ff62a68c050b9e42d2501",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-05T06:17:03.000Z",
      "distro": "noble",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "ff990bcfea71ac095a8c13b15a7ce0f0b76f44f1bfb21769fd2e2c1350b68f73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-05T06:16:56.000Z",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "bd4442e4b1b4f93fa54014dff10125278b17765e68783c19f70f1097084b69ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-05T06:16:04.000Z",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "bc314c93d2b3cfec09558424b324d3345a552404172df14574095dbc1dc6a256",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-05T06:16:49.000Z",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "4b13ecf8c954b1808fe113deccad5e66f07034c201dbcc10836aed469d979e96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-05T06:15:35.000Z",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "a796b8d2e957363cf10573cfe5900a26c92bdcb5e2722aa87de9166ca213e2de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-05T06:15:21.000Z",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "075465b20c8bd56e069e477c0d6c834f0c50b3105371f4a22da13e6a03d5a486",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-05T06:16:01.000Z",
      "commit": "dcd9fbc800bcdcf72c7eb2248dfbcd3a429f1de3",
      "fileid": "d300bdc006d342db545d46fafc52fb5d40a2b98650d113a9a44027dfdc76bdc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/26998662709"
    }
  ]
}