Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calculating death rates

    Dear All. I would like to calculate the age-sex specific mortality rates from variables called Died, and gender, please see the attached file.

    Regards,
    Attached Files

  • #2
    Despite its extension name, the attached file is not a Stata dataset, but a text file. I renamed it to example.csv and used import delimited to import it in Stata.

    To calculate a mortality rate, you need both the number of deaths and the time at risk, and I don't see the latter. Do you have the information? You can, however, estimate the proportion died in each group, for example with the ci command:

    Code:
    bysort age_group gender: ci died, binomial

    Comment

    Working...
    X