Thank you, it's that .. but it don't support 8.2 version !
Svend Juul a �crit :
> Alvine wrote:
>
> I use the "tabstat" function for numeric variable.
> I'm surprised that the table don't display the label of the variable,
> but its name.
> Is it a way to display the variable label in place of its name ?
>
> ------------------------------------------
>
> Apparently you are right, but fortunately somebody else felt the same
> need. Try
> . findit table label
> and locate -fsum-.
>
> . sysuse auto
>
> . tabstat price-headroom , stat(n mean sd) col(stat)
>
> variable | N mean sd
> -------------+------------------------------
> price | 74 6165.257 2949.496
> mpg | 74 21.2973 5.785503
> rep78 | 69 3.405797 .9899323
> headroom | 74 2.993243 .8459948
> --------------------------------------------
>
> . fsum price-headroom , stat(n mean sd) label
>
> Variable | N Mean SD
> ----------+---------------------------
> price | 74 6165.26 2949.50 Price
> mpg | 74 21.30 5.79 Mileage (mpg)
> rep78 | 69 3.41 0.99 Repair Record 1978
> headroom | 74 2.99 0.85 Headroom (in.)
>
> . fsum price-headroom , stat(n mean sd) uselabel
>
> Variable | N Mean SD
> --------------------+---------------------------
> Price | 74 6165.26 2949.50
> Mileage (mpg) | 74 21.30 5.79
> Repair Record 1978 | 69 3.41 0.99
> Headroom (in.) | 74 2.99 0.85
>
> Is that what you need?
>
> Svend
> __________________________________________
>
> Svend Juul
> Institut for Folkesundhed, Afdeling for Epidemiologi
> (Institute of Public Health, Department of Epidemiology)
> Vennelyst Boulevard 6
> DK-8000 Aarhus C, Denmark
> Phone: +45 8942 6090
> Home: +45 8693 7796
> Email: [email protected]
> __________________________________________
>
> *
> * 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/
--
*****************************************************
Alvine BISSERY
Service de Biostatistique des Hospices Civils de Lyon
162 Avenue Lacassagne
69424 Lyon Cedex 03 - France
t�l: +33 4 72 11 57 55
fax: +33 4 72 11 51 41
*
* 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/