<?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: Effect Plot f or GEE Negative Binomial Rate Model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584189#M28643</link>
    <description>&lt;P&gt;1. Please post the SAS code you are using.&lt;/P&gt;
&lt;P&gt;2. The X variable does not have to be continuous, See &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect032.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;the documentation for the EFFECTPLOT statement for examples of plotting the response versus a CLASS variable&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2019 11:49:16 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-08-27T11:49:16Z</dc:date>
    <item>
      <title>Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584077#M28629</link>
      <description>&lt;P&gt;I would like to make plots like the ones in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2016/06/22/sas-effectplot-statement.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I have 2 problems&lt;/P&gt;&lt;P&gt;1) I have an offset and a binomial distribution and these charts only work for Poisson. &amp;nbsp; Binomial fits better based on qic,&amp;nbsp; given my robust standard errors can I just go with poisson to get my to chart output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) My x variable is is not really continuous, it is a categorical time variable and SAS only wants continuous variables on the x-axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make a plot like with an output dataset and sgplot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 21:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584077#M28629</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2019-08-26T21:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584185#M28642</link>
      <description>&lt;P&gt;Since it is written by Rick. Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 11:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584185#M28642</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-08-27T11:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584189#M28643</link>
      <description>&lt;P&gt;1. Please post the SAS code you are using.&lt;/P&gt;
&lt;P&gt;2. The X variable does not have to be continuous, See &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect032.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;the documentation for the EFFECTPLOT statement for examples of plotting the response versus a CLASS variable&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 11:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584189#M28643</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-27T11:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584294#M28648</link>
      <description>&lt;P&gt;proc genmod data=whatever;&lt;/P&gt;&lt;P&gt;class time;&lt;/P&gt;&lt;P&gt;model y =time a b c time*a time*b time*c/link=log dist=nb offset=log_n;&lt;/P&gt;&lt;P&gt;effectplot fit(x=time plotby=a) /moff ilink; *doesn't work;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;effectplot slicefit(x=time sliceby=b) /moff ilink; *doesn't work;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I switch to dist=poisson just to get my charts to run even though dist=nb gives me a much lower qic, given that GEE has robust standard errors? Are they robust to choice of poisson or Negative binomial?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could also switch my ordinal time to continuous to make my charts output, but I have no idea what that would do statistically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 16:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584294#M28648</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2019-08-27T16:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584301#M28650</link>
      <description>&lt;P&gt;Look at &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect027.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;the table on this page of the documentation.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It shows which options and suboptions support CLASS variables.Try the INTERACTION plot, which will plot the response versus levels of the CLASS variable, &lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect032.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_self"&gt;as shown in this example.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 16:57:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584301#M28650</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-27T16:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584307#M28651</link>
      <description>&lt;P&gt;I get this error.&lt;/P&gt;&lt;P&gt;I use this option because I want the y axis to be rates. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The MOFF option is only available for Poisson regression with an offset variable and the log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get this error when I remove the moff option:&lt;/P&gt;&lt;P&gt;ERROR: Continuous variables are not allowed in the X= option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These errors result from using:&lt;/P&gt;&lt;P&gt;effectplot interaction(x=time*a);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I don't think I'm asking a not reading the documentation type question.&amp;nbsp; I am asking for an alternate way to do what SAS doesn't automatically do or how to modify my data to make it do what SAS automatically does. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 17:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584307#M28651</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2019-08-27T17:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584415#M28653</link>
      <description>&lt;P&gt;I was able to make something close using output from the lsmeans and the at command.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 03:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584415#M28653</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2019-08-28T03:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584481#M28655</link>
      <description>&lt;P&gt;Great! Could you please share the code you used so that future people who have this question can find the answer?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 09:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584481#M28655</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-08-28T09:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Effect Plot f or GEE Negative Binomial Rate Model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584586#M28657</link>
      <description>&lt;P&gt;ods output lsmeans=lsmeans;&lt;/P&gt;&lt;P&gt;lsmeans time/at a=5 exp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;lsmeans time/at a=10 exp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;lsmeans time/at a=15 exp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;etc. . . for as many values of a as needed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Repeat for b and c. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=lsmeans;&lt;/P&gt;&lt;P&gt;vline time/response=y group=a;&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 01:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Effect-Plot-f-or-GEE-Negative-Binomial-Rate-Model/m-p/584586#M28657</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2019-08-29T01:43:26Z</dc:date>
    </item>
  </channel>
</rss>

