<?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: Bootstrap variability measure on EBLUPs (predictions) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864396#M42743</link>
    <description>Thank you Steve. This is very helpful. Is there a preferred method for also generating standard errors for the EBLUP values? I did use the OUTP= option in PROC MIXED to get my EBLUPs but I also wanted to report some sort of valid variance measure for each one. I noticed in the documentation that the SEs generated with this option often 'underestimate', so I was thinking I could use some sort of resampling to generate less biased SEs. Am I thinking about this correctly? Thanks!</description>
    <pubDate>Wed, 15 Mar 2023 18:35:19 GMT</pubDate>
    <dc:creator>lsandell</dc:creator>
    <dc:date>2023-03-15T18:35:19Z</dc:date>
    <item>
      <title>Bootstrap variability measure on EBLUPs (predictions)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864164#M42731</link>
      <description>&lt;P&gt;Hi there, I am using PROC MIXED to generate predictions within a longitudinal cohort of a continuous outcome (EBLUPs). I have a few questions regarding the validity of the results generated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I assume the SE, 95% CI, and p-values of my fixed effects are valid (not underestimated) since I am modeling the measured outcome (not the predicted outcome), correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. If I do want to generate valid SE's for my EBLUPs, how would you suggest I set up my bootstrap in order to generate these values? Would I be bootstrapping for residuals, another measure, etc.?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 20:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864164#M42731</guid>
      <dc:creator>lsandell</dc:creator>
      <dc:date>2023-03-14T20:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrap variability measure on EBLUPs (predictions)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864384#M42742</link>
      <description>&lt;P&gt;For part 1, my answer is yes, provided there is no model misspecification.&lt;/P&gt;
&lt;P&gt;I see a couple ways of attacking #2.&lt;/P&gt;
&lt;P&gt;If you have predicted values at each time point for each subject (obtained from the model fit and using the OUTP= option), you can resample those by bootstrap to get some values. To get "pure" eBLUPs, set up several dummy subjects with a missing dependent variable. The OUTP option will generate predicted values by using eBLUPs. The key here is how many dummy subjects, as these will serve as the basis for the resampling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another way is to use the BLUP option in PROC HPMIXED. This will require knowing the covariance parameters (which you should from your MIXED run). You use a PARMS statement with a PARMSDATA dataset and specify NOITER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A third is to use HPLMIXED as in this example:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_hplmixed_examples01.htm" target="_self"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_hplmixed_examples01.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if any of these are of use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 17:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864384#M42742</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-03-15T17:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrap variability measure on EBLUPs (predictions)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864396#M42743</link>
      <description>Thank you Steve. This is very helpful. Is there a preferred method for also generating standard errors for the EBLUP values? I did use the OUTP= option in PROC MIXED to get my EBLUPs but I also wanted to report some sort of valid variance measure for each one. I noticed in the documentation that the SEs generated with this option often 'underestimate', so I was thinking I could use some sort of resampling to generate less biased SEs. Am I thinking about this correctly? Thanks!</description>
      <pubDate>Wed, 15 Mar 2023 18:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864396#M42743</guid>
      <dc:creator>lsandell</dc:creator>
      <dc:date>2023-03-15T18:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrap variability measure on EBLUPs (predictions)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864963#M42772</link>
      <description>&lt;P&gt;In most cases, a bootstrap SE will be less biased than a delta calculated SE, as the delta method essentially linearizes the Taylor expansion, so higher order terms that could account for skewness are ignored.&amp;nbsp; So, if you have a reasonable population to sample from, then it would seem that there would be less bias. However, the calculation of a mean value across the various subsamples makes the same kind of linearization. I think the key for SE's might be to work in the variance space and then calculate a pooled estimate of the SE by formula.&amp;nbsp; For anything resampling related, look through Rick Wicklin's blog:The DO Loop. Another good start would be&amp;nbsp;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Ask-the-Expert/How-Do-I-Use-the-Bootstrap-Method-in-SAS-Q-amp-A-Slides-and-On/ta-p/836226" target="_self"&gt;https://communities.sas.com/t5/Ask-the-Expert/How-Do-I-Use-the-Bootstrap-Method-in-SAS-Q-amp-A-Slides-and-On/ta-p/836226&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 18:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Bootstrap-variability-measure-on-EBLUPs-predictions/m-p/864963#M42772</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-03-17T18:57:52Z</dc:date>
    </item>
  </channel>
</rss>

