<?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 Random effects mixed model with 95% prediction band in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780470#M38312</link>
    <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;I'm trying to do a surrogate endpoint validation on aggregated data (trial level).&lt;/P&gt;&lt;P&gt;What I have is a bunch (N ~ 50) of studies reporting an estimate (hazard ratio [CI95%]) for the "true" endpoint (overall survival) and another estimate for the surrogate endpoint (progression-free survival).&lt;/P&gt;&lt;P&gt;My aim is to compute the surrogate threshold effect, that is the minimum amount of PFS effect able to predict a non-zero (significant) effect on OS. I'd like to do that in accordance with &lt;A href="https://link.springer.com/article/10.1007/s10549-019-05262-4" target="_self"&gt;this publication&lt;/A&gt;, which says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;we fitted a random effects mixed-model to the data with moderator HRPFS&amp;nbsp;and outcome variable hazard ratio of OS (HROS) weighted by standard error (SE) of OS using the restricted maximum likelihood (REML) estimator for the amount of heterogeneity. [...]&amp;nbsp;Based on the regression fit, we calculated &lt;STRONG&gt;a prediction band to a significance level of&amp;nbsp;α = 0.05 for HROS&lt;/STRONG&gt;. Meta-regression model and prediction values were implemented with R [&lt;A title="" href="https://link.springer.com/article/10.1007/s10549-019-05262-4#ref-CR16" target="_blank" rel="noopener"&gt;16&lt;/A&gt;] using functions rma.uni and predict.rma from metafor package [&lt;A title="Viechtbauer W (2010) Conducting meta-analyses in R with the metafor Package. J Stat Softw 36(3):1–48" href="https://link.springer.com/article/10.1007/s10549-019-05262-4#ref-CR17" target="_blank" rel="noopener"&gt;17&lt;/A&gt;]. The STE resulted from the intersection of the upper prediction limit curve and the horizontal where HROS = 1 (zero effect).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In SAS PROC MIXED, do I have the opportunity do plot 95% prediction bands from which I could obtain the STE? If yes, could you give me a sample code?&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="STE.JPG" style="width: 715px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65762i295992DBC9A7928F/image-size/large?v=v2&amp;amp;px=999" role="button" title="STE.JPG" alt="STE.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Nov 2021 15:12:04 GMT</pubDate>
    <dc:creator>MacRowJab</dc:creator>
    <dc:date>2021-11-16T15:12:04Z</dc:date>
    <item>
      <title>Random effects mixed model with 95% prediction band</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780470#M38312</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;I'm trying to do a surrogate endpoint validation on aggregated data (trial level).&lt;/P&gt;&lt;P&gt;What I have is a bunch (N ~ 50) of studies reporting an estimate (hazard ratio [CI95%]) for the "true" endpoint (overall survival) and another estimate for the surrogate endpoint (progression-free survival).&lt;/P&gt;&lt;P&gt;My aim is to compute the surrogate threshold effect, that is the minimum amount of PFS effect able to predict a non-zero (significant) effect on OS. I'd like to do that in accordance with &lt;A href="https://link.springer.com/article/10.1007/s10549-019-05262-4" target="_self"&gt;this publication&lt;/A&gt;, which says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;we fitted a random effects mixed-model to the data with moderator HRPFS&amp;nbsp;and outcome variable hazard ratio of OS (HROS) weighted by standard error (SE) of OS using the restricted maximum likelihood (REML) estimator for the amount of heterogeneity. [...]&amp;nbsp;Based on the regression fit, we calculated &lt;STRONG&gt;a prediction band to a significance level of&amp;nbsp;α = 0.05 for HROS&lt;/STRONG&gt;. Meta-regression model and prediction values were implemented with R [&lt;A title="" href="https://link.springer.com/article/10.1007/s10549-019-05262-4#ref-CR16" target="_blank" rel="noopener"&gt;16&lt;/A&gt;] using functions rma.uni and predict.rma from metafor package [&lt;A title="Viechtbauer W (2010) Conducting meta-analyses in R with the metafor Package. J Stat Softw 36(3):1–48" href="https://link.springer.com/article/10.1007/s10549-019-05262-4#ref-CR17" target="_blank" rel="noopener"&gt;17&lt;/A&gt;]. The STE resulted from the intersection of the upper prediction limit curve and the horizontal where HROS = 1 (zero effect).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In SAS PROC MIXED, do I have the opportunity do plot 95% prediction bands from which I could obtain the STE? If yes, could you give me a sample code?&lt;/P&gt;&lt;P&gt;Thank you very much in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="STE.JPG" style="width: 715px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65762i295992DBC9A7928F/image-size/large?v=v2&amp;amp;px=999" role="button" title="STE.JPG" alt="STE.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 15:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780470#M38312</guid>
      <dc:creator>MacRowJab</dc:creator>
      <dc:date>2021-11-16T15:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Random effects mixed model with 95% prediction band</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780547#M38317</link>
      <description>&lt;P&gt;You can start here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed data=rc METHOD=REML COVTEST;
   class Batch;
   model Y = Month / s residual outpred=work.abc OUTPREDM=work.xyz;
   random Int Month / type=un sub=Batch s;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;... and tell us what else you need.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 20:02:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780547#M38317</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-16T20:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Random effects mixed model with 95% prediction band</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780557#M38319</link>
      <description>&lt;P&gt;Thank you a lot, Koen!&lt;/P&gt;&lt;P&gt;I tried the syntax&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;PROC MIXED data=surr METHOD=REML COVTEST;
   CLASS trial;
   MODEL oshr = pfshr / S RESIDUAL OUTPRED=pred OUTPREDM=predm;
   RANDOM INT pfshr / TYPE=un SUBJECT=trial S;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with&amp;nbsp;&lt;/P&gt;&lt;P&gt;oshr: hazard ratio on overall survival&lt;/P&gt;&lt;P&gt;pfshr: hazard ratio on progression-free survival&lt;/P&gt;&lt;P&gt;trial: study from which estimates are extracted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the pred and predm datasets, I get empty LCL and UCL columns for the predicted mean. The log says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;NOTE: Convergence criteria met but final Hessian is not&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;positive definite.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;NOTE: Estimated G matrix is not positive definite.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I apply a weight, it gets even worse, so that the predicted datasets are not being written at all:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;WARNING: Stopped because of too many likelihood evaluations.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: The data set WORK.PRED has 0 observations and 0 variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;WARNING: Data set WORK.PRED was not replaced because new file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;is incomplete.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: The data set WORK.PREDM has 0 observations and 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;WARNING: Data set WORK.PREDM was not replaced because new file&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;is incomplete.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is there an opportunity to get the prediction intervall anyway?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 20:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780557#M38319</guid>
      <dc:creator>MacRowJab</dc:creator>
      <dc:date>2021-11-16T20:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Random effects mixed model with 95% prediction band</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780569#M38323</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to add&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;parms / ols;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;statement to your proc mixed code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or have a look into below papers:&lt;/P&gt;
&lt;UL class="lia-list-style-type-disc"&gt;
&lt;LI&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2179-2018.pdf" target="_blank"&gt;https://www.sas.com/content/dam/SAS/support/en/sas-global-forum-proceedings/2018/2179-2018.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;They help&amp;nbsp;customers with various issues (including non-convergence) in MIXED, GLIMMIX, NLMIXED.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;BR /&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 20:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/780569#M38323</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-16T20:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Random effects mixed model with 95% prediction band</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/782031#M38417</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;NOTE: Convergence criteria met but final Hessian is not&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;positive definite.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;NOTE: Estimated G matrix is not positive definite.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#000000"&gt;This is telling you that you have over-specified the random effects based on the data you have.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;WARNING: Stopped because of too many likelihood evaluations.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;This can be avoided in many cases by simply increasing the number of iterations using the MAXITER= option in the PROC MIXED statement.&amp;nbsp; However, look through the iteration history and see if it is approaching convergence, or if it is jumping around.&amp;nbsp; MAXITER will solve the first case, but the second will require more appropriate MODEL and RANDOM statements.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;SteveDenham&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/782031#M38417</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-11-23T17:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Random effects mixed model with 95% prediction band</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/782244#M38424</link>
      <description>&lt;P&gt;For the message --&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;WARNING: Stopped because of too many likelihood evaluations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;try adding singular=1e-8 in the MODEL statement in PROC MIXED to see if that helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jill&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 15:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Random-effects-mixed-model-with-95-prediction-band/m-p/782244#M38424</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-11-24T15:54:02Z</dc:date>
    </item>
  </channel>
</rss>

