This work is licensed under a Creative Commons Attribution 4.0 International License.
Cite codes usage as shown here.
Stata commands to estimate the panel data stochastic frontier models of the first and second generation written and maintained by Oleg Badunenko (oleg.badunenko@brunel.ac.uk). The details are discussed in
Stochastic frontier analysis in Stata: using existing and coding new commands in “Handbook of Research Methods and Applications in Empirical Microeconomics” (edited by Nigar Hashimzade and Michael A. Thornton), 2021, Chapter 17, Edward Elgar Publishing, DOI
Codes to replicate the results in the chapter can be found here.
First, the tool to install from GitHub is required. It can be installed by typing in the Stata command line:
typical search is performed by typing
which provides tools for installation. The package can be installed directly by typing
The package can be installed without the github command:
Help files after installation can be called as usual:
for the 1st generation models and
for the second generation models.
This article guides through the code to replicate the results presented in the above chapter.