{
  "_id": "6a0f7697acfb0bcc41c61dc4",
  "Package": "sfa",
  "Version": "1.0.4",
  "Date": "2026-01-15",
  "Title": "Stochastic Frontier Analysis",
  "Type": "Package",
  "Authors@R": "c(person(\"David\", \"Bernstein\",\nemail = \"davebernstein1@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2267-5741\")),\nperson(\"Christopher\", \"Parmeter\", role = c(\"aut\")),\nperson(\"Alexander\", \"Stead\", role = c(\"aut\")))",
  "Maintainer": "David Bernstein <davebernstein1@gmail.com>",
  "Description": "Provides a user-friendly framework for estimating a wide\nvariety of cross-sectional and panel stochastic frontier\nmodels. Suitable for a broad range of applications, the\nimplementation offers extensive flexibility in specification\nand estimation techniques.",
  "License": "GPL (>= 2)",
  "Language": "en-US",
  "URL": "https://www.davidharrybernstein.com/software",
  "LazyLoad": "yes",
  "NeedsCompilation": "yes",
  "Archs": "i386, x64",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-05-21 06:12:04 UTC",
    "User": "root"
  },
  "Author": "David Bernstein [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2267-5741>), Christopher Parmeter\n[aut], Alexander Stead [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-01-21 19:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/sfa",
  "RemoteRef": "HEAD",
  "RemoteSha": "a13458f423a696ffcd8046c25983f43c87e4daa7",
  "MD5sum": "419a519bf6e9de7849c20978ee0f6bf0",
  "_user": "cran",
  "_type": "src",
  "_file": "sfa_1.0.4.tar.gz",
  "_fileid": "5c3a42c65a2034ea9c39dadb2529ffb9b0e96a5da8e8e21a42cfe19d8b4362e6",
  "_filesize": 796366,
  "_sha256": "5c3a42c65a2034ea9c39dadb2529ffb9b0e96a5da8e8e21a42cfe19d8b4362e6",
  "_created": "2026-05-21T06:12:04.000Z",
  "_published": "2026-05-21T21:18:15.903Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77270449434,
      "time": 225,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7128541654"
    },
    {
      "job": 77270449673,
      "time": 219,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128540672"
    },
    {
      "job": 77270449403,
      "time": 329,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128490584"
    },
    {
      "job": 77270449028,
      "time": 176,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7147431867"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26208661186",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/sfa",
  "_commit": {
    "id": "a13458f423a696ffcd8046c25983f43c87e4daa7",
    "author": "David Bernstein <davebernstein1@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.4\n",
    "time": 1769022002
  },
  "_maintainer": {
    "name": "David Bernstein",
    "email": "davebernstein1@gmail.com",
    "orcid": "0000-0002-2267-5741"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "devtools",
      "role": "Imports"
    },
    {
      "package": "pso",
      "role": "Imports"
    },
    {
      "package": "cubature",
      "role": "Imports"
    },
    {
      "package": "moments",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "haven",
      "role": "Imports"
    },
    {
      "package": "fdrtool",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "gsl",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "plm",
      "role": "Imports"
    },
    {
      "package": "minqa",
      "role": "Imports"
    },
    {
      "package": "randtoolbox",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "frontier",
      "role": "Imports"
    },
    {
      "package": "Jmisc",
      "role": "Imports"
    },
    {
      "package": "mnormt",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "tmvtnorm",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pracma",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.4",
      "date": "2026-01-21"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "ari90210",
      "count": 1,
      "uuid": 32193960
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 244,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sfa"
  },
  "_searchresults": 30,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/sfa.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0-0",
      "date": "2011-01-24"
    },
    {
      "version": "1.0-1",
      "date": "2014-01-06"
    },
    {
      "version": "1.0.4",
      "date": "2026-01-21"
    }
  ],
  "_exports": [
    "data_gen_cs",
    "data_gen_p",
    "print.sfareg",
    "psfm",
    "sfm",
    "summary.sfareg",
    "zsfm"
  ],
  "_datasets": [
    {
      "name": "FinnishElec",
      "title": "FinnishElec",
      "object": "FinnishElec",
      "file": "FinnishElec.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "x",
        "y1",
        "y2",
        "y3",
        "z"
      ],
      "rows": 89,
      "table": true,
      "tojson": true
    },
    {
      "name": "Indian",
      "title": "Indian",
      "object": "Indian",
      "file": "Indian.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "yr",
        "age",
        "school",
        "yvar",
        "Lland",
        "PIland",
        "Llabor",
        "Lbull",
        "Lcost"
      ],
      "rows": 273,
      "table": true,
      "tojson": true
    },
    {
      "name": "panel89",
      "title": "Panel89",
      "object": "panel89",
      "file": "panel89.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "q1",
        "q2",
        "q3",
        "q4",
        "q5",
        "w1",
        "w2",
        "w3",
        "w4",
        "z"
      ],
      "rows": 4985,
      "table": true,
      "tojson": true
    },
    {
      "name": "USUtilities",
      "title": "USUtilities",
      "object": "USUtilities",
      "file": "USUtilities.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "firmID",
        "year",
        "q",
        "K",
        "L",
        "F",
        "trend"
      ],
      "rows": 972,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "sfa-package",
      "title": "Stochastic Frontier Analysis",
      "topics": [
        "sfa-package"
      ]
    },
    {
      "page": "data.gen.cs",
      "title": "Generate Cross-Sectional Data for Stochastic Frontier Analysis",
      "topics": [
        "data_gen_cs"
      ]
    },
    {
      "page": "data.gen.p",
      "title": "Generate Panel Data for Stochastic Frontier Analysis",
      "topics": [
        "data_gen_p"
      ]
    },
    {
      "page": "FinnishElec",
      "title": "FinnishElec",
      "topics": [
        "FinnishElec"
      ]
    },
    {
      "page": "Indian",
      "title": "Indian",
      "topics": [
        "Indian"
      ]
    },
    {
      "page": "panel89",
      "title": "Panel89",
      "topics": [
        "panel89"
      ]
    },
    {
      "page": "print.sfareg",
      "title": "sfa Object Summaries",
      "topics": [
        "print.sfareg"
      ]
    },
    {
      "page": "psfm",
      "title": "psfm",
      "topics": [
        "psfm"
      ]
    },
    {
      "page": "sfm",
      "title": "sfm",
      "topics": [
        "sfm"
      ]
    },
    {
      "page": "summary.sfareg",
      "title": "sfa Object Summaries",
      "topics": [
        "summary.sfareg"
      ]
    },
    {
      "page": "USUtilities",
      "title": "USUtilities",
      "topics": [
        "USUtilities"
      ]
    },
    {
      "page": "zsfm",
      "title": "Zero-Inflated Stochastic Frontier Model",
      "topics": [
        "zsfm"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bdsmatrix",
    "bit",
    "bit64",
    "brew",
    "brio",
    "bslib",
    "cachem",
    "callr",
    "cellranger",
    "checkmate",
    "cli",
    "clipr",
    "cluster",
    "collapse",
    "colorspace",
    "commonmark",
    "cpp11",
    "crayon",
    "credentials",
    "cubature",
    "curl",
    "data.table",
    "desc",
    "devtools",
    "diffobj",
    "digest",
    "downlit",
    "ellipsis",
    "evaluate",
    "fansi",
    "farver",
    "fastmap",
    "fdrtool",
    "fontawesome",
    "forcats",
    "foreign",
    "Formula",
    "frontier",
    "fs",
    "generics",
    "gert",
    "ggplot2",
    "gh",
    "gitcreds",
    "glue",
    "gmm",
    "gridExtra",
    "gsl",
    "gtable",
    "haven",
    "highr",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr2",
    "ini",
    "isoband",
    "Jmisc",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "maxLik",
    "memoise",
    "micEcon",
    "mime",
    "miniUI",
    "minqa",
    "miscTools",
    "mnormt",
    "moments",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "openssl",
    "otel",
    "pak",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgdown",
    "pkgload",
    "plm",
    "praise",
    "prettyunits",
    "processx",
    "profvis",
    "progress",
    "promises",
    "ps",
    "pso",
    "purrr",
    "R6",
    "ragg",
    "randtoolbox",
    "rappdirs",
    "rbibutils",
    "rcmdcheck",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "rmarkdown",
    "rngWELL",
    "roxygen2",
    "rpart",
    "rprojroot",
    "rstudioapi",
    "rversions",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "sessioninfo",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "sys",
    "systemfonts",
    "testthat",
    "textshaping",
    "tibble",
    "tidyselect",
    "tinytex",
    "tmvtnorm",
    "truncnorm",
    "tzdb",
    "urlchecker",
    "usethis",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "waldo",
    "whisker",
    "withr",
    "xfun",
    "xml2",
    "xopen",
    "xtable",
    "yaml",
    "zip",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "intro_to_psfm.Rmd",
      "filename": "intro_to_psfm.html",
      "title": "Introduction to psfm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load Package",
        "Generalized True Random Effects Model",
        "GTRE Results"
      ],
      "created": "2026-01-21 19:00:02",
      "modified": "2026-01-21 19:00:02",
      "commits": 1
    }
  ],
  "_score": 2.778151250383644,
  "_indexed": true,
  "_nocasepkg": "sfa",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-21T06:14:54.000Z",
      "distro": "noble",
      "commit": "a13458f423a696ffcd8046c25983f43c87e4daa7",
      "fileid": "2a0fa8f96571202a7a05cc07828d0e237f9eac81181ec6f771a43ef70599cc5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26208661186"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-21T06:14:49.000Z",
      "distro": "noble",
      "commit": "a13458f423a696ffcd8046c25983f43c87e4daa7",
      "fileid": "b5c1e1252d1eeac1ed7cd86cb30c2467e5c68e1320e9b046ef4af7f7f97d34a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26208661186"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-21T21:17:52.000Z",
      "commit": "a13458f423a696ffcd8046c25983f43c87e4daa7",
      "fileid": "2d223290cba490b4ffcb858adbd6a739a790a830a725031854a958152c790c52",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26208661186"
    }
  ]
}