<?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: How can I improve the mixed model when I encounter non-positive hessian or  non-positive definit in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935539#M46640</link>
    <description>Thank you for your answer. Of course, I have read this article before. There is no parms statement in the initial program, I use ods output ConvergenceStatus=ConvergeStatus to get the value of pdh to decide whether to use parms statement, when G matrix appears, According to this article, I hope to get satisfactory results by removing random statement or changing type=, such as type=FA0(1).&lt;BR /&gt;&lt;BR /&gt;However, most of the time, the hessian is not positive definite, and I set some initial values with parms statement, but it still does not change, so I want to know how to change the code, or how to change the initial value with theoretical basis instead of constantly changing the initial value to see if the result is positive definite</description>
    <pubDate>Fri, 12 Jul 2024 02:58:37 GMT</pubDate>
    <dc:creator>Ethan_Kael</dc:creator>
    <dc:date>2024-07-12T02:58:37Z</dc:date>
    <item>
      <title>How can I improve the mixed model when I encounter non-positive hessian or  non-positive definite G</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935413#M46636</link>
      <description>&lt;P&gt;When I solve the semi-repeated crossover design data according to the procedures of FDA equivalence guidelines, I find that sometimes the hessian is not positive definite or G is not positive definite. In most cases, the hessian is not positive definite quite frequently.&amp;nbsp;I know it could be because the dataset is not enough, the model is too complex, such as multicollinearity, or lack of information in certain directions of the parameter space.&lt;SPAN class=""&gt;Based on some advice on the Internet and mixed of sas documents, I would use parms statements such as: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;parms 0.1,0.1,0.1,0.1,0.1/ lowerb=1e-10,.,1e-10;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Sometimes we need to adjust the initial values, otherwise the hessian will still be non-positive.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I would like to ask whether the model needs to adjust or ignore the information when the hessian is non-positive definite. In general, how to adjust to eliminate this note, do I need to adjust the initial iteration value over and over again?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;The following is my program, I hope to get some suggestions:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;proc mixed data=pk;&lt;BR /&gt;class sequence subject period formulation;&lt;BR /&gt;model lncmax= sequence period formulation/ ddfm=satterth singular=1e-10;&lt;BR /&gt;random formulation/type=FA0(2) SUB=subject G ;&lt;BR /&gt;repeated/ grp=formulation sub=subject ;&lt;BR /&gt;parms 0.1,0.1,0.1,0.1,0.1/ lowerb=1e-10,.,1e-10;&lt;BR /&gt;estimate 'T vs. R' formulation -1 1/cl alpha=0.1;&lt;BR /&gt;lsmeans formulation / pdiff=control("R") alpha=0.1 cl;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 06:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935413#M46636</guid>
      <dc:creator>Ethan_Kael</dc:creator>
      <dc:date>2024-07-11T06:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I improve the mixed model when I encounter non-positive hessian or  non-positive definit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935423#M46637</link>
      <description>&lt;A href="https://blogs.sas.com/content/iml/2019/04/03/g-matrix-is-not-positive-definite.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2019/04/03/g-matrix-is-not-positive-definite.html&lt;/A&gt;</description>
      <pubDate>Thu, 11 Jul 2024 08:33:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935423#M46637</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-07-11T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I improve the mixed model when I encounter non-positive hessian or  non-positive definit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935431#M46639</link>
      <description>&lt;P&gt;Do an internet search for "Hessian non-positive definite", plenty of advice out there.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 09:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935431#M46639</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-07-11T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I improve the mixed model when I encounter non-positive hessian or  non-positive definit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935539#M46640</link>
      <description>Thank you for your answer. Of course, I have read this article before. There is no parms statement in the initial program, I use ods output ConvergenceStatus=ConvergeStatus to get the value of pdh to decide whether to use parms statement, when G matrix appears, According to this article, I hope to get satisfactory results by removing random statement or changing type=, such as type=FA0(1).&lt;BR /&gt;&lt;BR /&gt;However, most of the time, the hessian is not positive definite, and I set some initial values with parms statement, but it still does not change, so I want to know how to change the code, or how to change the initial value with theoretical basis instead of constantly changing the initial value to see if the result is positive definite</description>
      <pubDate>Fri, 12 Jul 2024 02:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935539#M46640</guid>
      <dc:creator>Ethan_Kael</dc:creator>
      <dc:date>2024-07-12T02:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I improve the mixed model when I encounter non-positive hessian or  non-positive definit</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935569#M46641</link>
      <description>&lt;P&gt;For the Hessian not positive definite message -- you might try rescaling your data values, or simplifying your model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the non-positive definite G matrix -- you might try simplifying the random effects.&lt;/P&gt;
&lt;P&gt;It is always a good idea to examine the output, which might give you ideas on the next steps of dealing with this type of issues.&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 12:37:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-I-improve-the-mixed-model-when-I-encounter-non-positive/m-p/935569#M46641</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2024-07-12T12:37:47Z</dc:date>
    </item>
  </channel>
</rss>

