{"id":83,"date":"2023-11-10T22:01:10","date_gmt":"2023-11-10T22:01:10","guid":{"rendered":"https:\/\/dataenvelopment.com\/gams\/?p=83"},"modified":"2023-11-10T22:02:35","modified_gmt":"2023-11-10T22:02:35","slug":"chapter-4-fig-4-14","status":"publish","type":"post","link":"https:\/\/dataenvelopment.com\/gams\/chapter-4-fig-4-14\/","title":{"rendered":"Chapter 4 (Fig. 4.14) &#8211; The mathematical formulation of the RDM for negative data (inputs\/outputs)"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">$Title Chapter 4 (Fig. 4.14)\r\n$Title Mathematical formulation of the RDM for negative data (inputs\/outputs) and the corresponding GAMS code\r\n\r\n$onText\r\n\r\nIf using this code, please cite:\r\n\r\n---------------------------------------------------------------------------------\r\nEmrouznejad, A., P. Petridis, and V. Charles (2023). Data Envelopment Analysis\r\nwith GAMS: A Handbook on Productivity Analysis, and Performance Measurement,\r\nSpringer, ISBN: 978-3-031-30700-3.\r\n---------------------------------------------------------------------------------\r\n\r\nWebsite: https:\/\/dataenvelopment.com\/GAMS\/\r\n\r\n$offText\r\n\r\nSets    j DMUs \/DMU1*DMU10\/\r\n        g Inputs and Outputs \/ProdCost, TrnCost, HoldInv, SatDem, Rev\/\r\n        i(g)  Inputs \/ProdCost, TrnCost, HoldInv\/\r\n        r(g) Outputs \/SatDem, Rev\/;\r\n        alias(jj,j);\r\n        alias(jj,kk);\r\n\r\nTable Data(j,g) Data for inputs and outputs\r\n\r\n           ProdCost     TrnCost      HoldInv     SatDem      Rev\r\nDMU1        0.255        0.161        0.373        20       -2.64\r\nDMU2        0.98         0.248        0.606        6        -5.29\r\nDMU3        0.507        0.937        0.749        17       -2.43\r\nDMU4        0.305        0.249        0.841        2        -8.99\r\nDMU5        0.659        0.248        0.979        19       -2.94\r\nDMU6        0.568        0.508        0.919        17       -0.75\r\nDMU7        0.583        0.628        0.732        17       -6.36\r\nDMU8        0.627        0.675        0.738        10       -7.2\r\nDMU9        0.772        0.657        0.486        9        -2.16\r\nDMU10       0.917        0.639        0.234        8        -7.3;\r\n\r\nvariables beta0 Inefficiency measure;\r\nnonnegative variables lambda(j);\r\n\r\nParameters\r\n\r\nRplus(j,r) R+ for each DMU and output,\r\nRminus(j,i) R- for each DMU and input,\r\nmax_y(r) max of y,\r\nmin_x(i) min of x,\r\ndmu_data(g) slice of data,\r\nLamres(j,j) peers for each DMU\r\nRmin(i) slice of R-,\r\nRpl(r) slice of R+,\r\neff(j) beta0,\r\ntotal_eff(j) 1-beta0,\r\nstat(j);\r\n\r\nmax_y(r) = smax(j,Data(j,r));\r\nmin_x(i) = smax(j,Data(j,i));\r\n\r\nloop(jj,\r\n   Rplus(jj,r) =  max_y(r) - Data(jj,r);\r\n   Rminus(jj,i) =  Data(jj,i) - min_x(i);\r\n   );\r\n\r\n\r\nEQUATIONS\r\n\r\nCON1(i)  inputs constraint with Rmin\r\nCON2(r)  outputs constraint with Rmax\r\nCON3     VRS constraint;\r\n\r\nCON1(i).. SUM(j,lambda(j)*Data(j,i))=L=dmu_data(i)-beta0*Rmin(i);\r\nCON2(r).. SUM(j,lambda(j)*Data(j,r))=G=dmu_data(r)+beta0*Rpl(r);\r\nCON3..    SUM(j,lambda(j))=E=1;\r\n\r\nModel Neg Negative data Range Adjusted Measure (RAM) model \/All\/\r\n\r\nloop(jj,\r\n    dmu_data(g) = Data(jj,g);\r\n    Rmin(i) = Rminus(jj,i);\r\n    Rpl(r) =  Rplus(jj,r);\r\n    Solve Neg max beta0 using LP;\r\n    eff(jj) = beta0.l;\r\n    total_eff(jj) = 1- eff(jj);\r\n    stat(jj) = neg.modelstat;\r\n   loop(kk,\r\n      Lamres(jj,kk)=Lambda.l(kk);\r\n    );\r\n);\r\n\r\ndisplay eff, total_eff, Lamres;\r\n\r\nexecute_unload<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$Title Chapter 4 (Fig. 4.14) $Title Mathematical formulation of the RDM for negative data (inputs\/outputs) and the corresponding GAMS code $onText If using this code, please cite: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Emrouznejad, A., P. Petridis, and V. Charles (2023). Data Envelopment Analysis with GAMS: A Handbook on Productivity Analysis, and Performance Measurement, Springer, ISBN: 978-3-031-30700-3. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Website: https:\/\/dataenvelopment.com\/GAMS\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts\/83"}],"collection":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":1,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":140,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/posts\/83\/revisions\/140"}],"wp:attachment":[{"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dataenvelopment.com\/gams\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}