<?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: default control group in surveylogistic statement? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/739026#M35905</link>
    <description>&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;This is very helpful!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 18:28:31 GMT</pubDate>
    <dc:creator>knighsson</dc:creator>
    <dc:date>2021-05-04T18:28:31Z</dc:date>
    <item>
      <title>default control group in surveylogistic statement?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/738758#M35901</link>
      <description>&lt;P class="p1"&gt;Hello，&lt;/P&gt;
&lt;P class="p1"&gt;in my code below, I assign (diabetes=1 and type=2) as diagnosis=2, which represents Type 2 diabetes, and use proc surveylogistic&amp;nbsp; statement to investigate the relationship between the&amp;nbsp;Type 2 diabetes and gender.&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Then, I assign(diabetes=1 and type=2) as diagnosis=1 (so diagnosis =1 represent type 2 diabetes now), and use the same proc surveylogistic statement to investigate the relationship.&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;The inferential analysis results are different, which indicate that it matters whether diagnosis=1 or diagnosis =2 represents type 2 diabetes. So I want to ask should I use diagnosis=1 or diagnosis =2 represent type 2 diabetes. Which one would SAS consider as default control group?&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;Thank you!&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA nh.A;
SET nh.A;
IF (diabetes=1 and type=2) then diagnosis=2; **** have T2D diabetes;
else diagnosis=1;
run;

*** variable diagnosis specified type of diabetes T2D;

*** SLR;
proc surveylogistic data=nh.A nomcar;
class gender / param=glm;
&amp;nbsp; &amp;nbsp; strata SDMVSTRA;
&amp;nbsp; &amp;nbsp; cluster SDMVPSU;
&amp;nbsp; &amp;nbsp; weight glucwt4yr;
domain eligible;
model diagnosis=gender/ vadjust=none link=glogit;
lsmeans gender / cl oddsratio adjust =tukey;
run;&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 00:55:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/738758#M35901</guid>
      <dc:creator>knighsson</dc:creator>
      <dc:date>2021-05-04T00:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: default control group in surveylogistic statement?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/738983#M35904</link>
      <description>&lt;P&gt;The default behavior will assign the 'last' value as the "reference". You have several options to control that such as&lt;/P&gt;
&lt;P&gt;Descending, sets the largest value as reference, Event= First or Last , reference='variable value' or keywords first and last.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The specific value doesn't matter as much as interpreting the results correctly using the reference value. Changing the value range with the same code may result in changes in direction but at core the result is the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you may be a bit cavalier in the way Type 1 diabetes is being treated though. You might consider using your Diabetes variable as the response and include Type in model as well as a class variable.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 16:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/738983#M35904</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-04T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: default control group in surveylogistic statement?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/739026#M35905</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;This is very helpful!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 18:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/default-control-group-in-surveylogistic-statement/m-p/739026#M35905</guid>
      <dc:creator>knighsson</dc:creator>
      <dc:date>2021-05-04T18:28:31Z</dc:date>
    </item>
  </channel>
</rss>

