<?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 customize plot of predicted values from PROC GENMOD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676268#M32410</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am running a GEE in proc genmod and would like to customize the plot that it can automatically produce using the 'effectplot' statement. I am running a model that has two continuous predictor and I would like to plot the interaction at 1 SD above and below the mean for the moderating variable, which in my case are at the values -.76 and +.76. The syntax I am using below will produce the plot I want, but I would like to edit the font, x axis limits, etc.&lt;BR /&gt;&lt;BR /&gt;proc genmod data=data;&lt;BR /&gt;class idx;&lt;BR /&gt;model y = x z x*z&amp;nbsp; &amp;nbsp;/ dist=nb;&lt;BR /&gt;repeated subject=idx / type=ind covb corrw;&lt;BR /&gt;EFFECTPLOT slicefit (x = x sliceby = z = -.76 .76 ) / CLM;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Thanks for the advice!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2020 18:04:21 GMT</pubDate>
    <dc:creator>wjbrady</dc:creator>
    <dc:date>2020-08-12T18:04:21Z</dc:date>
    <item>
      <title>customize plot of predicted values from PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676268#M32410</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am running a GEE in proc genmod and would like to customize the plot that it can automatically produce using the 'effectplot' statement. I am running a model that has two continuous predictor and I would like to plot the interaction at 1 SD above and below the mean for the moderating variable, which in my case are at the values -.76 and +.76. The syntax I am using below will produce the plot I want, but I would like to edit the font, x axis limits, etc.&lt;BR /&gt;&lt;BR /&gt;proc genmod data=data;&lt;BR /&gt;class idx;&lt;BR /&gt;model y = x z x*z&amp;nbsp; &amp;nbsp;/ dist=nb;&lt;BR /&gt;repeated subject=idx / type=ind covb corrw;&lt;BR /&gt;EFFECTPLOT slicefit (x = x sliceby = z = -.76 .76 ) / CLM;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Thanks for the advice!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 18:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676268#M32410</guid>
      <dc:creator>wjbrady</dc:creator>
      <dc:date>2020-08-12T18:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: customize plot of predicted values from PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676320#M32412</link>
      <description>You have two options, one is to save the graphics to a file and edit it with Designer tool. This is somewhat manual, somewhat automated.&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?docsetId=grstatdesignug&amp;amp;docsetTarget=titlepage.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=grstatdesignug&amp;amp;docsetTarget=titlepage.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A second is to pipe the data set to a data file and then recreate the plot using SGPLOT which allows you to customize everything you desire. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Aug 2020 21:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676320#M32412</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-12T21:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: customize plot of predicted values from PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676329#M32413</link>
      <description>&lt;P&gt;Thanks, Reeza. I'll check out the first option. And for the second, to be clear you mean piping the *predicted* values dataset into a data file and then create the plot using SGPLOT?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 22:01:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676329#M32413</guid>
      <dc:creator>wjbrady</dc:creator>
      <dc:date>2020-08-12T22:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: customize plot of predicted values from PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676331#M32414</link>
      <description>The data used to create the EFFECTPLOT itself can be piped to a data set so you don't have to do additional calculations or restructuring of the data set and then using SGPLOT on that data set. It should save you at least a few steps with that approach. If this needs to be repeated at all this is the better option though ODS Graphics Designer does have some automation capabilities. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Aug 2020 22:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/customize-plot-of-predicted-values-from-PROC-GENMOD/m-p/676331#M32414</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-12T22:15:36Z</dc:date>
    </item>
  </channel>
</rss>

