<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need to calculate Age-std rates for more than 2 groups in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Need-to-calculate-Age-std-rates-for-more-than-2-groups/m-p/790395#M38755</link>
    <description>&lt;P&gt;nevermind I found a "By" option that I can put in the network name and remove the group=networkname option.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jan 2022 06:04:59 GMT</pubDate>
    <dc:creator>karora1</dc:creator>
    <dc:date>2022-01-16T06:04:59Z</dc:date>
    <item>
      <title>Need to calculate Age-std rates for more than 2 groups</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-to-calculate-Age-std-rates-for-more-than-2-groups/m-p/790393#M38754</link>
      <description>&lt;P&gt;Hello I'm trying to calculate Age-std rates for a variety of geographies at once. I've used proc stdrate in the past to do my calculations in SAS for direct agestd rates but just realized that up until now I have often calculated the rates for two groups only in SAS. However this time I would like to calculate a death rate using the direct method but for all of the networks in our region (in this case 6 areas). The rate ratios are not needed but the rates and confidence intervals for each of the geographies is required. My code is the following&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc stdrate data=deathrategeo2
refdata=Can2011
method=direct
stat=rate(mult=100000)
cl = GAMMA;
population group = network_name  event=death total=Pop;
reference total=Pop;
strata age18up ;
title "Age std death rates by Network";
ods output StdRate = netstdrate;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, i get the following error message "&amp;nbsp; At most two study populations can be used for METHOD=DIRECT" and the procedure isn't run. I know many people have to calculate direct age-std rates for more then 2 groups at a time, so there must be away to calculate it, but i can't seem to find the right way to do it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 05:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-to-calculate-Age-std-rates-for-more-than-2-groups/m-p/790393#M38754</guid>
      <dc:creator>karora1</dc:creator>
      <dc:date>2022-01-16T05:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need to calculate Age-std rates for more than 2 groups</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-to-calculate-Age-std-rates-for-more-than-2-groups/m-p/790395#M38755</link>
      <description>&lt;P&gt;nevermind I found a "By" option that I can put in the network name and remove the group=networkname option.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 06:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-to-calculate-Age-std-rates-for-more-than-2-groups/m-p/790395#M38755</guid>
      <dc:creator>karora1</dc:creator>
      <dc:date>2022-01-16T06:04:59Z</dc:date>
    </item>
  </channel>
</rss>

