Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

re:st: annoying boss


From   David Airey <david.airey@earthlink.net>
To   statalist@hsphsun2.harvard.edu
Subject   re:st: annoying boss
Date   Fri, 5 Mar 2004 10:05:29 -0600

use "lv", for example:

. sysuse auto
(1978 Automobile Data)

. lv price

  #     74                  Price
              ---------------------------------
  M     37.5 |              5,006.5            |    spread  pseudosigma
  F     19   |     4,195    5,268.5      6,342 |     2,147    1,599.93
  E     10   |     3,984    7,177.5     10,371 |     6,387    2,835.69
  D      5.5 |   3,798.5    8,145.5   12,492.5 |     8,694     2,938.2
  C      3   |     3,667    8,630.5     13,594 |     9,927    2,756.42
  B      2   |     3,299    8,899.5     14,500 |    11,201     2,791.7
  A      1.5 |     3,295      9,249     15,203 |    11,908    2,766.61
         1   |     3,291    9,598.5     15,906 |    12,615    2,682.04
             |                                 |
             |                                 |   # below     # above
inner fence |     974.5               9,562.5 |         0          12
outer fence |    -2,246                12,783 |         0           5

. return list

scalars:
                r(u_A) =  15203
                r(l_A) =  3295
                r(u_B) =  14500
                r(l_B) =  3299
                r(u_C) =  13594
                r(l_C) =  3667
                r(u_D) =  12492.5
                r(l_D) =  3798.5
                r(u_E) =  10371
                r(l_E) =  3984
                r(max) =  15906
                r(min) =  3291
                r(u_F) =  6342
                r(l_F) =  4195
             r(median) =  5006.5
                  r(N) =  74

.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index