<?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 How to produce proc descript code with age adjusting in SAS. I do not have SAS SUDAAN in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-produce-proc-descript-code-with-age-adjusting-in-SAS-I-do/m-p/461465#M117404</link>
    <description>&lt;P&gt;How do I replicate this SAS SUDAAN code&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;descript&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; data= two filetype=SAS design=WR;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nest _ststr _psu/missunit;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; _statewt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;subgroup cancer AGEp ;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;levels &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sex;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;catlevel &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;tables&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; cancer;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdvar agep;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;stdwgt &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.42026284&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.20743092&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.20203482&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.08896694&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.08130448&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;print nsum wsum percent sepercent lowpct uppct/wsumfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f6.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; totalfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f10.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; style=NCHS; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;rtitle &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"age adjusted :"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; nsum wsum total percent sepercent lowpct uppct/wsumfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; totalfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;percentfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f12.1&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sepercentfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; lowpctfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; uppctfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename=cancer3 filetype=sas replace;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I do not have SAS SUDAAN and I would like to produce the same results that come out of SAS SUDAAN with SAS. The data has a weight "statewt" and its also age adjusted to 2000 population. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;What SAS procedure do I use to get the same results that proc descript produces. Also what test would I use to test if sex is significant in the model.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2018 04:02:36 GMT</pubDate>
    <dc:creator>Tendai</dc:creator>
    <dc:date>2018-05-11T04:02:36Z</dc:date>
    <item>
      <title>How to produce proc descript code with age adjusting in SAS. I do not have SAS SUDAAN</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-produce-proc-descript-code-with-age-adjusting-in-SAS-I-do/m-p/461465#M117404</link>
      <description>&lt;P&gt;How do I replicate this SAS SUDAAN code&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;descript&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; data= two filetype=SAS design=WR;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nest _ststr _psu/missunit;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; _statewt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;subgroup cancer AGEp ;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;levels &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sex;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;catlevel &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;tables&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; cancer;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdvar agep;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;stdwgt &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.42026284&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.20743092&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.20203482&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.08896694&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.08130448&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;print nsum wsum percent sepercent lowpct uppct/wsumfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f6.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; totalfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f10.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; style=NCHS; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;rtitle &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"age adjusted :"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; nsum wsum total percent sepercent lowpct uppct/wsumfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; totalfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;percentfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f12.1&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sepercentfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; lowpctfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; uppctfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename=cancer3 filetype=sas replace;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I do not have SAS SUDAAN and I would like to produce the same results that come out of SAS SUDAAN with SAS. The data has a weight "statewt" and its also age adjusted to 2000 population. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;What SAS procedure do I use to get the same results that proc descript produces. Also what test would I use to test if sex is significant in the model.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 04:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-produce-proc-descript-code-with-age-adjusting-in-SAS-I-do/m-p/461465#M117404</guid>
      <dc:creator>Tendai</dc:creator>
      <dc:date>2018-05-11T04:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to produce proc descript code with age adjusting in SAS. I do not have SAS SUDAAN</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-produce-proc-descript-code-with-age-adjusting-in-SAS-I-do/m-p/539085#M148466</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209507"&gt;@Tendai&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;How do I replicate this SAS SUDAAN code&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;descript&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; data= two filetype=SAS design=WR;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nest _ststr _psu/missunit;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; _statewt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;subgroup cancer AGEp ;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;levels &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sex;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;catlevel &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;tables&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; cancer;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;stdvar agep;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;stdwgt &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.42026284&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.20743092&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.20203482&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.08896694&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;0.08130448&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;print nsum wsum percent sepercent lowpct uppct/wsumfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f6.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; totalfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f10.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; style=NCHS; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;rtitle &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"age adjusted :"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;output&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; nsum wsum total percent sepercent lowpct uppct/wsumfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; totalfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;percentfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f12.1&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; sepercentfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; lowpctfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; uppctfmt=&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;f13.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename=cancer3 filetype=sas replace;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;I do not have SAS SUDAAN and I would like to produce the same results that come out of SAS SUDAAN with SAS. The data has a weight "statewt" and its also age adjusted to 2000 population. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;What SAS procedure do I use to get the same results that proc descript produces. Also what test would I use to test if sex is significant in the model.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For what it's worth, I don't think your SUDAAN code is doing what you think it's doing.&lt;/P&gt;&lt;P&gt;Your code asks SUDAAN to generate the proportion of records where sex=1 (var sex; catlevel 1) by levels of the cancer variable (tables cancer), standardized by age. I would think you'd want to generate the proportion of records with cancer (var cancer), by sex (tables sex), standardized by age.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see an example in creating age-standardized estimates with SAS proc Surveyreg here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cdc.gov/nchs/tutorials/NHANES/NHANESAnalyses/AgeStandardization/Task1b_SAS92.htm" target="_blank"&gt;https://www.cdc.gov/nchs/tutorials/NHANES/NHANESAnalyses/AgeStandardization/Task1b_SAS92.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples look like they will produce point estimates and standard errors but I don't see a way to statistically compare standardized estimates between groups, such as sexes. You'd have to be able to construct some combination of model parameter estimates that corresponded to that test; that you'd then specify on an ESTIMATE statement.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 19:00:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-produce-proc-descript-code-with-age-adjusting-in-SAS-I-do/m-p/539085#M148466</guid>
      <dc:creator>DWilson</dc:creator>
      <dc:date>2019-02-27T19:00:18Z</dc:date>
    </item>
  </channel>
</rss>

