<?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: PROC GENMOD LSMEANS REFERENCE in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567643#M75142</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117839"&gt;@superbibi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the result from&lt;/P&gt;
&lt;PRE&gt;LSMEANS VIS/PDIFF&lt;STRONG&gt;&lt;FONT size="4" color="#008000"&gt;=control('20')&lt;/FONT&gt;&lt;/STRONG&gt; ADJUST = DUNNETT;&lt;/PRE&gt;
&lt;P&gt;looks promising (cf. &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect040.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.introcom.lsmdiff" target="_blank" rel="noopener"&gt;documentation of the PDIFF option&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2019 14:57:14 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2019-06-20T14:57:14Z</dc:date>
    <item>
      <title>PROC GENMOD LSMEANS REFERENCE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567636#M75141</link>
      <description>&lt;P&gt;Hi SAS users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current code only shows the adjust p-values with vis = 30 as the reference group. If I want to use vis = 20 as the reference group, how should I modify the code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SORT DATA = test ;
BY VIS;
RUN;

PROC GENMOD DATA = test;
CLASS VAL  SUBNUM VIS (REF = "20" )  ;
MODEL VAL =  VIS/DIST = BIN ;
REPEATED SUBJECT = SUBNUM/CORR = UNSTR CORRW;
LSMEANS VIS/PDIFF ADJUST = DUNNETT;
RUN; &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:37:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567636#M75141</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2019-06-20T14:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD LSMEANS REFERENCE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567643#M75142</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117839"&gt;@superbibi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the result from&lt;/P&gt;
&lt;PRE&gt;LSMEANS VIS/PDIFF&lt;STRONG&gt;&lt;FONT size="4" color="#008000"&gt;=control('20')&lt;/FONT&gt;&lt;/STRONG&gt; ADJUST = DUNNETT;&lt;/PRE&gt;
&lt;P&gt;looks promising (cf. &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect040.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en#statug.introcom.lsmdiff" target="_blank" rel="noopener"&gt;documentation of the PDIFF option&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 14:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567643#M75142</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-06-20T14:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD LSMEANS REFERENCE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567771#M75145</link>
      <description>Thank you very much! It works.</description>
      <pubDate>Thu, 20 Jun 2019 20:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567771#M75145</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2019-06-20T20:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD LSMEANS REFERENCE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567772#M75146</link>
      <description>&lt;P&gt;Is there a way to calculate the overall p-value for vis using proc genmod?&amp;nbsp; In the attached code, I got only the p-values for each paired comparison.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 20:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567772#M75146</guid>
      <dc:creator>superbibi</dc:creator>
      <dc:date>2019-06-20T20:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GENMOD LSMEANS REFERENCE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567796#M75147</link>
      <description>&lt;P&gt;Do you mean the Wald chi-square test?&lt;/P&gt;
&lt;PRE&gt;  Wald Statistics For Type 3 GEE Analysis

                          Chi-
Source           DF     Square    Pr &amp;gt; ChiSq

VIS               7      37.94        &amp;lt;.0001&lt;/PRE&gt;
&lt;P&gt;To obtain this, you need to add the TYPE3 and WALD options to the MODEL statement:&lt;/P&gt;
&lt;PRE&gt;MODEL VAL =  VIS/DIST = BIN &lt;STRONG&gt;&lt;FONT size="4" color="#008000"&gt;type3 wald&lt;/FONT&gt;&lt;/STRONG&gt;;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Jun 2019 22:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-GENMOD-LSMEANS-REFERENCE/m-p/567796#M75147</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-06-20T22:27:53Z</dc:date>
    </item>
  </channel>
</rss>

