<?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 Graph probabilities in proc GLIMMIX in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358426#M12455</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I am trying to graph the probabilities of an event happening in proc GLIMMIX. Does anyone know if the GLIMMIX procedure generates this type of graph?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Basically, I want to plot an S curve, as one does in logistic regressions.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;B&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 May 2017 08:56:12 GMT</pubDate>
    <dc:creator>boban</dc:creator>
    <dc:date>2017-05-13T08:56:12Z</dc:date>
    <item>
      <title>Graph probabilities in proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358426#M12455</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I am trying to graph the probabilities of an event happening in proc GLIMMIX. Does anyone know if the GLIMMIX procedure generates this type of graph?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Basically, I want to plot an S curve, as one does in logistic regressions.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;B&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2017 08:56:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358426#M12455</guid>
      <dc:creator>boban</dc:creator>
      <dc:date>2017-05-13T08:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Graph probabilities in proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358427#M12456</link>
      <description>&lt;P&gt;I don't think GLIMMIX generates a FitPlot directly, but you can&amp;nbsp;use the OUTPUT stmt&amp;nbsp;to &amp;nbsp;create an output data set that has the predicted values, then use PROC SGPLOT to create the graph. &amp;nbsp;The trick is that you need to specify what sort of predicted values you want from &amp;nbsp;(BLUP or NOBLUP) and (ILINK or NOILINK). &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glimmix_syntax19.htm" target="_self"&gt;See the GLIMMIX doc for what these terms.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is code for an "S-like curve" that you can study and modify:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=sashelp.cars(where=(origin^='Europe'));
model Origin = mpg_city / dist=binary;
output out=modelout pred(noblup ilink)=prob 
                    lcl(noblup ilink)=lcl 
                    ucl(noblup ilink)=ucl;
run;

proc sort data=modelout;
by mpg_city;
run;

proc sgplot data=modelout;
band x=mpg_city lower=lcl upper=ucl;
series x=mpg_city y=prob;
yaxis min=0 max=1;
refline 0 1 / axis=y;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 May 2017 10:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358427#M12456</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-05-13T10:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Graph probabilities in proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358441#M12458</link>
      <description>&lt;P&gt;Thank you for the answer, very much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2017 14:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graph-probabilities-in-proc-GLIMMIX/m-p/358441#M12458</guid>
      <dc:creator>boban</dc:creator>
      <dc:date>2017-05-13T14:40:19Z</dc:date>
    </item>
  </channel>
</rss>

