<?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: Graphing  Effects Plots in  Proc Genmod in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88649#M4359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you remove the '&lt;STRONG&gt;only"&lt;/STRONG&gt; from the plots statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add&lt;STRONG&gt; plots(only label)&lt;/STRONG&gt; = ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2013 20:34:21 GMT</pubDate>
    <dc:creator>AncaTilea</dc:creator>
    <dc:date>2013-01-28T20:34:21Z</dc:date>
    <item>
      <title>Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88646#M4356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an equivalent of the following code {specifically the line in bold} (in ProcLogistic plots= effect statement works but in proc genmod it doesn't however the documentation says its a shared statement fro both procedure) for Proc Genmod? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Effects Plot*/&lt;/P&gt;&lt;P&gt;ods listing SGE=on;&lt;/P&gt;&lt;P&gt;ods trace on;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;ods rtf&amp;nbsp; style=journal;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=xyz;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;plots(only)=effect (x= x3 at (x1=6 x2= 20 )) ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS gender age_group&amp;nbsp; / param = ref ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODEL y(EVENT ='1')= gender age_group x1 x2 x3 &lt;/P&gt;&lt;P&gt;x1*x2 x2*x3 x1*x3/ scale=none;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;ods graphics off;&lt;/P&gt;&lt;P&gt;ods trace off;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for help.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tasneem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 16:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88646#M4356</guid>
      <dc:creator>TZaihra</dc:creator>
      <dc:date>2013-01-28T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88647#M4357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In your code, you need to remove the semicolon ';' before the &lt;STRONG&gt;plots&lt;/STRONG&gt; statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=xyz&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;plots(only)=effect (x= x3 at (x1=6 x2= 20 )) ;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and let us know.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 16:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88647#M4357</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-28T16:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88648#M4358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anca,&lt;/P&gt;&lt;P&gt;Thanks for your response. I tried what you suggested but it gives the following error:&lt;/P&gt;&lt;P&gt;PROC GENMOD DATA=a&lt;/P&gt;&lt;P&gt; plots(only)=effect (at (centred_AQ=6.33 centred_AC= 21 )) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: (, ALL, CLEVERAGE, CLUSTERCOOKSD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLUSTERDFIT, COOKSD, DCLS, DFBETA, DFBETAC, DFBETACS, DFBETAS, DOBS, LEVERAGE, MCLS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NONE, PREDICTED, RESCHI, RESDEV, RESLIK, RESRAW, STDRESCHI, STDRESDEV.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;Can you please suggest anything else?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tasneem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 19:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88648#M4358</guid>
      <dc:creator>TZaihra</dc:creator>
      <dc:date>2013-01-28T19:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88649#M4359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you remove the '&lt;STRONG&gt;only"&lt;/STRONG&gt; from the plots statement;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add&lt;STRONG&gt; plots(only label)&lt;/STRONG&gt; = ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 20:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88649#M4359</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-28T20:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88650#M4360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I remove only from plots statement, I get the following error:&lt;/P&gt;&lt;P&gt; plots=effect (at (centred_AQ=6.33 centred_AC= 21 )) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: (, ALL, CLEVERAGE, CLUSTERCOOKSD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLUSTERDFIT, COOKSD, DCLS, DFBETA, DFBETAC, DFBETACS, DFBETAS, DOBS, LEVERAGE, MCLS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NONE, PREDICTED, RESCHI, RESDEV, RESLIK, RESRAW, STDRESCHI, STDRESDEV.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if I use "predicted" option I still get an error..&lt;/P&gt;&lt;P&gt;plots=predicted (at (centred_AQ=6.33 centred_AC= 21 )) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ERROR 79-322: Expecting a CLM.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any suggestions or comments.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tasneem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 20:55:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88650#M4360</guid>
      <dc:creator>TZaihra</dc:creator>
      <dc:date>2013-01-28T20:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88651#M4361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I ran this code, it works...using my own data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing SGE=on;&lt;/P&gt;&lt;P&gt;ods trace on;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;/P&gt;&lt;P&gt;ods rtf&amp;nbsp; style=journal;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=my_data plots=effect (x= bmi at (age=50 dm= '1' )) ;&lt;/P&gt;&lt;P&gt;CLASS gender(ref = first) cs_dm(ref= first)/ param = ref ;&lt;/P&gt;&lt;P&gt;MODEL cs_htn = gender bmi age cs/scale = none;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods rtf close;&lt;/P&gt;&lt;P&gt;ods graphics off;&lt;/P&gt;&lt;P&gt;ods trace off;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 21:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88651#M4361</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-28T21:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88652#M4362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the difference between my code and yours is that in the &lt;STRONG&gt;plots&lt;/STRONG&gt; statement I have &lt;/P&gt;&lt;P&gt;plots= effect(&lt;STRONG&gt;x = my_var&lt;/STRONG&gt; at (....))&lt;/P&gt;&lt;P&gt;and you have plots = effect(at (....));&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;and my code still worked after I removed &lt;STRONG&gt;x= my_var&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, not sure what the issue is&lt;/P&gt;&lt;P&gt;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 00:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88652#M4362</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-29T00:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88653#M4363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for looking into my problem, I really appreciate your help.&lt;/P&gt;&lt;P&gt;I am using Proc Genmod , have you used&amp;nbsp; effects plot option for PROC Genmod?&lt;/P&gt;&lt;P&gt;My code also works for proc logistic but the issue is with proc genmod &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am copying my entire code and I would really appreciate if you can have a look at it at your conveninece. I am really baffled as to why the same code works for PROC logistic but not PROC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC GENMOD DATA=xyz plots= effect(x=centred_SE at(centred_AQ=6.33 centred_AC= 21));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;class gender grage gr_revenu2 SM02 cardiac_related_condition PHYSICIAN NAM PATIENT;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODEL FOLLOWUP_T1_12M_OOC = gender grage gr_revenu2 SM02 cardiac_related_condition &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;centred_SE centred_AQ centred_AC&amp;nbsp; centred_SE*centred_AC ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Repeated subject=PATIENT(PHYSICIAN) / corr=exch corrw; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward to your comments and suggestions.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tasneem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Tasneem Zaihra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 10:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88653#M4363</guid>
      <dc:creator>TZaihra</dc:creator>
      <dc:date>2013-01-30T10:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing  Effects Plots in  Proc Genmod</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88654#M4364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tasneem.&lt;/P&gt;&lt;P&gt;I realized that I've been using PROC LOGISTIC and not GENMOD, and after further reading, the GENMOD's syntax is different thatn that of LOGISTIC's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you can't have ....&lt;STRONG&gt;plots = effect( x at (y = ... z = ...))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead you could use&amp;nbsp; &lt;STRONG&gt;plots = all&lt;/STRONG&gt;, in your GENMOD statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course that may not be what you want....&lt;/P&gt;&lt;P&gt;So, maybe someone more experienced can tell you how to replicate the PROC LOGISTIC plots = effect....in GENMOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 13:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Graphing-Effects-Plots-in-Proc-Genmod/m-p/88654#M4364</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-01-30T13:26:04Z</dc:date>
    </item>
  </channel>
</rss>

