Announcement

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

  • How can I create this variable?

    Hi,
    I have data for the total number of Corona cases and the total population. What should I do to create this ”Corona cases per 1.000.000 individuals” variable?

  • #2
    If the units of cases and population are identical, then

    Code:
    gen wanted = cases * 1e6 / population

    Comment

    Working...
    X