<?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: BLUP and the 95% confidence interval of random effect in multilevel model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287822#M15270</link>
    <description>&lt;P&gt;My code is to give you individual BLUPS for any specified subject. You are averaging all the BLUPs, which does not have any inherent meaning. In particular, the standard error (or standard deviation) of the estimated BLUPs across all subjects is not comparable to standard errors for invidual subjects. As Steve mentioned, the data scale is different for the analysis.By the way, &lt;U&gt;your&lt;/U&gt; ESTIMATE statement is only giving you the additive u (deviation)blup&amp;nbsp; prediction, not the predictions in your output file (the latter is giving you &lt;STRONG&gt;fixed intercept + random subject&lt;/STRONG&gt; effect, all on the inverse link scale). If you use:&lt;/P&gt;
&lt;P&gt;ESTIMATE ‘subject1’ &lt;STRONG&gt;int 1&lt;/STRONG&gt; | int 1 / subject 1 cl ilink;&lt;/P&gt;
&lt;P&gt;output out=_pred_out pred(blup ilink)=PredProb &lt;STRONG&gt;stderr(ilink blup)=stderr&lt;/STRONG&gt; ;&lt;/P&gt;
&lt;P&gt;your will get the exact same value in the estimate table as you get in the output file for subject 1. (Note that there is a "int 1" before the | and an "int 1" after the |.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2016 14:35:48 GMT</pubDate>
    <dc:creator>lvm</dc:creator>
    <dc:date>2016-07-28T14:35:48Z</dc:date>
    <item>
      <title>BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287097#M15231</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;What is the way to calculate BLUP (best linear unbiased prediction) and the 95% confidence interval in probability scale (not logit) using GLIMMIX (or other PROC)?&amp;nbsp; My application is to obtain the cluster level (random effect) predictions of the binary outcome.&amp;nbsp;&amp;nbsp; Fixed effects are also included in the model.&amp;nbsp; I understand I can get Solution for Random Effects but I have difficulties to convert this linear-scale (logit) to the original scale, which is more interpretable within a caterpillar plot. &amp;nbsp;The code I used is followed.&amp;nbsp; Looking forward to hearing from you.&amp;nbsp;&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC glimmix data=&amp;amp;datain ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class &amp;amp;catvar randvar ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model yvar&amp;nbsp; = &amp;amp;catvar &amp;amp;numvar / s dist=bin link=logit ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random intercept/ subject=randvar solution cl ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ods output SolutionR =_rand&amp;nbsp; ParameterEstimates=_fix ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 05:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287097#M15231</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-07-26T05:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287192#M15238</link>
      <description>&lt;P&gt;Any individual BLUP can be obtained with an ESTIMATE statement. For instance, the third level of your fixed effect and second level of your (random) subject:&lt;/P&gt;
&lt;P&gt;estimate 'f3s2' int 1 &amp;amp;catvar 0 0 1 | int 1 / subject 0 1 cl ilink;&lt;/P&gt;
&lt;P&gt;If you just wanted the random portion of this (same as the Solution table for the random effect):&lt;/P&gt;
&lt;P&gt;estimate 's2'&amp;nbsp; | int 1 / subject 0 1 cl ilink;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the inverse link is obtained. The limits of the confidence interval are obtained by using the inverse link function on the confidence limits of the logits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can ]have any number of estimate statements, but can get tedious with many statements. There are ways of writing macros to do some of the tedious stuff (but you have to know a bit about macro programming). See:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/37/109.html" target="_blank"&gt;http://support.sas.com/kb/37/109.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 13:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287192#M15238</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-07-26T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287686#M15258</link>
      <description>&lt;P&gt;Thanks Ivm, this is great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was comparing the result from ESTIMATE statement to the predicted values from OUTPUT OUT statement. The scenario is to obtain the shrunk prediction using a simple model without fixed effect.&amp;nbsp; From my experience the results are not consistent and I was wondering if this is a valid comparison.&amp;nbsp; The code is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* 1&amp;nbsp;Using ESTIMATE statement;&lt;/P&gt;&lt;P&gt;PROC glimmix data=&amp;amp;datain ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class randvar ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model yvar&amp;nbsp; = / s dist=bin link=logit ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random intercept/ subject=randvar solution cl ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ESTIMATE ‘subject1’ | int 1 / subject 1 cl ilink;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*2 &amp;nbsp;Getting average of predicted value;&lt;/P&gt;&lt;P&gt;PROC glimmix data=&amp;amp;datain ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class randvar ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;model yvar&amp;nbsp; = / s dist=bin link=logit ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random intercept/ subject=randvar solution cl ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=_pred_out pred (blup ilink)=PredProb ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc means data=_pred_out;&lt;/P&gt;&lt;P&gt;&amp;nbsp;class &amp;nbsp;randvar;&lt;/P&gt;&lt;P&gt;&amp;nbsp;var &amp;nbsp;PredProb;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 02:51:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287686#M15258</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-07-28T02:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287809#M15265</link>
      <description>&lt;P&gt;If the underlying distribution for the binomial is such that the mean probability is something other than 0.5, the second method will lead to a biased result, probably due to regression toward the mean (quoting, probably incorrectly, from Walt Stroup here). &amp;nbsp;The "mean" of several probablilies is not well estimated by a simple average. &amp;nbsp;Hence, the use of the "overall BLUP" (for want of a better term) that is obtained from the ESTIMATE statement. &amp;nbsp;Things are done in the "linked" space, where values are more meaningfully averaged, and then put back into the original probability scale.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 14:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287809#M15265</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-07-28T14:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287822#M15270</link>
      <description>&lt;P&gt;My code is to give you individual BLUPS for any specified subject. You are averaging all the BLUPs, which does not have any inherent meaning. In particular, the standard error (or standard deviation) of the estimated BLUPs across all subjects is not comparable to standard errors for invidual subjects. As Steve mentioned, the data scale is different for the analysis.By the way, &lt;U&gt;your&lt;/U&gt; ESTIMATE statement is only giving you the additive u (deviation)blup&amp;nbsp; prediction, not the predictions in your output file (the latter is giving you &lt;STRONG&gt;fixed intercept + random subject&lt;/STRONG&gt; effect, all on the inverse link scale). If you use:&lt;/P&gt;
&lt;P&gt;ESTIMATE ‘subject1’ &lt;STRONG&gt;int 1&lt;/STRONG&gt; | int 1 / subject 1 cl ilink;&lt;/P&gt;
&lt;P&gt;output out=_pred_out pred(blup ilink)=PredProb &lt;STRONG&gt;stderr(ilink blup)=stderr&lt;/STRONG&gt; ;&lt;/P&gt;
&lt;P&gt;your will get the exact same value in the estimate table as you get in the output file for subject 1. (Note that there is a "int 1" before the | and an "int 1" after the |.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2016 14:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/287822#M15270</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-07-28T14:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288025#M15279</link>
      <description>&lt;P&gt;Thanks Steve. I mentioned “the scenario is to obtain the shrunk prediction using a &lt;STRONG&gt;simple model without fixed effect&lt;/STRONG&gt;”; the predicted value is the same for all observations within each cluster (subject) under such a model. It was just for checking purpose using OUTPUT OUT. I confused everyone.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I agree on all you said, much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 02:41:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288025#M15279</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-07-29T02:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288028#M15280</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Thanks Ivm again for helping me.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ESTIMATE ‘subject1’ int 1 | int 1 / subject 1 cl ilink&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; works really well for a model without any fixed effect. I am trying to work out why both mean u and upper u appear to be 1.0 for my data when the fixed effects are added.&amp;nbsp;&amp;nbsp;&amp;nbsp;And let me know if I&amp;nbsp;made a mistake again.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 02:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288028#M15280</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-07-29T02:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288439#M15302</link>
      <description>&lt;P&gt;Hi Ivm,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry I thought I got the solotion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still need help for the use of &lt;STRONG&gt;ESTIMATE ‘subject1’ int 1 | int 1 / subject 1 cl ilink&lt;/STRONG&gt; when fixed effects (especially numerical) are added. I thought adding the&amp;nbsp;fixed effects can improve predictions and confidence interval should be narrower. But my results were that the confidence interval is much wider than a model without any fixed effect. The predictions could also move towards one direction (can explain more for this later). Could you shed more light and confirm the use of the above ESTIMATE statement?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 04:17:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288439#M15302</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-01T04:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288658#M15309</link>
      <description>The estimate statement I gave you is appropriate only when you don't have any fixed effects (other than the intercept). Also, if you want subject 3, the last part would be "subject 0 0 1;", and so on. I don't know what your fixed effect terms are.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2016 17:37:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288658#M15309</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-01T17:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288790#M15322</link>
      <description>&lt;P&gt;Fair enough Ivm. Let’s be more specific.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A dummy dataset is attached. The variable school is the cluster (subject) level field representing the random effect. Student is the lower level variable. Final_pass is a binary outcome variable. Other are fixed effect: school_type and entry_score. For your reference my program is also attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result for school A (as an example) is quite different when the entry_score is added as a fixed effect. As you indicated in your last message, the ESTIMATE statement may need a change when a fixed effect is included. Let’s use only entry_score as the fixed effect and see how the estimates added up. &amp;nbsp;Thanks for your continued help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Model&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Label&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Estimate (logit)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Mean u&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Std err&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Lower u&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Upper u&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Without fixed effect&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;School A&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1.4105&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.8038&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.1092&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.4973&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.9444&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Entry_score as fixed effect&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;School A&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.3145&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.578&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.2299&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.1746&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.8986&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 02 Aug 2016 02:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288790#M15322</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-02T02:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288791#M15323</link>
      <description>&lt;P&gt;Attaching the data again using&amp;nbsp;non-SAS dataset format.&amp;nbsp; Had problem of attaching SAS dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 03:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288791#M15323</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-02T03:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288915#M15327</link>
      <description>&lt;P&gt;I am in doubt whether it is possible to get BLUP in this model. As far as I know, it is not possible to get any unbiased estimator of Odds ratios in a fixed effect model. And since the predictions of the random effects should be adjusted for the estimated Odds ratios of the fixed effects it should also not be possible to give unbiased predictions of random effects.&lt;/P&gt;
&lt;P&gt;In practice, however, maksimum likelihood estimates, as GLIMMIX calculates, are good if just the sample size are not extreme small.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 12:44:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/288915#M15327</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2016-08-02T12:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/289069#M15329</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10078" target="_self"&gt;&lt;SPAN class="login-bold"&gt;JacobSimonsen&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp; for your comments, appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 06:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/289069#M15329</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-03T06:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/289192#M15338</link>
      <description>&lt;P&gt;I respectfully disagree with Jacob. Getting empirical BLUPs is straightforward with GLMMs. All covered in Stroup's book "Generalized Linear Mixed Models" (2013). There can be a small bias in parameter estimates, but not enough to prevent the calculation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Syntax will depend on the exact form of your model and random statements. If you have one covariable (X), then the first "int 1" portion of your estimate statement would be changed to:&lt;/P&gt;
&lt;P&gt;"int 1 X 5.5"&lt;/P&gt;
&lt;P&gt;if you wanted to get the BLUP for X=5.5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 12:36:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/289192#M15338</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-03T12:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/289395#M15349</link>
      <description>&lt;P&gt;It is great to see the clarification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ivm you are the&amp;nbsp;closest so far towards the final solution.&amp;nbsp; Hopefully it is not too far.&amp;nbsp; I really appreciate your continued effort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a correction I have marked the post as unsolved&amp;nbsp;based on&amp;nbsp;the original question.&amp;nbsp; Sorry for any confusion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone else there has experience in obtaining BLUP and&amp;nbsp;CI&amp;nbsp;with mixed model&amp;nbsp;(fixed + random), please help.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 22:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/289395#M15349</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-07T22:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290520#M15437</link>
      <description>&lt;P&gt;I am not sure what else you are looking for. One needs to see your full model code to give any more specific advice. You have the general syntax to use. Based on what you showed, we can't tell if you are doing things appropriately. By the way, chapters 6 and 8 in SAS for Mixed Models, 2nd edition (Littell et al. 2006) gives plenty of examples and explanations of this.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290520#M15437</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-09T17:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290526#M15439</link>
      <description>&lt;P&gt;I was looking at your table for school A. If you used the code:&lt;/P&gt;
&lt;P&gt;estimate 's2'&amp;nbsp; | int 1 / subject 0 1 cl ilink;&lt;/P&gt;
&lt;P&gt;for the situation with fixed effects (you give a categorical and a continuous predictor in your code), then you are getting the EBLUP for the last level of the categorical variable (always a coefficient of 0) and for the continuous predictor with a value of 0 (which may be impossible). You are not getting any kind of 'global mean'. If you want the EBLUP for the second level of the categorical predictor (C) and when the continuous predictor (say X) has a value of 3.5, then you use:&lt;/P&gt;
&lt;P&gt;estimate 'example' int 1 X 3.5 C 0 1 | int 1 / subject 1 cl ilink;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general, you will get different EBLUPS with and without fixed effect predictors, and the SEs will be smaller with the fixed effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290526#M15439</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-09T17:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290611#M15445</link>
      <description>&lt;P&gt;As title indicates I am interested in predictions for the random variable only but the fixed effects are included to adjust for the difference among subjects. A ‘global mean’&amp;nbsp;is sought for each subject and it is often adjusted due to the difference in characteristics or makeup of each subject. My specific request is to preserve the predictions (not the distance to average) and keep in the scale of proportion (not logit) for easier interpretation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I have made myself clear for what I am look for. As we know prediction of random effect has been widely used for many years in a number of areas, e.g. tree or animal breeding and hospital or school performance measurement.&amp;nbsp; I thought there is an easier way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ESTIMATE statement is great for obtaining an estimate with a specific set of effects but I don’t fully know if it can estimate random effect as described. Thanks for the guidance and I hope I have a solution.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 03:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290611#M15445</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-10T03:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290621#M15446</link>
      <description>&lt;P&gt;For my learning, I tried&amp;nbsp;the code regarding&amp;nbsp; “If you used the code:&lt;/P&gt;&lt;P&gt;estimate 's2'&amp;nbsp; | int 1 / subject 0 1 cl ilink;&lt;/P&gt;&lt;P&gt;for the situation with fixed effects (you give a categorical and a continuous predictor in your code), then you are getting the EBLUP for the &lt;U&gt;last level of the categorical variable&lt;/U&gt; (always a coefficient of 0) and for the continuous predictor with a value of 0”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if you&amp;nbsp;mean&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;estimate 's2' int 1                               | int 1 / subject 0 1 cl ilink;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is equivalent to:&lt;/P&gt;&lt;PRE&gt;estimate 's2' int 1 school_type 0 1 entry_score 0 | int 1 / subject 0 1 cl ilink;&lt;/PRE&gt;&lt;P&gt;If I run the following code using the dataset I sent, different results show.&amp;nbsp; I was also removing 'int 1' before vertical bar (this is in your statement) but I could not get the same results from the two estimate statements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; data=blup.school NOCLPRINT MAXLMMUPDATE=&lt;STRONG&gt;100&lt;/STRONG&gt; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class school school_type;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model final_pass = entry_score school_type / s cl dist=bin link=logit ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; random intercept/ subject=school solution cl ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; estimate 's2: statement 1' int &lt;STRONG&gt;1&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | int &lt;STRONG&gt;1&lt;/STRONG&gt; / subject &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;1&lt;/STRONG&gt; cl ilink;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; estimate 's2: statement 2' int &lt;STRONG&gt;1&lt;/STRONG&gt; school_type &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;1&lt;/STRONG&gt; entry_score &lt;STRONG&gt;0&lt;/STRONG&gt; | int &lt;STRONG&gt;1&lt;/STRONG&gt; / subject &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;1&lt;/STRONG&gt; cl ilink;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Label&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Estimate&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Standard Error&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;s2: statement 1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;0.01563&lt;/TD&gt;&lt;TD&gt;0.8291&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;s2: statement 2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;-0.7348&lt;/TD&gt;&lt;TD&gt;0.8021&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 10 Aug 2016 05:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290621#M15446</guid>
      <dc:creator>GZ</dc:creator>
      <dc:date>2016-08-10T05:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: BLUP and the 95% confidence interval of random effect in multilevel model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290724#M15454</link>
      <description>&lt;P&gt;Estimate statements are tricky, and these two do not mean the same thing. I will try to send you a more detailed response soon.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/BLUP-and-the-95-confidence-interval-of-random-effect-in/m-p/290724#M15454</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2016-08-10T14:44:42Z</dc:date>
    </item>
  </channel>
</rss>

