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

st: dstdize labels fix


From   "Colin M Fischbacher" <[email protected]>
To   <[email protected]>
Subject   st: dstdize labels fix
Date   Tue, 19 Nov 2002 08:55:04 -0000

I complained about the lack of labelling of -dstdize-'s output. Nick Cox
suggested the following:

>For the moment, the upstream fix is to -decode-:
>
>decode igt_stat, gen(sigt_stat)
>decode ethnic2, gen(sethnic2)
>
>Then
>
>dstdize diabz pop age_band sex, by(sethnic2 sigt_stat) using
>("D:\cmf\02 RESEARCH\misc\stats\ew1991.dta")
>
>That will improve things. You will still get truncation
>to (e.g) "South Asi".

Thanks very much for this. It works, solves my current problem and I
think would be useful for any user of dstdize. (I suppose a future wish
list might include full length labels but the main point is to be able
to read the output easily without having to refer back to value codes)

Dr Colin Fischbacher
Clinical Research Fellow
Public Health Sciences,
The Medical School, Teviot Place,
Edinburgh EH8 9AG


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index