Announcement

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

  • User-written command tfdea (technology forecasting with DEA)

    Hi everyone,

    I have a dataset on fighters produced between 1918 and 1940, with 68 obs and 7 vars, and I would like to try technology forecasting using DEA.
    I downloaded the user-written tfdea.ado file (version 1.5.0 01JAN2025), written by Choonjoo Lee and Byung-Ki Jung.

    I have a variable named 'dmu' (the model of the fighter) and a variable named 'year' (the year of appearance). I also have an 'input' variable, with value=1 for all obs.

    I ran the following command:

    Code:
    tfdea input = MaxSpeed Climb_Ratio, rts(vrs) ort(out)
    but for some reason I cannot understand I get this output and error message:

    Code:
    Selected model: NOFORECAST
    
    __000000[68,4]
                          year        input     MaxSpeed  Climb_Ratio
     Albatros_D~X         1918            1          155          250
     Albatros_D~I         1918            1          190    430.10751
     Ansaldo_SV~3         1918            1          240    307.69232
     Aviatik_D_VI         1918            1          188    280.89886
     Aviatik_D_~I         1918            1          192          250
     Brandenbu~29         1918            1          175    153.84616
     Brandenbu~33         1918            1          173    185.18518
      Daimler_L11         1918            1          200        312.5
      Daimler_L14         1918            1          206    322.58066
       Ducrot_SLD         1918            1          300     495.0495
     Fokker_D_V~I         1918            1          185    344.82758
      Fokker_D_VI         1918            1          196          400
     Fokker_D_VII         1918            1          185    172.41379
      Fokker_V_25         1918            1          200    588.23529
     Junkers_CL_I         1918            1          190    256.41025
    Junkers_D_I_(
             J_9)         1918            1          225    208.33333
       Kondor_D_2         1918            1          175    288.46155
       Kondor_E_3         1918            1          190        312.5
     LFG_Roland~X         1918            1          185    304.87805
      Macchi_M_14         1918            1          182    285.71429
     Macchi_M_5~D         1918            1          205    285.71429
       Macchi_M_7         1918            1          210    217.39131
      Pfalz_D_XII         1918            1          170    294.11765
       Pfalz_D_XV         1918            1          203          500
     Pomilio_Ga~a         1918            1          225          400
     Rohrbach_R~x         1918            1          260    428.57144
     Schütte-La~I         1918            1          180    416.66666
     Siemens-Sc~V         1918            1          184     526.3158
     Zeppelin-L~I         1918            1          200    384.61539
    Marchetti_MVT
     _(SIAI_S_50)         1919            1          250          500
     Siemens-Sc~I         1919            1          220          375
     Dornier_Do~e         1922            1          261    451.85184
        Fiat_CR_1         1923            1          270    304.87805
     Gabardini_~8         1923            1          206        312.5
     Gabardini_~9         1923            1          235    333.33334
     Macchi_M_7~R         1923            1          208    363.63635
      Piaggio_P_2         1923            1          233     303.0303
      Macchi_M_26         1924            1          244    325.20325
        SIAI_S_52         1924            1          270    666.66669
        SIAI_S_58         1924            1          267     391.6449
     Ansaldo_A_~2         1925            1          242    368.09814
     Caproni_C~70         1925            1          205    285.71429
        Fiat_CR_5         1925            1          300     350.8772
     Heinkel_H~23         1925            1          249    431.96545
     Heinkel_H~26         1925            1          185          400
     Ansaldo_A_~3         1926            1          247    483.87097
       Fiat_CR_20         1926            1          270    367.10721
     Junkers_H_22         1926            1          235    238.09525
     Ansaldo_A_~4         1927            1          253    392.15686
          CANT_25         1927            1          245    188.67924
     Caproni_C~71         1927            1          200    235.29411
     Fiat_CR_20~o         1928            1          254    255.10204
     Heinkel_H~37         1928            1          290    454.54544
     Heinkel_H~38         1929            1          285       468.75
     Heinkel_H~43         1929            1          322    612.24487
     Junkers_K_47         1929            1          242    476.19049
     Macchi_M_4~s         1929            1          262          500
        SIAI_S_67         1930            1          258    306.74847
    Dornier_Do_10
            _(C4)         1931            1          310    505.05051
       Fiat_CR_30         1932            1          322    529.10052
     Heinkel_H~49         1932            1          325    606.06061
      Breda_Ba_27         1933            1          315          500
       Fiat_CR_32         1933            1          330    632.91138
     Heinkel_H~51         1933            1          330    714.28571
     Caproni_C_~1         1935            1          327    550.96417
     Heinkel~112B         1937            1          430    769.23077
     Heinkel_~100         1938            1          576    909.09088
    AUT_18_(AUSA)         1939            1          480    731.70734
    Running DEA iteration 1 of 18
    variable dmu not found
    (error in option rownames())
    r(111);
    I'm sure this is trivial, but I really don't understand why it doesn't find the dmu variable.
    Any help is very appreciated.
    Aurora

  • #2
    Hi Aurora Ianello, I can repeat your problem. The reason is that authors (Choonjoo Lee and Yong-bae Ji) rewrite all dea relevant packages, so you should download all files in https://sourceforge.net/p/deas/code/HEAD/tree/trunk/
    and put them in the right place.

    Code:
    variable dmu not found
    (error in option rownames())
    r(111);
    This error implies you use old dea.ado *! version 1.0.1 12DEC2009

    Code:
    program mkDmuMat already defined
    (error occurred while loading dea.ado)
    r(110);
    This error implies you use new dea.ado version 1.2.2 25DEC2024, but lack of other relevant commands such as ldea.mlib, dea_additive.ado, etc.

    Comment


    • #3
      Thank you so much Chen Samulsion!!! I downloaded the other files and now it works perfectly! This is really a great forum, thanks again!

      Comment

      Working...
      X