Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DEA for banks.

    Hello everyone,
    I want to study the efficiency of banks using Data Envelopment Analysis (DEA). When I run output-oriented DEA based on the variable return to scale I get CRS, VRS, NIRS and SCALE efficiency with their RTS. As I know if the value of the NIRS efficiency score is equal to the VRS efficiency score then decreasing return to scale exits. Otherwise increasing return to scale exits. Can anyone tell me how Stata calculates those RTS?

    Thank you.
    Attached Files
    Last edited by Sancharee Chowdhury; 20 Apr 2019, 03:14.

  • #2
    See:
    https://www.stata-journal.com/articl...article=st0193

    Comment


    • #3
      Thank you. I read this paper before but the output I found does not follow the way the paper described. According to the paper, the first bank of my result should operate on the decreasing return to scale as the value of the NIRS and VRS is equal but the result indicates that it operates on the increasing return to scale.

      Comment


      • #4
        Sancharee, your interpretation of the first bank is correct if its CRS and VRS scores differ beyond tolerance and its unrounded NIRS and VRS scores agree within tolerance. That combination gives decreasing returns (DRS) at the bank's output-oriented VRS frontier projection. The command distributed with Ji and Lee (2010) has an error in its output-oriented RTS classification. On bank A below, it prints IRS. On the same data, dea 2.0.73 correctly reports DRS.

        Reading all four efficiency scores

        The rts() option sets the technology used to construct the benchmark. The peer weights are nonnegative. CRS (CCR) leaves their sum unrestricted, VRS (BCC) sets it to 1, NIRS restricts it to at most 1, and NDRS restricts it to at least 1. In dea 2.0.73, rts(drs) and rts(irs) are aliases for rts(nirs) and rts(ndrs), respectively. The bank's RTS label describes how frontier output responds locally to a proportional increase in all inputs. Frontier output grows more than proportionally under IRS and less than proportionally under DRS. The CRS classification identifies a most productive scale, which can be a corner of the estimated frontier.

        For the same sample and output orientation, write C, V, NI and ND for the CRS, VRS, NIRS and NDRS efficiency scores. Here each score is 1/phi, where phi is the maximum output expansion factor, and SCALE = C/V. The three possible patterns are shown below. L is the sum of the original output-oriented CRS peer weights. For the VRS multiplier intercept u0, the command uses the supporting inequality u'y <= v'x + u0 and normalizes u'y_o = 1 for the bank being evaluated.

        Code:
        RTS   Efficiency scores    L across optimal CRS fits    u0 across optimal VRS fits
        IRS   C = NI < ND = V      every L < 1                  every u0 < 0
        CRS   C = NI = ND = V      some L = 1                   some u0 = 0
        DRS   C = ND < NI = V      every L > 1                  every u0 > 0
        First compare C with V. If they agree, scale efficiency is 1, even when both efficiency scores are below 1. Otherwise, the one-sided score that matches V gives the direction (NI for DRS, ND for IRS). Equivalently, NI < ND means IRS, NI > ND means DRS, and NI = ND means CRS. These inequalities reverse if you tabulate the expansion factors phi. If a row appears to fit none of the patterns, check the stored values, orientation, estimation sample and solver status. Cooper, Seiford and Tone (2007), ch. 5 and Coelli, Rao, O'Donnell and Battese (2005), ch. 6.

        The link between the tests follows from the constraints. If every optimal CRS fit has L < 1, imposing L <= 1 leaves the CRS score unchanged. Imposing L >= 1 puts the optimum at the VRS boundary L = 1. The reverse holds when every optimal CRS fit has L > 1. In the multiplier model, a zero optimal VRS intercept gives a supporting plane through the origin, which also supports the CRS benchmark.

        Checking the three methods on the same banks

        To reproduce the example with dea 2.0.73 in Stata 16 or later, choose either source in a fresh Stata session.

        GitHub — Download the ZIP for the DEA-Stata 2.0.73 snapshot and extract it. Substitute the path to its ado folder in this command.
        Code:
        adopath ++ "/absolute/path/to/DEA-Stata/ado"
        SourceForge — For a fresh installation of the deas package, run
        Code:
        net install deas, from("https://downloads.sourceforge.net/project/deas")
        With either source, type which dea, all and check that the first copy listed is version 2.0.73. Run the bank example below as one block in the Do-file Editor. The VRS fit already returns C, V and NI. Its third column, DRS_TE, contains the NIRS score. A separate NDRS fit supplies the fourth score.

        Code:
        preserve
        clear
        input str1 dmu staff loans
        "A" 4 2
        "B" 1 1
        "C" 2 3
        "D" 4 4
        end
        
        local opts "dmu(dmu) orientation(output) tolerance(1e-7)"
        quietly dea staff = loans, `opts' rts(vrs) generate(te_vrs)
        matrix F = r(vrsfrontier)
        matrix O = r(vrsobs)
        quietly dea staff = loans, `opts' rts(ndrs) generate(te_ndrs)
        mkmat te_ndrs, matrix(ND)
        
        quietly dea staff = loans, `opts' rts(crs) stage(1) reference generate(te_crs)
        matrix W = r(lambda)
        matrix L = W * J(colsof(W), 1, 1)
        quietly dea staff = loans, `opts' model(multiplier) rts(vrs) stage(2) saveweights generate(te_dual)
        matrix U = r(multiplier_u0)
        
        matrix R = F[1...,1..3], ND, F[1...,4..5], L, U
        matrix colnames R = CRS VRS NIRS NDRS SCALE RTS sum_lambda u0
        matrix rownames R = A B C D
        matrix list R, format(%12.8f)
        display "First bank: " dmu[O[1,1]]
        display "NIRS - VRS = " %21.15g (F[1,3] - F[1,2])
        restore
        Code:
        Bank     C      V     NI     ND     SCALE    L     One fitted u0    All optimal u0    RTS
         A      1/3    1/2    1/2    1/3     2/3     2           1          [1, 2]            DRS
         B      2/3     1     2/3     1      2/3    1/2         -1          (-infinity, -1]   IRS
         C       1      1      1      1       1      1          2/3         [-1/3, 2/3]       CRS
         D      2/3     1      1     2/3     2/3     2          1/2         [1/2, 1]          DRS
        For A, four staff can produce four units of loans under VRS or NIRS, as D demonstrates. Under CRS or NDRS, doubling C produces six units with the same staff. A produces two, so its scores are 2/4 and 2/6. The score comparison gives DRS, the CRS benchmark has L = 2, and every optimal VRS intercept is positive. B has the same scale efficiency as A but shows the opposite pattern on all three tests. The numeric RTS codes are -1 for DRS, 0 for CRS and +1 for IRS.

        C illustrates why a single fitted intercept can be misleading. The solver returned u0 = 2/3. Yet the line loans = 1.5 x staff passes through C and lies on or above every observed bank. It is therefore another optimal supporting line at C, with intercept zero. In this example the slopes of the B-C and C-D segments are 2 and 1/2. Every slope between them supports C. With output weight 1/3, the corresponding normalized intercepts range from -1/3 to 2/3 and include zero. This confirms CRS. To obtain the whole range in a general model, hold the original optimum fixed and minimize and maximize L over optimal CRS solutions, or u0 over optimal VRS multiplier solutions. Check whether the first range contains 1 and the second contains 0. If your software writes the support as u'y + b <= v'x, its b equals -u0, so reverse the intercept signs in the table. Seiford and Zhu (1999).

        Why the older command can print IRS for A

        The 2010 command first tests CRS_TE and VRS_TE for exact equality. If they differ, its output-oriented code divides the CRS weights by the output expansion factor before summing them. For A the original L is 2 and the CRS expansion factor is 6/2 = 3. Reporting the efficiency score as 1/3 is correct. The error occurs when the command also rescales the peer weights and compares 2/3 with 1, which makes it print IRS. The trace option in the old command shows those weights. Ji and Lee's original code.

        Version 2.0.73 uses the efficiency scores directly for this classification. For A, it first finds that CRS_TE (1/3) differs from VRS_TE (1/2), then that NIRS_TE and VRS_TE agree (both 1/2). It therefore returns RTS = -1 (DRS). The original CRS weight sum of 2 and the positive VRS intercept range [1, 2] independently confirm that result.

        To check your own first bank, use its actual input and output lists and bank ID in the estimation commands. O identifies the source observation for each row of F. Use your IDs in place of the example's A-D row labels and compare stored scores before rounding. The example explains how the discrepancy can arise. Confirming it for your bank requires the version you ran and its full-precision results.

        Comment

        Working...
        X