spefa: Spatial Stochastic Frontier with Fixed Effects and Endogeneity

Maximum-likelihood estimation of the spatial autoregressive stochastic frontier model with individual fixed effects (removed by first differencing) and endogenous regressors handled through a Gaussian control function, as in Giannini (2025) <doi:10.1080/17421772.2024.2414962>. Returns coefficient estimates and standard errors, spatially-corrected technical (in)efficiency scores, and direct, indirect and total marginal impacts. Depends only on base R.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: stats
Suggests: knitr, rmarkdown
Published: 2026-05-28
DOI: 10.32614/CRAN.package.spefa
Author: Massimo Giannini [aut, cre] (University of Rome Tor Vergata, Department of Enterprise Engineering)
Maintainer: Massimo Giannini <massimo.giannini at uniroma2.it>
License: GPL-3
NeedsCompilation: no
Citation: spefa citation info
CRAN checks: spefa results

Documentation:

Reference manual: spefa.html , spefa.pdf
Vignettes: spefa: user guide (source, R code)

Downloads:

Package source: spefa_0.1.0.tar.gz
Windows binaries: r-devel: spefa_0.1.0.zip, r-release: spefa_0.1.0.zip, r-oldrel: spefa_0.1.0.zip
macOS binaries: r-release (arm64): spefa_0.1.0.tgz, r-oldrel (arm64): spefa_0.1.0.tgz, r-release (x86_64): spefa_0.1.0.tgz, r-oldrel (x86_64): spefa_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=spefa to link to this page.