Package: sfa
Version: 1.2.1
Date: 2026-09-07
Title: Stochastic Frontier Analysis
Type: Package
Authors@R: c(person("David", "Bernstein",
                     email = "davebernstein1@gmail.com", role = c("aut", "cre"),
                     comment = c(ORCID = "0000-0002-2267-5741")),
              person("Christopher", "Parmeter", role = c("aut")),
              person("Alexander", "Stead", role = c("aut")))
Maintainer: David Bernstein <davebernstein1@gmail.com>
Description: Maximum likelihood estimation of stochastic frontier
        models, in which observed output falls short of an unobserved
        production frontier by a one-sided inefficiency term in
        addition to symmetric noise, following Aigner, Lovell and
        Schmidt (1977) <doi:10.1016/0304-4076(77)90052-5> and Meeusen
        and van den Broeck (1977) <doi:10.2307/2525757>.
        Cross-sectional models cover seventeen noise and inefficiency
        distribution pairs, with heteroskedasticity permitted in either
        error component. Panel models include the true fixed and random
        effects estimators of Greene (2005)
        <doi:10.1016/j.jeconom.2004.05.003> and the four-component
        model of Colombi, Kumbhakar, Martini and Vittadini (2014)
        <doi:10.1007/s11123-014-0386-y>. Further entry points address
        zero inefficiency, latent classes, two-tier frontiers, sample
        selection, nonparametric frontiers, dependence between the
        error components, and endogenous regressors after Amsler,
        Prokhorov and Schmidt (2016)
        <doi:10.1016/j.jeconom.2015.06.013>. Technical efficiency
        prediction, marginal effects, and specification tests for wrong
        skewness, for the assumed inefficiency distribution and for
        heteroskedasticity are provided.
Suggests: knitr, rmarkdown, testthat, sn, np, DEA, sandwich, lmtest,
        texreg, pbapply, gsl
Imports: pso, numDeriv, plm, minqa, randtoolbox, mnormt, truncnorm,
        mvtnorm, Formula, methods, parallel, graphics, grDevices
Depends: R (>= 4.0.0)
License: GPL (>= 2)
Language: en-US
URL: https://www.davidharrybernstein.com/software,
        https://github.com/davidhbernstein/sfa
BugReports: https://github.com/davidhbernstein/sfa/issues
LazyLoad: yes
NeedsCompilation: no
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/testthat/parallel: true
Config/pak/sysreqs: make
Repository: https://davidhbernstein.r-universe.dev
Date/Publication: 2026-10-16 19:02:08 UTC
RemoteUrl: https://github.com/davidhbernstein/sfa
RemoteRef: HEAD
RemoteSha: 52c3bffb52cd0d8e133db280763cd1bac087822c
Packaged: 2026-10-16 21:37:12 UTC; root
Author: David Bernstein [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-2267-5741>),
  Christopher Parmeter [aut],
  Alexander Stead [aut]
