BenchmarkingEconomicEfficiency.jl is a new package for Julia that includes functions for the measurement and decomposition of the economic efficiency of organizations. Using Data Envelopment Analysis methods, the package includes code to decompose profit, profitability, cost and revenue efficiency, defined as ratios or differences. Depending on the functional form of economic efficiency it can be decomposed, either multiplicative or additively, into two separate and mutually exclusive components representing technical efficiency and allocative efficiency. The former can be measured through a number of DEA efficiency models. The package implements traditional decompositions based on the radial (input or output) technical efficiency measures, and new ones based on the generalized distance function, the directional distance function, DDF (including novel extensions like the modified DDF, reverse DDF, or generalizations based on Hölder norms), the Russell measures, the additive measures like the weighted additive distance function or slack based measure, etc.
Documentation is available here.
Illustration: The canonical model for the decomposition of normalized profit inefficiency into technical and allocative terms: