Package: sfaR 1.0.1.9000
sfaR: Stochastic Frontier Analysis Routines
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) <doi:10.1111/1477-9552.12422>, for cross-sectional and pooled data, and the sample selection model as described in Greene (2010) <doi:10.1007/s11123-009-0159-1>, and applied in Dakpo et al. (2021) <doi:10.1111/agec.12683>. Several possibilities in terms of optimization algorithms are proposed.
Authors:
sfaR_1.0.1.9000.tar.gz
sfaR_1.0.1.9000.zip(r-4.5)sfaR_1.0.1.9000.zip(r-4.4)sfaR_1.0.1.9000.zip(r-4.3)
sfaR_1.0.1.9000.tgz(r-4.4-any)sfaR_1.0.1.9000.tgz(r-4.3-any)
sfaR_1.0.1.9000.tar.gz(r-4.5-noble)sfaR_1.0.1.9000.tar.gz(r-4.4-noble)
sfaR_1.0.1.9000.tgz(r-4.4-emscripten)sfaR_1.0.1.9000.tgz(r-4.3-emscripten)
sfaR.pdf |sfaR.html✨
sfaR/json (API)
NEWS
# Install 'sfaR' in R: |
install.packages('sfaR', repos = c('https://hdakpo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hdakpo/sfar/issues
- dairynorway - Data on Norwegian dairy farms
- dairyspain - Data on Spanish dairy farms
- electricity - Data on U.S. electric power generation
- ricephil - Data on rice production in the Philippines
- swissrailways - Data on Swiss railway companies
- utility - Data on U.S. electricity generating plants
- worldprod - Data on world production
Last updated 22 days agofrom:7bc35f1f2f. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 31 2024 |
R-4.5-win | OK | Oct 31 2024 |
R-4.5-linux | OK | Oct 31 2024 |
R-4.4-win | OK | Oct 31 2024 |
R-4.4-mac | OK | Oct 31 2024 |
R-4.3-win | OK | Oct 31 2024 |
R-4.3-mac | OK | Oct 31 2024 |
Exports:efficienciesextract.sfacrossextract.sfalcmcrossextract.sfaselectioncrossiclcmcrosslogLikmarginalsfacrosssfalcmcrosssfaselectioncrossskewnessTest
Dependencies:askpassbdsmatrixcodetoolscollapsecubaturecurldigestdoParallelfastGHQuadforeachFormulagenericshpahttriteratorsjsonlitelatticelmtestmarqLevAlgMASSMatrixmaxLikmimemiscToolsmnormnleqslvnlmeopensslplmqrngR6randtoolboxrbibutilsRcppRcppArmadilloRcppEigenRcppParallelRdpackrngWELLsandwichsystexregtrustOptimucminfzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
sfaR: A package for estimating stochastic frontier models | sfaR-package sfaR _SFAR |
Extract coefficients of stochastic frontier models | coef coef.sfacross coef.sfalcmcross coef.sfaselectioncross coef.summary.sfacross coef.summary.sfalcmcross coef.summary.sfaselectioncross |
Data on Norwegian dairy farms | dairynorway |
Data on Spanish dairy farms | dairyspain |
Compute conditional (in-)efficiency estimates of stochastic frontier models | efficiencies efficiencies.sfacross efficiencies.sfalcmcross efficiencies.sfaselectioncross |
Data on U.S. electric power generation | electricity |
Extract frontier information to be used with *texreg* package | extract extract.sfacross extract.sfalcmcross extract.sfaselectioncross |
Extract fitted values of stochastic frontier models | fitted fitted.sfacross fitted.sfalcmcross fitted.sfaselectioncross |
Extract information criteria of stochastic frontier models | ic ic.sfacross ic.sfalcmcross ic.sfaselectioncross |
Extract log-likelihood value of stochastic frontier models | logLik logLik.sfacross logLik.sfalcmcross logLik.sfaselectioncross |
Marginal effects of the inefficiency drivers in stochastic frontier models | marginal marginal.sfacross marginal.sfalcmcross marginal.sfaselectioncross |
Extract total number of observations used in frontier models | nobs nobs.sfacross nobs.sfalcmcross nobs.sfaselectioncross |
Extract residuals of stochastic frontier models | residuals residuals.sfacross residuals.sfalcmcross residuals.sfaselectioncross |
Data on rice production in the Philippines | ricephil |
Stochastic frontier estimation using cross-sectional data | bread.sfacross estfun.sfacross print.sfacross sfacross |
Latent class stochastic frontier using cross-sectional data | bread.sfalcmcross estfun.sfalcmcross print.sfalcmcross sfalcmcross |
Deprecated functions of sfaR | bread.lcmcross coef.lcmcross coef.summary.lcmcross efficiencies.lcmcross estfun.lcmcross fitted.lcmcross ic.lcmcross lcmcross logLik.lcmcross marginal.lcmcross nobs.lcmcross print.lcmcross print.summary.lcmcross residuals.lcmcross sfaR-deprecated summary.lcmcross vcov.lcmcross |
Sample selection in stochastic frontier estimation using cross-section data | bread.sfaselectioncross estfun.sfaselectioncross print.sfaselectioncross sfaselectioncross |
Skewness test for stochastic frontier models | skewnessTest |
Summary of results for stochastic frontier models | print.summary.sfacross print.summary.sfalcmcross print.summary.sfaselectioncross summary summary.sfacross summary.sfalcmcross summary.sfaselectioncross |
Data on Swiss railway companies | swissrailways |
Data on U.S. electricity generating plants | utility |
Compute variance-covariance matrix of stochastic frontier models | vcov vcov.sfacross vcov.sfalcmcross vcov.sfaselectioncross |
Data on world production | worldprod |