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

st: RE: labelling output of dstdize


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: labelling output of dstdize
Date   Wed, 13 Nov 2002 19:59:45 -0000

Colin M Fischbacher
> 
> Direct standardisation with -dstdize- produces output where 
> the groups
> are labelled with the category value rather than its label. 
> Particularly
> when you break down the results by several variables this produces
> results that are not very readable. The manual (p398) shows 
> correctly
> labelled output in one example but shows values only in 
> another (p400).
> 
> Is there a way of attaching value labels to the summary output of
> dstdize?

There's code in -dstdize- to pick up 
value labels. The reason the cities 
are not labelled in the example on p.400
is that the cities are not labelled
in that data set, as seen by reading in
the data and looking at them: 

. u http://www.stata-press.com/data/r7/hbp.dta

Nick 
n.j.cox@durham.ac.uk 

*
*   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