<?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 How to switch from REML to ML for Model Comparison in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/752963#M93476</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to compare two mixed effect models&amp;nbsp;with AIC (or AICc) values. When generating AIC values for model comparison of mixed effect models, I've seen (at least in R) that one must switch from Restricted Maximum Likelihood Estimation (REML) to Maximum Likelihood Estimation (ML). How do I do this in JMP?&amp;nbsp; I am using JMP 15 Pro provided through my work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Info for this procedure in R:&lt;/P&gt;&lt;P&gt;&lt;A href="https://r.qcbs.ca/workshop07/book-en/step-2.-code-potential-models-and-model-selection.html" target="_blank"&gt;https://r.qcbs.ca/workshop07/book-en/step-2.-code-potential-models-and-model-selection.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 18:01:10 GMT</pubDate>
    <dc:creator>DensityOfOkapi2</dc:creator>
    <dc:date>2024-05-08T18:01:10Z</dc:date>
    <item>
      <title>How to switch from REML to ML for Model Comparison</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/752963#M93476</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to compare two mixed effect models&amp;nbsp;with AIC (or AICc) values. When generating AIC values for model comparison of mixed effect models, I've seen (at least in R) that one must switch from Restricted Maximum Likelihood Estimation (REML) to Maximum Likelihood Estimation (ML). How do I do this in JMP?&amp;nbsp; I am using JMP 15 Pro provided through my work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Info for this procedure in R:&lt;/P&gt;&lt;P&gt;&lt;A href="https://r.qcbs.ca/workshop07/book-en/step-2.-code-potential-models-and-model-selection.html" target="_blank"&gt;https://r.qcbs.ca/workshop07/book-en/step-2.-code-potential-models-and-model-selection.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 18:01:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/752963#M93476</guid>
      <dc:creator>DensityOfOkapi2</dc:creator>
      <dc:date>2024-05-08T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch from REML to ML for Model Comparison</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/752999#M93479</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also attached below some dummy data and screenshots of model formulations&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-05-08 at 3.08.32 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64023i6D86639D6F8A5475/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-05-08 at 3.08.32 PM.png" alt="Screen Shot 2024-05-08 at 3.08.32 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-05-08 at 3.06.31 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64024iB3F9F73BB7BF33B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-05-08 at 3.06.31 PM.png" alt="Screen Shot 2024-05-08 at 3.06.31 PM.png" /&gt;&lt;/span&gt; following the structure of the two models I am trying to compare below. I'm looking for a place to switch from&amp;nbsp;&lt;SPAN&gt;Restricted Maximum Likelihood Estimation (REML) to Maximum Likelihood Estimation (ML) for AIC comparison&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 19:16:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/752999#M93479</guid>
      <dc:creator>DensityOfOkapi2</dc:creator>
      <dc:date>2024-05-08T19:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch from REML to ML for Model Comparison</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/753267#M93509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57055"&gt;@DensityOfOkapi2&lt;/a&gt;&amp;nbsp;. I don’t think ML is an option…it certainly isn’t in Standard JMP.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 20:25:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/753267#M93509</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-05-09T20:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch from REML to ML for Model Comparison</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/753308#M93514</link>
      <description>&lt;P&gt;Thank you! Yeah I haven't had any luck in my search on JMP 15 Pro for ML&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 21:32:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/753308#M93514</guid>
      <dc:creator>DensityOfOkapi2</dc:creator>
      <dc:date>2024-05-09T21:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch from REML to ML for Model Comparison</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/753447#M93523</link>
      <description>&lt;P&gt;I do not see why you need to use ML instead of REML to estimate the model parameters and compute AICc. I used another example from the JMP Sample Data Folder, Wheat.jmp, and set up a similar model:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="laun.JPG" style="width: 779px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64079i464C7B59D9E1CABF/image-size/large?v=v2&amp;amp;px=999" role="button" title="laun.JPG" alt="laun.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Click the red triangle at the top and select Regression Reports &amp;gt; AICc:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="menu.JPG" style="width: 471px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64080iF6BDD13389EA40D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="menu.JPG" alt="menu.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This criterion is added to the Summary of Fit outline:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aicc.JPG" style="width: 386px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64081i7B70D5E8C74D9A93/image-size/large?v=v2&amp;amp;px=999" role="button" title="aicc.JPG" alt="aicc.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 15:10:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/753447#M93523</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-05-10T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch from REML to ML for Model Comparison</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/756268#M93817</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;&amp;nbsp;! My rationale for wanting to switch from REML to ML is based in model selection protocol for R. Where one cannot compare the AIC values of two mixed effect models that differ in their fixed effect structures when using REML. The math underlying this goes over my head, but presumably the same comparison applies to comparisons of mixed effect models using REML in JMP? Or perhaps JMP automatically refits the model using ML to generate the AICc values to facilitate model comparisons. If such refitting is going on "under the hood" that'd be great to know!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Faraway (2006)&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Extending the linear model with R&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;(p. 156):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The reason is that REML estimates the random effects by considering linear combinations of the data that remove the fixed effects. If these fixed effects are changed, the likelihoods of the two models will not be directly comparable"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 13:17:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-switch-from-REML-to-ML-for-Model-Comparison/m-p/756268#M93817</guid>
      <dc:creator>DensityOfOkapi2</dc:creator>
      <dc:date>2024-05-20T13:17:20Z</dc:date>
    </item>
  </channel>
</rss>

