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

Re: st: calculating SMRs, examples?

From   "Svend Juul" <SJ@SOCI.AU.DK>
To   <>
Subject   Re: st: calculating SMRs, examples?
Date   Wed, 14 Sep 2005 14:27:39 +0200

Raoul asked:
Are there any good websites or books out there that explain in detail
how to calculate a standardized mortality ratio (SMR) with poisson
regression using external rates? I find that the STATA manuals do not
contain a lot of information regarding this topic, any suggestions?

I wrote, among other things:

You may proceed from here to -poisson-; it requires the expected number
of deaths:
    . gen edeaths = pyrs*mrate
    . poisson _d exposure(edeaths) , irr

- and that was wrong. The -poisson- command should be:
    . poisson _d , exposure(edeaths)

To obtain the SMR, use -lincom- after -poisson-:
    . lincom _cons , irr

I hope this was not too confusing.



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

*   For searches and help try:

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