IDEAS home Printed from
   My bibliography  Save this paper

A Data Envelopment Analysis Toolbox for MATLAB


  • Álvarez, Inmaculada

    (Departamento de Análisis Económico (Teoría e Historia Económica). Universidad Autónoma de Madrid.)

  • Barbero, Javier

    (Departamento de Análisis Económico (Teoría e Historia Económica). Universidad Autónoma de Madrid.)

  • Zofío, Jose Luis

    (Departamento de Análisis Económico (Teoría e Historia Económica). Universidad Autónoma de Madrid.)


Data Envelopment Analysis Toolbox is a new package for MATLAB that includes functions to calculate the main DEA models. The package includes code for the standard additive and radial input and output measures, allowing for constant and variable returns to scale, as well as recent developments related to the directional distance function, and including both desirable and undesirable outputs when measuring efficiency and productivity; i.e., Malmquist and Malmquist-Luenberger indices. Bootstrapping to perform statistical analysis is also included. This paper describes the methodology and implementation of the functions and reports numerical results with well-known examples to illustrate their use.

Suggested Citation

  • Álvarez, Inmaculada & Barbero, Javier & Zofío, Jose Luis, 2016. "A Data Envelopment Analysis Toolbox for MATLAB," Working Papers in Economic Theory 2016/03, Universidad Autónoma de Madrid (Spain), Department of Economic Analysis (Economic Theory and Economic History).
  • Handle: RePEc:uam:wpaper:201603

    Download full text from publisher

    File URL:
    Download Restriction: no

    References listed on IDEAS

    1. Jose Zofio & Jesus Pastor & Juan Aparicio, 2013. "The directional profit efficiency measure: on why profit inefficiency is either technical or allocative," Journal of Productivity Analysis, Springer, vol. 40(3), pages 257-266, December.
    2. Aparicio, Juan & Pastor, Jesus T. & Zofio, Jose L., 2015. "How to properly decompose economic efficiency using technical and allocative criteria with non-homothetic DEA technologies," European Journal of Operational Research, Elsevier, vol. 240(3), pages 882-891.
    3. W. Briec, 1997. "A Graph-Type Extension of Farrell Technical Efficiency Measure," Journal of Productivity Analysis, Springer, vol. 8(1), pages 95-110, March.
    4. Fried, Harold O. & Lovell, C. A. Knox & Schmidt, Shelton S. (ed.), 1993. "The Measurement of Productive Efficiency: Techniques and Applications," OUP Catalogue, Oxford University Press, number 9780195072181.
    5. Wilson, Paul W., 2008. "FEAR: A software package for frontier efficiency analysis with R," Socio-Economic Planning Sciences, Elsevier, vol. 42(4), pages 247-254, December.
    6. Aparicio, Juan & Pastor, Jesus T. & Zofio, Jose L., 2013. "On the inconsistency of the Malmquist–Luenberger index," European Journal of Operational Research, Elsevier, vol. 229(3), pages 738-742.
    7. Léopold Simar & Paul W. Wilson, 1998. "Sensitivity Analysis of Efficiency Scores: How to Bootstrap in Nonparametric Frontier Models," Management Science, INFORMS, vol. 44(1), pages 49-61, January.
    8. H. David Sherman & Joe Zhu, 2006. "Service Productivity Management," Springer Books, Springer, number 978-0-387-33231-4, September.
    9. Peter Bogetoft & Lars Otto, 2011. "Data Envelopment Analysis DEA," International Series in Operations Research & Management Science, in: Benchmarking with DEA, SFA, and R, chapter 0, pages 81-113, Springer.
    10. Caves, Douglas W & Christensen, Laurits R & Diewert, W Erwin, 1982. "The Economic Theory of Index Numbers and the Measurement of Input, Output, and Productivity," Econometrica, Econometric Society, vol. 50(6), pages 1393-1414, November.
    11. Cooper, W.W. & Pastor, Jesus T. & Aparicio, Juan & Borras, Fernando, 2011. "Decomposing profit inefficiency in DEA through the weighted additive model," European Journal of Operational Research, Elsevier, vol. 212(2), pages 411-416, July.
    12. R. D. Banker & A. Charnes & W. W. Cooper, 1984. "Some Models for Estimating Technical and Scale Inefficiencies in Data Envelopment Analysis," Management Science, INFORMS, vol. 30(9), pages 1078-1092, September.
    13. Peter Bogetoft & Lars Otto, 2011. "Benchmarking with DEA, SFA, and R," International Series in Operations Research and Management Science, Springer, number 978-1-4419-7961-2, September.
    14. Du, Juan & Liang, Liang & Zhu, Joe, 2010. "A slacks-based measure of super-efficiency in data envelopment analysis: A comment," European Journal of Operational Research, Elsevier, vol. 204(3), pages 694-697, August.
    15. William W. Cooper & Lawrence M. Seiford & Kaoru Tone, 2007. "Data Envelopment Analysis," Springer Books, Springer, edition 0, number 978-0-387-45283-8, September.
    Full references (including those not matched with items on IDEAS)


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. Maryam H. El Alaoui & Mustapha D. Ibrahim & Sahand Daneshvar & Uju Violet Alola & Andrew Adewale Alola, 2023. "A two-stage data envelopment analysis approach to productivity, efficiency and their sustainability in the hotel industry of Tunisia," Quality & Quantity: International Journal of Methodology, Springer, vol. 57(1), pages 955-972, February.
    2. Angela Pîslaru & Matei Kubinschi & Florian Neagu, 2023. "Does it pay off to invest in bank staff training? Survey‐based evidence from an emerging market banking sector," Economics of Transition and Institutional Change, John Wiley & Sons, vol. 31(4), pages 1055-1072, October.
    3. Orea, Luis & Zofío, José L., 2017. "A primer on the theory and practice of efficiency and productivity analysis," Efficiency Series Papers 2017/05, University of Oviedo, Department of Economics, Oviedo Efficiency Group (OEG).
    4. Maria-Eugenia Sanin & Sylvain Sourisseau, 2019. "Pervasive EUAs free allocation: the case of the steel industry," Documents de recherche 19-06, Centre d'Études des Politiques Économiques (EPEE), Université d'Evry Val d'Essonne.
    5. Yongrok Choi & Fan Yang & Hyoungsuk Lee, 2020. "On the Unbalanced Atmospheric Environmental Performance of Major Cities in China," Sustainability, MDPI, vol. 12(13), pages 1-14, July.
    6. Trinks, Arjan & Mulder, Machiel & Scholtens, Bert, 2020. "An Efficiency Perspective on Carbon Emissions and Financial Performance," Ecological Economics, Elsevier, vol. 175(C).
    7. Juan Aparicio & Javier Barbero & Magdalena Kapelko & Jesus T. Pastor & Jose L. Zofio, 2016. "Environmental Productivity Change in World Air Emissions: A new Malmquist-Luenberger Index Approach," JRC Research Reports JRC104083, Joint Research Centre.
    8. Kuljanin, Jovana & Kalić, Milica & Caggiani, Leonardo & Ottomanelli, Michele, 2019. "A comparative efficiency and productivity analysis: Implication to airlines located in Central and South-East Europe," Journal of Air Transport Management, Elsevier, vol. 78(C), pages 152-163.
    9. Maroto, Andrés & Zofío, José Luis, 2016. "Accessibility gains and road transport infrastructure in Spain: A productivity approach based on the Malmquist index," Journal of Transport Geography, Elsevier, vol. 52(C), pages 143-152.
    10. Monastyrenko, Evgenii, 2017. "Eco-efficiency outcomes of mergers and acquisitions in the European electricity industry," Energy Policy, Elsevier, vol. 107(C), pages 258-277.
    11. Balk, Bert M. & Zofío, José L., 2020. "Symmetric decompositions of cost variation," European Journal of Operational Research, Elsevier, vol. 285(3), pages 1189-1198.
    12. Xia, Fan & Xu, Jintao, 2020. "Green total factor productivity: A re-examination of quality of growth for provinces in China," China Economic Review, Elsevier, vol. 62(C).
    13. Balk, B.M. & Zofío, J.L., 2019. "The Decompositions of Cost Variation," ERIM Report Series Research in Management ERS-2019-006-LIS, Erasmus Research Institute of Management (ERIM), ERIM is the joint research institute of the Rotterdam School of Management, Erasmus University and the Erasmus School of Economics (ESE) at Erasmus University Rotterdam.
    14. Shaojian Qu & Can Feng & Shan Jiang & Jinpeng Wei & Yuting Xu, 2022. "Data-Driven Robust DEA Models for Measuring Operational Efficiency of Endowment Insurance System of Different Provinces in China," Sustainability, MDPI, vol. 14(16), pages 1-21, August.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Rafael Benítez & Vicente Coll-Serrano & Vicente J. Bolós, 2021. "deaR-Shiny: An Interactive Web App for Data Envelopment Analysis," Sustainability, MDPI, vol. 13(12), pages 1-19, June.
    2. Falavigna, G. & Ippoliti, R., 2020. "The socio-economic planning of a community nurses programme in mountain areas: A Directional Distance Function approach," Socio-Economic Planning Sciences, Elsevier, vol. 71(C).
    3. Sommersguter-Reichmann, Margit & Stepan, Adolf, 2015. "The interplay between regulation and efficiency: Evidence from the Austrian hospital inpatient sector," Socio-Economic Planning Sciences, Elsevier, vol. 52(C), pages 10-21.
    4. Adel Hatami-Marbini & Aliasghar Arabmaldar & John Otu Asu, 2022. "Robust productivity growth and efficiency measurement with undesirable outputs: evidence from the oil industry," OR Spectrum: Quantitative Approaches in Management, Springer;Gesellschaft für Operations Research e.V., vol. 44(4), pages 1213-1254, December.
    5. Franz R. Hahn, 2007. "Determinants of Bank Efficiency in Europe. Assessing Bank Performance Across Markets," WIFO Studies, WIFO, number 31499, April.
    6. Pontus Mattsson & Jonas Månsson & Christian Andersson & Fredrik Bonander, 2018. "A bootstrapped Malmquist index applied to Swedish district courts," European Journal of Law and Economics, Springer, vol. 46(1), pages 109-139, August.
    7. Alessandra Cepparulo & Gilles Mourre, 2020. "How and How Much? The Growth-Friendliness of Public Spending through the Lens," European Economy - Discussion Papers 132, Directorate General Economic and Financial Affairs (DG ECFIN), European Commission.
    8. Gómez-Calvet, Roberto & Conesa, David & Gómez-Calvet, Ana Rosa & Tortosa-Ausina, Emili, 2014. "Energy efficiency in the European Union: What can be learned from the joint application of directional distance functions and slacks-based measures?," Applied Energy, Elsevier, vol. 132(C), pages 137-154.
    9. repec:agr:journl:v:4(621):y:2019:i:4(621):p:241-264 is not listed on IDEAS
    10. Neves Bezerra de Melo, Felipe Luiz & Sampaio, Raquel Menezes Bezerra & Sampaio, Luciano Menezes Bezerra, 2018. "Efficiency, productivity gains, and the size of Brazilian supermarkets," International Journal of Production Economics, Elsevier, vol. 197(C), pages 99-111.
    11. Danish Ahmed SIDDIQUI & Qazi Masood AHMED, 2019. "Exploring the role of institutions in cross country Malmquist productivity analysis: A two-stage double bootstrap DEA approach," Theoretical and Applied Economics, Asociatia Generala a Economistilor din Romania - AGER, vol. 0(4(621), W), pages 241-264, Winter.
    12. Mircea Epure, 2016. "Benchmarking for routines and organizational knowledge: a managerial accounting approach with performance feedback," Journal of Productivity Analysis, Springer, vol. 46(1), pages 87-107, August.
    13. Zabala-Iturriagagoitia, Jon Mikel & Aparicio, Juan & Ortiz, Lidia & Carayannis, Elias G. & Grigoroudis, Evangelos, 2021. "The productivity of national innovation systems in Europe: Catching up or falling behind?," Technovation, Elsevier, vol. 102(C).
    14. Diogo Cunha Ferreira & Rui Cunha Marques, 2020. "A step forward on order-α robust nonparametric method: inclusion of weight restrictions, convexity and non-variable returns to scale," Operational Research, Springer, vol. 20(2), pages 1011-1046, June.
    15. Barbero, Javier & Zofío, José L., 2023. "The measurement of profit, profitability, cost and revenue efficiency through data envelopment analysis: A comparison of models using BenchmarkingEconomicEfficiency.jl," Socio-Economic Planning Sciences, Elsevier, vol. 89(C).
    16. Lorena Androutsou & Michail Kokkinos & Dimitra Latsou & Mary Geitona, 2022. "Assessing the Efficiency and Productivity of the Hospital Clinics on the Island of Rhodes during the COVID-19 Pandemic," IJERPH, MDPI, vol. 19(23), pages 1-12, November.
    17. Kim, Man-Keun & Harris, Thomas R., 2008. "An Efficiency Analysis of Nevada and Utah Counties: Region Size Leads Regional Efficiency," 2008 Annual Meeting, July 27-29, 2008, Orlando, Florida 6338, American Agricultural Economics Association (New Name 2008: Agricultural and Applied Economics Association).
    18. José Solana‐Ibáñez & Manuel Caravaca‐Garratón & Ricardo Teruel‐Sánchez, 2020. "Stakeholder perception on corporate reputation and management efficiency: Evidence from the Spanish Defence sector," Corporate Social Responsibility and Environmental Management, John Wiley & Sons, vol. 27(5), pages 2381-2399, September.
    19. Fragoudaki, Alexandra & Giokas, Dimitris, 2016. "Airport performance in a tourism receiving country: Evidence from Greece," Journal of Air Transport Management, Elsevier, vol. 52(C), pages 80-89.
    20. Bampatsou, Christina & Halkos, George, 2018. "Dynamics of productivity taking into consideration the impact of energy consumption and environmental degradation," Energy Policy, Elsevier, vol. 120(C), pages 276-283.
    21. Sebastian Kohl & Jan Schoenfelder & Andreas Fügener & Jens O. Brunner, 2019. "The use of Data Envelopment Analysis (DEA) in healthcare with a focus on hospitals," Health Care Management Science, Springer, vol. 22(2), pages 245-286, June.

    More about this item


    Data Envelopment Analysis; Distance functions; Technical efficiency; Matlab;
    All these keywords.

    JEL classification:

    • D20 - Microeconomics - - Production and Organizations - - - General
    • D24 - Microeconomics - - Production and Organizations - - - Production; Cost; Capital; Capital, Total Factor, and Multifactor Productivity; Capacity
    • C44 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Operations Research; Statistical Decision Theory

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:uam:wpaper:201603. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Andrés Maroto-Sánchez (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.