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]

st: RE: -return list- with -ineqdeco-


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: -return list- with -ineqdeco-
Date   Tue, 20 Apr 2010 20:15:10 +0100

-ineqdeco- is a user-written program from SSC. Please remember to explain this!

Please also remember to show us _exactly_ what you typed (and all of it). 

My guess is that, despite what you say, you are doing something else immediately after -ineqdeco- that over-writes the r-class results. 

In any case, I can't reproduce this: 

. sysuse auto 

. ineqdeco price
 
Percentile ratios

----------------------------------------------------------
  All obs |    p90/p10     p90/p50     p10/p50     p75/p25
----------+-----------------------------------------------
          |      2.923       2.274       0.778       1.512
----------------------------------------------------------
  
Generalized Entropy indices GE(a), where a = income difference
 sensitivity parameter, and Gini coefficient

----------------------------------------------------------------------
  All obs |     GE(-1)       GE(0)       GE(1)       GE(2)        Gini
----------+-----------------------------------------------------------
          |    0.08199     0.08605     0.09557     0.11289     0.23222
----------------------------------------------------------------------
   
Atkinson indices, A(e), where e > 0 is the inequality aversion parameter

----------------------------------------------
  All obs |     A(0.5)        A(1)        A(2)
----------+-----------------------------------
          |    0.04450     0.08245     0.14088
----------------------------------------------

. ret li

scalars:
                 r(a2) =  .140883820895806
                 r(a1) =  .0824539913378597
              r(ahalf) =  .0445018519991736
                r(ge2) =  .1128897206067295
                r(ge1) =  .0955670721996977
                r(ge0) =  .0860525546298563
               r(gem1) =  .0819934627716512
               r(gini) =  .2322248019945886
             r(p75p50) =  1.266753220812943
             r(p25p50) =  .8379107160691102
             r(p10p50) =  .777988614800759
             r(p90p50) =  2.274043743133926
             r(p75p25) =  1.511799761620977
             r(p90p10) =  2.922978177150192
                r(p95) =  13466
                r(p90) =  11385
                r(p75) =  6342
                r(p50) =  5006.5
                r(p25) =  4195
                r(p10) =  3895
                 r(p5) =  3748
                r(max) =  15906
                r(min) =  3291
                  r(N) =  74
               r(sumw) =  74
                 r(sd) =  2949.49588476892
                r(Var) =  8699525.97426879
               r(mean) =  6165.256756756757
Nick 
[email protected] 

Lola Jackson

I am trying to retrieve saved results after using -ineqdeco- or -ineqdeco0-. Immediately after successfully running -ineqdeco- (the full results are visible in the results window), I type -return list-. But instead of getting all the saved results, I only get the following:

scalars:
r(N) = 25874

What do I need to do to get all the saved results? I have read the help files of both ineqdeco and -return-, but haven't been able to figure out the problem.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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