Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: DEA error massage


From   Roberto Ferrer <[email protected]>
To   Stata Help <[email protected]>
Subject   Re: st: DEA error massage
Date   Sat, 16 Nov 2013 13:53:43 -0430

Anat,

There's not much I can say except that it works for me with Stata
12.1. Maybe you want to copy your exact input/output as it appears in
your results window?

. do "/tmp/SD05932.000000"

. sysuse auto,clear
(1978 Automobile Data)

. keep in 1/5
(69 observations deleted)

. rename make dmu

.
. dea length weight = mpg, saving(deaout)
(note: file /home/roberto/dea.log not found)
--------------------------------------------------------------------------------------------------
      name:  dealog
       log:  /home/roberto/dea.log
  log type:  text
 opened on:  16 Nov 2013, 13:45:23

options: RTS(CRS) ORT(IN) STAGE(2)
CRS-INPUT Oriented DEA Efficiency Results:
                                                           ref:
   ref:           ref:
                            rank          theta    AMC_Concord
AMC_Pacer     AMC_Spirit
  dmu:AMC_Concord              2        .903226              .
     .              1
    dmu:AMC_Pacer              4        .750394              .
     .        .772727
   dmu:AMC_Spirit              1              1              .
     .              1
dmu:Buick_Century              3        .779221              .
     .        .909091
dmu:Buick_Electra              5        .515971              .
     .        .681818

                             ref:           ref:        islack:
islack:        oslack:
                   Buick_Century  Buick_Electra         length
weight            mpg
  dmu:AMC_Concord              .              .              .
6.45161              .
    dmu:AMC_Pacer              .              .              .
473.82              .
   dmu:AMC_Spirit              .              .              .
     0              .
dmu:Buick_Century              .              .              .
132.468              .
dmu:Buick_Electra              .              .       2.70e-06
305.16              .
      name:  dealog
       log:  /home/roberto/dea.log
  log type:  text
 closed on:  16 Nov 2013, 13:45:24
--------------------------------------------------------------------------------------------------

.
end of do-file

. do "/tmp/SD05932.000000"

. use deaout,clear
(1978 Automobile Data)

.
end of do-file

. do "/tmp/SD05932.000000"

. tobit theta price, ul(1)

Tobit regression                                  Number of obs   =          5
                                                  LR chi2(1)      =       9.25
                                                  Prob > chi2     =     0.0024
Log likelihood =  4.3760442                       Pseudo R2       =    18.6017

------------------------------------------------------------------------------
       theta |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       price |  -.0001121   .0000197    -5.70   0.005    -.0001667   -.0000575
       _cons |   1.363222   .1048128    13.01   0.000     1.072215    1.654229
-------------+----------------------------------------------------------------
      /sigma |   .0618035   .0232451                     -.0027353    .1263422
------------------------------------------------------------------------------
  Obs. summary:          0  left-censored observations
                         4     uncensored observations
                         1 right-censored observation  at theta>=1

.
end of do-file


On Sat, Nov 16, 2013 at 9:41 AM, Anat (Manes) Tchetchik
<[email protected]> wrote:
> Dear all,
>
> I'm trying to run DEA with a panel of 150 hospitals.
> As an illustration, to get an idea of how it works,  I tried the
> example provided by Scott Merryman in this forum:
>
> sysuse auto,clear
> keep in 1/5
> rename make dmu
> dea length weight = mpg, saving(deaout)
> use deaout,clear
> tobit theta price, ul(1)
>
> But immediately after the command: dea length weight = mpg, saving(deaout)  :
> I receive:
> too few variables specified
> Any idea what might be the reason?
> I have installed all the files under findit dea
>
> Thanks in advance,
> Anat Tchetchik, PhD
> Department of Business Administration
> Guilford Glazer Faculty of Business and Management
> Ben-Gurion University of the Negev
> P.O.Box: 653
> Beer-Sheva, Israel, 84105
>
> E-mail:       [email protected]
> Phone         972-(0)8-6479735
> Fax:           972-(0)8-6472920
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index