<?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: Mixed Model 3-way interaction - Too many Likelihoods, Did not converge in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595937#M29046</link>
    <description>&lt;P&gt;There are no interaction terms in your model. Are you sure you want to cross &lt;EM&gt;agency&lt;/EM&gt; and &lt;EM&gt;edegree&lt;/EM&gt; as continuous variables?&lt;/P&gt;</description>
    <pubDate>Sat, 12 Oct 2019 03:08:37 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2019-10-12T03:08:37Z</dc:date>
    <item>
      <title>Mixed Model 3-way interaction - Too many Likelihoods, Did not converge</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595874#M29045</link>
      <description>&lt;P&gt;Hey - I am trying to run a mixed model in SAS Univeristy Edition to identify the significance of a 3 way interaction between agency (continuous), endorsement type (etype, categorical), and endorsement degree (edegree). PPCdir (directional change of personality) is the DV. Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data=H3long;&lt;BR /&gt;class etype;&lt;BR /&gt;model ppcdir= agency| etype| edegree;&lt;BR /&gt;repeated / type=cs sub=part;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives me:&amp;nbsp;WARNING: Stopped because of too many likelihood evaluations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding&amp;nbsp;&lt;SPAN&gt;maxiter=1000 maxfunc=5000 to the proc line but then it just says:&amp;nbsp;WARNING: Did not converge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas on what is going on, and what I need to do to fix the model?&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 20:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595874#M29045</guid>
      <dc:creator>rnickcochan</dc:creator>
      <dc:date>2019-10-11T20:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model 3-way interaction - Too many Likelihoods, Did not converge</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595937#M29046</link>
      <description>&lt;P&gt;There are no interaction terms in your model. Are you sure you want to cross &lt;EM&gt;agency&lt;/EM&gt; and &lt;EM&gt;edegree&lt;/EM&gt; as continuous variables?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 03:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595937#M29046</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-10-12T03:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model 3-way interaction - Too many Likelihoods, Did not converge</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595996#M29047</link>
      <description>&lt;P&gt;Hey PG,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The | (bar) typically runs the model and gives me main effects and interactions. Is this not correct this time?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, I thought you could cross 2 continuous variables. In this case I do want to do it (or atleast try) bc the 3 way interaction is a key component of one of my hypotheses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still having the same issues as above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also ran it as a GLIMMIX but the issue now are t values that are infty.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 22:18:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/595996#M29047</guid>
      <dc:creator>rnickcochan</dc:creator>
      <dc:date>2019-10-12T22:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model 3-way interaction - Too many Likelihoods, Did not converge</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/596060#M29048</link>
      <description>&lt;P&gt;Your code is fine, as far as that goes. Algorithms not converging are usually data problems, or model overspecification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How many levels of the categorical variable edegree? How many subjects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC MIXED is an iterative procedure, it tries to converge to a solution, but there is no guarantee that it will converge. When it can't converge, the reasons are usually (but not always):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;sparse data (for example if edegree had 1000 levels, or too many subjects)&lt;/LI&gt;
&lt;LI&gt;model overspecification&lt;/LI&gt;
&lt;LI&gt;outliers or clusters&lt;/LI&gt;
&lt;LI&gt;almost no slopes anywhere&lt;/LI&gt;
&lt;LI&gt;wrong METHOD= option&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 13 Oct 2019 12:11:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/596060#M29048</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-13T12:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model 3-way interaction - Too many Likelihoods, Did not converge</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/596075#M29049</link>
      <description>&lt;P&gt;Hey Paige - thanks for the reply. Here is some extra info about variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N = 319 participants&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agency - continuous, between subjects&amp;nbsp;&lt;/P&gt;&lt;P&gt;Etype - categorical, within subjects (2 levels, volitional or situational)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edegree - continuous, within subjects&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPCDir (change) - DV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Etype and edegree are related. Participants rated (edgree on 1-5 likert scale)&amp;nbsp; how much they agreed that volitional strategies (etype = v) AND situational strategies (etype = S) helped them change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Agency is also&amp;nbsp;1-5 likert scale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPCDIR is a difference score between past and current rated personality. PPabs which you will see on the data is another DV I want to run the model with (absolute change).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is my data in case that helps you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank so much for the help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 15:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/596075#M29049</guid>
      <dc:creator>rnickcochan</dc:creator>
      <dc:date>2019-10-13T15:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed Model 3-way interaction - Too many Likelihoods, Did not converge</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/596114#M29050</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/294325"&gt;@rnickcochan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;N = 319 participants&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Agency - continuous, between subjects&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Etype - categorical, within subjects (2 levels, volitional or situational)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edegree - continuous, within subjects&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PPCDir (change) - DV&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Etype and edegree are related. Participants rated (edgree on 1-5 likert scale)&amp;nbsp; how much they agreed that volitional strategies (etype = v) AND situational strategies (etype = S) helped them change.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Agency is also&amp;nbsp;1-5 likert scale&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PPCDIR is a difference score between past and current rated personality. PPabs which you will see on the data is another DV I want to run the model with (absolute change).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is my data in case that helps you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Honestly, I never download (and many people never download) Microsoft Office files as they can be security risks. Nor do I see any reason to run your model on your data and get the same results that you have. However, I do have suggestions for you to try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that having 319 different subjects, and you are looking for a three way interaction, makes the data very sparse, and you may be having problems because of that. I realize that your goal is to determine the significance of the 3-way interaction; nevertheless some things cannot be estimated from certain types of data, and as an experiment I recommend you try fitting the model without the three way interaction to see if the solution converges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am also confused by "continuous within subjects" for edegree, as I am not sure I have ever seen a continuous variable "within subjects", but my experience in this area is limited and maybe it does exist. Continuous, across subjects, makes more sense to me. I also don't see in your code how you have specified this "continuous within subjects" in the model.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 21:23:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-Model-3-way-interaction-Too-many-Likelihoods-Did-not/m-p/596114#M29050</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-13T21:23:01Z</dc:date>
    </item>
  </channel>
</rss>

