<?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: Does lsmean with ilink in proc glimmix produce standardized probabilities including random effec in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/354172#M18548</link>
    <description>&lt;P&gt;Yes, I want the blups but just the marginal effects, meaning the average for the levels of the categorical predictor. Or can I just obtain the blups means for the lsmeans ilink statement? Or I have to obtain the mean from the generated blups?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the blups similar to the probabilitiies generated with the margins command in stata?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 15:49:48 GMT</pubDate>
    <dc:creator>FabianChamba</dc:creator>
    <dc:date>2017-04-27T15:49:48Z</dc:date>
    <item>
      <title>Does lsmean with ilink in proc glimmix produce standardized probabilities including random effects?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352383#M18469</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS and I am trying to get standardized probabilities from this mixed effect logistic regression model in proc glimmix:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc glimmix data=first plots=all pconv=1e-6 or;&lt;BR /&gt;nloptions maxiter=200000;&lt;BR /&gt;class farmID numemply_rank(ref="1") ;&lt;BR /&gt;model pos (event='1')=numemply_rank sampling numemply_rank*sampling/s link=logit dist=binomial stdcoef;&lt;BR /&gt;random intercept sampling /subject=farmID type=un;&lt;BR /&gt;lsmeans numemply_rank/or ilink plots=all;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the standardized probabilities that take into account random effects in order to be able to calculate relative risk and risk difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me with this question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 03:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352383#M18469</guid>
      <dc:creator>FabianChamba</dc:creator>
      <dc:date>2017-04-22T03:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Does lsmean with ilink in proc glimmix produce standardized probabilities including random effec</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352395#M18470</link>
      <description>&lt;P&gt;I've moved your question to the Statistical Procedures forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not familiar with PROC GLIMMIX or the term standardized predictions, but have you looked at the OUTPUT statement in GLIMMIX to see if it can produce the desired results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=statug_glimmix_syntax19.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=statug_glimmix_syntax19.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32441"&gt;@FabianChamba&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to SAS and I am trying to get standardized probabilities from this mixed effect logistic regression model in proc glimmix:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc glimmix data=first plots=all pconv=1e-6 or;&lt;BR /&gt;nloptions maxiter=200000;&lt;BR /&gt;class farmID numemply_rank(ref="1") ;&lt;BR /&gt;model pos (event='1')=numemply_rank sampling numemply_rank*sampling/s link=logit dist=binomial stdcoef;&lt;BR /&gt;random intercept sampling /subject=farmID type=un;&lt;BR /&gt;lsmeans numemply_rank/or ilink plots=all;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the standardized probabilities that take into account random effects in order to be able to calculate relative risk and risk difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me with this question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 04:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352395#M18470</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-22T04:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Does lsmean with ilink in proc glimmix produce standardized probabilities including random effec</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352411#M18472</link>
      <description>&lt;PRE&gt;
I think so.
lsmeans ./ ilink exp diff cl ;

Did you try OUTPUT statement ?

&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Apr 2017 10:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352411#M18472</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-22T10:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does lsmean with ilink in proc glimmix produce standardized probabilities including random effec</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352549#M18473</link>
      <description>&lt;P&gt;I'm not sure what you mean by "standardized probabilities" either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If what you want is BLUPs, check the documentation for the OUTPUT statement using the ILINK and NOBLUP keywords for PRED.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 02:37:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/352549#M18473</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-04-23T02:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Does lsmean with ilink in proc glimmix produce standardized probabilities including random effec</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/354172#M18548</link>
      <description>&lt;P&gt;Yes, I want the blups but just the marginal effects, meaning the average for the levels of the categorical predictor. Or can I just obtain the blups means for the lsmeans ilink statement? Or I have to obtain the mean from the generated blups?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the blups similar to the probabilitiies generated with the margins command in stata?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/354172#M18548</guid>
      <dc:creator>FabianChamba</dc:creator>
      <dc:date>2017-04-27T15:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does lsmean with ilink in proc glimmix produce standardized probabilities including random effec</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/354338#M18554</link>
      <description>&lt;P&gt;The OUTPUT statement produces predictions (BLUP or BLUE) for individual observations. If you want means over a fixed effects factor, then you may be able to use ESTIMATE or CONTRAST statements with &lt;EM&gt;narrow&lt;/EM&gt; (as opposed to &lt;EM&gt;broad&lt;/EM&gt; or &lt;EM&gt;intermediate&lt;/EM&gt;) &lt;EM&gt;inference&lt;/EM&gt;. See Chapter 6 in&amp;nbsp;&lt;A title="SAS System for Mixed Models, 2nd ed" href="https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-second-edition/prodBK_59882_en.html" target="_self"&gt;https://www.sas.com/store/books/categories/usage-and-reference/sas-for-mixed-models-second-edition/prodBK_59882_en.html&lt;/A&gt;&amp;nbsp;for more information and additional references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't use Stata so I cannot answer that question.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 05:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Does-lsmean-with-ilink-in-proc-glimmix-produce-standardized/m-p/354338#M18554</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-04-28T05:47:55Z</dc:date>
    </item>
  </channel>
</rss>

