<?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: Ridging has failed to improve the loglikelihood in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281778#M14843</link>
    <description>&lt;P&gt;The INEST data has to be in a certain format with required var names and a TYPE, so if you decide to pursue that approach -- here's an example (which I lifted from a SAS Tech Support example).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data in_parms(type=parms);
input _TYPE_$1-5 _NAME_ $7-16 Intercept x1;
datalines;
PARMS y          1.78602 -1.92822
COV   Intercept  0.02480 -0.03560
COV   x1        -0.03560 0.06408  
;
run;

proc surveylogistic data=test inest=in_parms;
/* your model, class, and other statements */
run;  &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 01 Jul 2016 17:54:48 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-07-01T17:54:48Z</dc:date>
    <item>
      <title>Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281747#M14836</link>
      <description>&lt;P&gt;Hi everyone, I am using Proc Surveylogistic on SAS 9.4&amp;nbsp;and having trouble with my SAS model converging&amp;nbsp;and wondering how to address this. I've tried all of the ridging options and increased the max iterations. SAS suggests using HALFMAX and INEST, but I cannot find any information on these options. Here is the warning message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: The linesearch technique has failed to improve the loglikelihood. You may want to increase&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the maximum number of step halvings (HALFMAX= option), or switch to use a ridging&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; technique (RIDGING= option), or specify a new set of parameter estimates (INEST= option).&lt;BR /&gt;WARNING: The SURVEYLOGISTIC procedure continues in spite of the above warning. Results shown are&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; based on the last maximum likelihood iteration. Validity of the model fit is questionable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone direct me to where I can find information on HALFMAX or INEST? Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281747#M14836</guid>
      <dc:creator>jt14</dc:creator>
      <dc:date>2016-07-01T15:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281770#M14839</link>
      <description>&lt;P&gt;The&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_surveylogistic_syntax01.htm" target="_self"&gt; INEST= option &lt;/A&gt;enables you to specify a data set that has initial values for parameter estimates.&amp;nbsp; Better guesses sometimes help convergence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what "HALFMAX" means, and either did Google. My guess is that the WARNING message was initially written for another function or procedure (maybe in SAS/OR) that has or had such an option.&amp;nbsp; Since it doesn't seem to apply to SURVEYLOGISTIC, you can ignore it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warnings like this often occur when the model does not fit the data.. Try simplifying the model, maybe by reducing the number of terms and/or interactions.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 17:19:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281770#M14839</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-07-01T17:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281778#M14843</link>
      <description>&lt;P&gt;The INEST data has to be in a certain format with required var names and a TYPE, so if you decide to pursue that approach -- here's an example (which I lifted from a SAS Tech Support example).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data in_parms(type=parms);
input _TYPE_$1-5 _NAME_ $7-16 Intercept x1;
datalines;
PARMS y          1.78602 -1.92822
COV   Intercept  0.02480 -0.03560
COV   x1        -0.03560 0.06408  
;
run;

proc surveylogistic data=test inest=in_parms;
/* your model, class, and other statements */
run;  &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Jul 2016 17:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281778#M14843</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-07-01T17:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281791#M14852</link>
      <description>&lt;P&gt;Thank you both! INEST worked very well.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:02:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281791#M14852</guid>
      <dc:creator>jt14</dc:creator>
      <dc:date>2016-07-01T20:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281793#M14853</link>
      <description>&lt;P&gt;Great! Will fist bump&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS﻿&lt;/a&gt;&amp;nbsp;when I next see him. &amp;nbsp;He deserves the credit -- I'm a "stats proc poser" who can copy/paste from tech support samples.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for checking out the communities,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/68688"&gt;@jt14﻿&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:06:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/281793#M14853</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-07-01T20:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/379417#M19924</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I am having a very similar problem. Note: proc logistics works fine, it is when I run the bootstrapped weights that I run into a problem.&lt;/P&gt;&lt;P&gt;What does the INEST option mean? what can be the solution for me?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Razan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my syntax:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt; &lt;STRONG&gt;surveylogistic&lt;/STRONG&gt; data=boot.merged_1&amp;nbsp; varmethod=BRR ;&lt;/P&gt;&lt;P&gt;class ADHR (ref=first) DHH_SEX (ref=first)&amp;nbsp; year(ref=first) agegrp (ref=first) edu_lv (ref=first) ;&lt;/P&gt;&lt;P&gt;model adhr = DHH_SEX year agegrp edu_lv /&amp;nbsp;&amp;nbsp; RIDGING=NONE ;&lt;/P&gt;&lt;P&gt;repweights bsw1 - bsw500 ;&lt;/P&gt;&lt;P&gt;weight fwgt ;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: PROC SURVEYLOGISTIC is modeling the probability that adhr=1.&lt;/P&gt;&lt;P&gt;NOTE: Convergence criterion (GCONV=1E-8) satisfied.&lt;/P&gt;&lt;P&gt;WARNING: The linesearch technique has failed to improve the loglikelihood. You may want to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; increase the maximum number of step halvings (HALFMAX= option), or switch to use a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ridging technique (RIDGING= option), or specify a new set of parameter estimates (INEST=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; option).&lt;/P&gt;&lt;P&gt;WARNING: The SURVEYLOGISTIC procedure continues in spite of the above warning. Results shown are&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; based on the last maximum likelihood iteration. Validity of the model fit is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; questionable.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SURVEYLOGISTIC used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3:00.49&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2:15.08&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, 26 Jul 2017 14:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/379417#M19924</guid>
      <dc:creator>RazanAm</dc:creator>
      <dc:date>2017-07-26T14:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ridging has failed to improve the loglikelihood</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/379426#M19927</link>
      <description>&lt;P&gt;I used proc logistic to output a dataset containing initial parameter estimates using OUTEST that I then applied to the proc surveylogistic version of the model using INEST. These parameter estimates served as a starting point for the model convergence.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have already exhausted all of the ridging options, I would try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;logistic&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=boot.merged_1 &amp;nbsp;&lt;EM&gt;OUTEST=XXXX&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;class ADHR (ref=first) DHH_SEX (ref=first)&amp;nbsp; year(ref=first) agegrp (ref=first) edu_lv (ref=first) ;&lt;/P&gt;&lt;P&gt;model adhr = DHH_SEX year agegrp edu_lv / &amp;nbsp; &lt;EM&gt;PARAM=REF&lt;/EM&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;surveylogistic&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=boot.merged_1&amp;nbsp; varmethod=BRR &lt;EM&gt;INEST=XXXX&lt;/EM&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;class ADHR (ref=first) DHH_SEX (ref=first)&amp;nbsp; year(ref=first) agegrp (ref=first) edu_lv (ref=first) ;&lt;/P&gt;&lt;P&gt;model adhr = DHH_SEX year agegrp edu_lv / &amp;nbsp; &lt;EM&gt;PARAM=REF&lt;/EM&gt;&amp;nbsp;;&lt;/P&gt;&lt;P&gt;repweights bsw1 - bsw500 ;&lt;/P&gt;&lt;P&gt;weight fwgt ;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The variables from the OUTEST dataset must match the number of variables and the variable names that PROC SURVEYLOGISTIC is expecting from your inputted INEST dataset. If you have a similar model that did converge in PROC SURVEYLOGISTIC, you can use that to investigate what variables are needed. I hope this works. I am far from an expert on this and it may have been luck that&amp;nbsp;this was a quick fix for me.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 15:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Ridging-has-failed-to-improve-the-loglikelihood/m-p/379426#M19927</guid>
      <dc:creator>jt14</dc:creator>
      <dc:date>2017-07-26T15:25:31Z</dc:date>
    </item>
  </channel>
</rss>

