{
  "_id": "6ab7947f99f7aa8c6aa32760",
  "Package": "smfa",
  "Title": "Stochastic Metafrontier Analysis",
  "Version": "1.0.1",
  "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/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make texlive libssl-dev",
  "Repository": "https://sulmanolieko.r-universe.dev",
  "Date/Publication": "2026-07-28 11:51:56 UTC",
  "RemoteUrl": "https://github.com/sulmanolieko/smfa",
  "RemoteRef": "HEAD",
  "RemoteSha": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 09:41:53 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>",
  "_user": "sulmanolieko",
  "_type": "src",
  "_file": "smfa_1.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/fbe7c015f8e3e06406ec2be7a1431ba68a37955dd195a9db7c7adbb667c20397",
  "_filesize": 813509,
  "_sha256": "fbe7c015f8e3e06406ec2be7a1431ba68a37955dd195a9db7c7adbb667c20397",
  "_expires": "2027-01-04T09:46:37.000Z",
  "_created": "2026-09-26T09:41:53.000Z",
  "_published": "2026-09-26T09:46:39.642Z",
  "_jobs": [
    {
      "job": 108381194844,
      "time": 212,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10903048529"
    },
    {
      "job": 108381194881,
      "time": 223,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10902958802"
    },
    {
      "job": 108381194878,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10903850264"
    },
    {
      "job": 108381194677,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10902983586"
    },
    {
      "job": 108380464470,
      "time": 316,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10903461467"
    },
    {
      "job": 108381194754,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10902978554"
    },
    {
      "job": 108381194859,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10902759382"
    },
    {
      "job": 108381194824,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10902973611"
    },
    {
      "job": 108381194904,
      "time": 112,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10903083307"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106",
  "_status": "success",
  "_upstream": "https://github.com/sulmanolieko/smfa",
  "_commit": {
    "id": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
    "author": "Sulman Olieko Owili <141807255+SulmanOlieko@users.noreply.github.com>",
    "committer": "Sulman Olieko Owili <141807255+SulmanOlieko@users.noreply.github.com>",
    "message": "chore: update submission date and checksum for smfa version 1.0.1\n",
    "time": 1785239516
  },
  "_maintainer": {
    "name": "Sulman Olieko Owili",
    "email": "oliekosulman@gmail.com",
    "login": "sulmanolieko",
    "orcid": "0000-0001-7401-5326",
    "description": "",
    "uuid": 141807255
  },
  "_distro": "resolute",
  "_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"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "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
    },
    {
      "week": "2026-29",
      "n": 4
    },
    {
      "week": "2026-31",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-04-26"
    },
    {
      "name": "v1.0.1",
      "date": "2026-07-28"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "sulmanolieko",
      "count": 90,
      "uuid": 141807255
    }
  ],
  "_userbio": {
    "uuid": 141807255,
    "type": "user",
    "name": "Sulman Olieko Owili",
    "followers": 1
  },
  "_downloads": {
    "count": 361,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smfa"
  },
  "_devurl": "https://github.com/sulmanolieko/smfa",
  "_pkgdown": "https://SulmanOlieko.github.io/smfa/",
  "_searchresults": 16,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/smfa.html"
  ],
  "_homeurl": "https://github.com/sulmanolieko/smfa",
  "_realowner": "sulmanolieko",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-04-28"
    },
    {
      "version": "1.0.1",
      "date": "2026-07-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-07-14 20:14:53",
      "commits": 3
    },
    {
      "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-07-14 20:14:53",
      "commits": 5
    },
    {
      "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-07-14 20:14:53",
      "commits": 4
    },
    {
      "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-07-14 21:24:18",
      "commits": 5
    },
    {
      "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-07-14 21:24:18",
      "commits": 4
    }
  ],
  "_score": 6.033423755486949,
  "_indexed": true,
  "_nocasepkg": "smfa",
  "_universes": [
    "sulmanolieko"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-26T09:45:06.000Z",
      "distro": "resolute",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/ce32485e2341e3cea7db597927b34766f990a6fdf7ffb51516c161e5f12d8ae9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-09-26T09:45:15.000Z",
      "distro": "resolute",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/eacdfeb6d96175d09a76c993de3e0d77e9e44678c8ed7216cf6919bdc8d41c13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-26T09:44:29.000Z",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/fb2d9e473c7ab43a05be6b3ff7e3efaee717592512061a36308c4111f43ac6c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-09-26T09:44:15.000Z",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/eac0e0db55dacc48503309b6021561f9a598c50ea557eee8755ab9dc25d8ae06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-09-26T09:44:53.000Z",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/27dc5c1b6cd4f5a00c48c0f6465c21df7aeb7319be1f5bb9d94a39c7738e2a4c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-26T09:43:08.000Z",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/00c448670af75ad9ab1f626ad8f808b03585610420da9f2fbf294d7b2c9da24b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-26T09:43:25.000Z",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/1ae216fd5ca1cbe1d5cdb35ed0b44166b938d9834207c182c0ccdd730d551587",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-09-26T09:43:18.000Z",
      "commit": "b8cb4afe0d7d504a33d8cf773de5fe71dd6ef2e5",
      "fileid": "https://r2.ropensci.org/65d758ff279b531bbccc1dc0f7d428a892e219011244e73d8769066c478be201",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sulmanolieko/actions/runs/36233306106"
    }
  ]
}