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

[no subject]



--------------------------------------------------------------------------------

This will reprint the summary information following -dstdize-:

.  use http://www.stata-press.com/data/r8/mortality.dta 
(1962 Mortality, Sweden & Panama)

.  qui dstdize death pop age, by(nat)

.  matrix C = r(Nobs)' , r(crude)' , r(adj)', r(lb)' , r(ub)'

.  matrix rowname C = `r(c1)'  `r(c2)'

.  matrix list C

C[2,5]
             Nobs      Crude   Adjusted       Left      Right
Panama    1075000  .00723814  .01096867  .01068377  .01125356
Sweden    7496000  .00981257   .0091078  .00904313  .00917247


You could graph these results in Stata.

Hope this helps,
Scott


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of David Hanna
> Sent: Thursday, January 20, 2005 2:25 PM
> To: [email protected] 
> Subject: st: Suppress certain output in dstdize
> 
> Hi,
> 
> Does anyone know of a way to suppress the main results of the output
of
> the DSTDIZE command so that it prints out only the "Summary of Study
> Populations" table at the end?
> 
> This would be helpful to me when exporting output with many
subgroups
> to another program like Excel, so that I can easily graph the
summary
> results without having to delete the lines containing the main
results.
> 
> Thanks,
> David
> 
> --
> David B Hanna
> [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/



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