<?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 Draw plot using fitted probability in proc glimmix, lsmeans in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Draw-plot-using-fitted-probability-in-proc-glimmix-lsmeans/m-p/605970#M29430</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have a GLMM model and my code runs smoothly: &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;proc glimmix data=production_change;&lt;BR /&gt;class Subject Group (ref='C');&lt;BR /&gt;model Response = Group / dist=binomial link=logit cl;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random intercept / subject = Subject;&lt;BR /&gt;lsmeans Group / adjust=Tukey plots=meanplot ilink cl;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&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;The only issues is with the "lsmeans / plots=" statement. I want to draw the graph using the fitted probability, not the estimated means (which SAS currently does for me).&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;That is, I want to use the data in the red frame below to draw a graph, not using the "estimate" and its CL.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stackquestionillustration.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34119iC4FA297D3093DA27/image-size/large?v=v2&amp;amp;px=999" role="button" title="stackquestionillustration.png" alt="stackquestionillustration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows how to do that? Or do I need an ods statement, or a proc sgplot statement? I am quite new to this.&lt;/P&gt;&lt;P&gt;I appreciate your time and effort to help!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 23:39:01 GMT</pubDate>
    <dc:creator>BrandaLee</dc:creator>
    <dc:date>2019-11-20T23:39:01Z</dc:date>
    <item>
      <title>Draw plot using fitted probability in proc glimmix, lsmeans</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Draw-plot-using-fitted-probability-in-proc-glimmix-lsmeans/m-p/605970#M29430</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have a GLMM model and my code runs smoothly: &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;proc glimmix data=production_change;&lt;BR /&gt;class Subject Group (ref='C');&lt;BR /&gt;model Response = Group / dist=binomial link=logit cl;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random intercept / subject = Subject;&lt;BR /&gt;lsmeans Group / adjust=Tukey plots=meanplot ilink cl;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&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;The only issues is with the "lsmeans / plots=" statement. I want to draw the graph using the fitted probability, not the estimated means (which SAS currently does for me).&lt;/SPAN&gt;&amp;nbsp;&lt;/FONT&gt;That is, I want to use the data in the red frame below to draw a graph, not using the "estimate" and its CL.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stackquestionillustration.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/34119iC4FA297D3093DA27/image-size/large?v=v2&amp;amp;px=999" role="button" title="stackquestionillustration.png" alt="stackquestionillustration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows how to do that? Or do I need an ods statement, or a proc sgplot statement? I am quite new to this.&lt;/P&gt;&lt;P&gt;I appreciate your time and effort to help!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 23:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Draw-plot-using-fitted-probability-in-proc-glimmix-lsmeans/m-p/605970#M29430</guid>
      <dc:creator>BrandaLee</dc:creator>
      <dc:date>2019-11-20T23:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Draw plot using fitted probability in proc glimmix, lsmeans</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Draw-plot-using-fitted-probability-in-proc-glimmix-lsmeans/m-p/606477#M29431</link>
      <description>&lt;P&gt;use the ILINK suboption to the PLOTS=MEANPLOT option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;lsmeans Group / adjust=Tukey plots=meanplot&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;(ilink)&lt;/FONT&gt;&lt;/STRONG&gt; ilink cl;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 14:52:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Draw-plot-using-fitted-probability-in-proc-glimmix-lsmeans/m-p/606477#M29431</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-22T14:52:03Z</dc:date>
    </item>
  </channel>
</rss>

