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: selecting specific information from univar


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: selecting specific information from univar
Date   Sat, 20 Apr 2013 22:23:19 +0100

Statalist FAQ explains:

1. You are asked to post on Statalist using your full real name (2.1.3)

2. Say what commands you are using. If they are not part of official
Stata, say where they came from: the SJ/STB, SSC, or other archives.
(3.3)  (Applies to -univar-.)

Some scrutiny of [R] summarize shows that you can pick and choose

sysuse auto
qui su mpg, detail
di %2.1f r(mean) "   " r(p25) "   "  r(p50) "  "  r(p75)

21.3   18   20  25

The price of getting exactly what you want is write exactly the code you need.

Nick
[email protected]

On 20 April 2013 22:06, stef ffgbsfdvs <[email protected]> wrote:

> Using "univar covariate" I get a bunch of information; that is,
>
> n     Mean     S.D.      Min      .25      Mdn      .75      Max
>
> I want my output to show only: mean   .25 Mdn and .75
>
>
> Is there a way of doing that? Any code is greatly appreciated
*
*   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