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) .
Returns coefficient estimates and standard errors, spatially-corrected
technical (in)efficiency scores, and direct, indirect and total marginal
impacts. Depends only on base R.