Package: sfaR Title: Stochastic Frontier Analysis Routines Version: 1.0.1.9000 Authors@R: c( person("K Hervé", "Dakpo", email = "k-herve.dakpo@inrae.fr", role = c("aut", "cre")), person("Yann", "Desjeux", role = "aut"), person("Arne", "Henningsen", role = "aut"), person("Laure", "Latruffe", role = "aut") ) Description: Maximum likelihood estimation for stochastic frontier analysis (SFA) of production (profit) and cost functions. The package includes the basic stochastic frontier for cross-sectional or pooled data with several distributions for the one-sided error term (i.e., Rayleigh, gamma, Weibull, lognormal, uniform, generalized exponential and truncated skewed Laplace), the latent class stochastic frontier model (LCM) as described in Dakpo et al. (2021) , for cross-sectional and pooled data, and the sample selection model as described in Greene (2010) , and applied in Dakpo et al. (2021) . Several possibilities in terms of optimization algorithms are proposed. License: GPL (>= 3) URL: https://github.com/hdakpo/sfaR BugReports: https://github.com/hdakpo/sfaR/issues Depends: R (>= 3.5.0) Imports: cubature, fastGHQuad, Formula, marqLevAlg, maxLik, methods, mnorm, nleqslv, plm, qrng, randtoolbox, sandwich, stats, texreg, trustOptim, ucminf Suggests: lmtest Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 Config/pak/sysreqs: make texlive libssl-dev Repository: https://hdakpo.r-universe.dev Date/Publication: 2026-05-05 09:35:00 UTC RemoteUrl: https://github.com/hdakpo/sfar RemoteRef: HEAD RemoteSha: c16a1a56157ea154585fcb420cba21a74d5a3c88 NeedsCompilation: no Packaged: 2026-07-04 05:30:47 UTC; root Author: K Hervé Dakpo [aut, cre], Yann Desjeux [aut], Arne Henningsen [aut], Laure Latruffe [aut] Maintainer: K Hervé Dakpo