<?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: PROC LOGISTIC error in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718110#M34719</link>
    <description>&lt;P&gt;This might make it easier to see that the solution from PROC LOGISTIC is better.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data = tiny outest=oe;
model y(event='1')=x;
run;
data ine;
set oe;
intercept=-1.7306;
run;
proc logistic data = tiny inest=ine outest=oe2;
model y(event='1')=x / maxiter=0 itprint;
run;
proc print data=oe;
format _lnlike_ 20.16;
run;
proc print data=oe2;
format _lnlike_ 20.16;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 10 Feb 2021 03:56:21 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2021-02-10T03:56:21Z</dc:date>
    <item>
      <title>PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718004#M34708</link>
      <description>&lt;P&gt;PROC LOGISTIC sometimes lacks accuracy.&lt;/P&gt;&lt;P&gt;I tried checking the intercept and coefficients given by PROC LOGISTIC to verify that we have maximized the log-likelihood. Often I find that the PROC LOGISTIC results are not accurate in the last digit or two. It seems to me that you could just give us fewer digits if you are unsure of the last digits.&lt;/P&gt;&lt;P&gt;To see what I mean run this:&lt;/P&gt;&lt;P&gt;data tiny;&lt;BR /&gt;input x y;&lt;BR /&gt;lines;&lt;BR /&gt;0 0&lt;BR /&gt;0 0&lt;BR /&gt;1 1&lt;BR /&gt;2 0&lt;BR /&gt;4 0&lt;BR /&gt;5 1&lt;BR /&gt;7 0&lt;BR /&gt;8 1&lt;BR /&gt;9 1&lt;BR /&gt;10 1&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc logistic data = tiny;&lt;BR /&gt;model y(event='1')=x;&lt;BR /&gt;effectplot;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;Gives:&lt;BR /&gt;-2 Log L 13.863 10.447&lt;/P&gt;&lt;P&gt;Intercept 1 -1.7308 1.3194 1.7209 0.1896&lt;BR /&gt;x 1 0.3790 0.2384 2.5276 0.1119&lt;/P&gt;&lt;P&gt;So we grab the intercept and coefficient for the next part.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;data check1;&lt;BR /&gt;set tiny end=lastOne;&lt;BR /&gt;* show me max precision +1 on Windows 10 machine;&lt;BR /&gt;format pi_x LL sumLL pred 18.15;&lt;BR /&gt;int = -1.7308;&lt;BR /&gt;coeff = .3790;&lt;BR /&gt;pi_x = exp(int+coeff*x)/(1+exp(int+coeff*x));&lt;BR /&gt;LL = y*log(pi_x)+ (1-y)*log(1-pi_x);&lt;BR /&gt;sumLL = sum(sumLL,LL);&lt;BR /&gt;if lastOne then do;&lt;BR /&gt;pred=-2*sumLL;&lt;BR /&gt;*output;&lt;BR /&gt;end;&lt;BR /&gt;retain sumLL;&lt;BR /&gt;*keep pred int coeff;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/* gives&lt;BR /&gt;final sumLL =-5.223346937613210&lt;BR /&gt;and pred = 10.446693875226400.&lt;BR /&gt;Here pred is the prediction of -2 Log L.&lt;BR /&gt;It matches the 10.447 given by PROC LOGISTIC&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;* run the identical thing, but change the intercept;&lt;/P&gt;&lt;P&gt;data check2;&lt;BR /&gt;set tiny end=lastOne;&lt;BR /&gt;* show me max precision +1 on Windows 10 machine;&lt;BR /&gt;format pi_x LL sumLL pred 18.15;&lt;BR /&gt;int = -1.7306;&lt;BR /&gt;coeff = .3790;&lt;BR /&gt;pi_x = exp(int+coeff*x)/(1+exp(int+coeff*x));&lt;BR /&gt;LL = y*log(pi_x)+ (1-y)*log(1-pi_x);&lt;BR /&gt;sumLL = sum(sumLL,LL);&lt;BR /&gt;if lastOne then do;&lt;BR /&gt;pred=-2*sumLL;&lt;BR /&gt;*output;&lt;BR /&gt;end;&lt;BR /&gt;retain sumLL;&lt;BR /&gt;*keep pred int coeff;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;Gives&lt;BR /&gt;final sumLL =-5.223346904989050&lt;BR /&gt;and pred = 10.446693809978100&lt;/P&gt;&lt;P&gt;This final sumLL is larger than the results given by PROC LOGISTIC.&lt;BR /&gt;The predicted -2 Log L is smaller - meaning a better fit.&lt;/P&gt;&lt;P&gt;So we should have gotten intercept -1.7306 instead of -1.7308, as given by PROC LOGISTIC.&lt;/P&gt;&lt;P&gt;I asked to see what precision we are measuring the numbers with. My machine gives 14 digits - so differences in the 8th place shouldn't be due to roundoff error.&lt;/P&gt;&lt;P&gt;Could someone explain to me why SAS does this?&lt;BR /&gt;*/&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>Tue, 09 Feb 2021 20:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718004#M34708</guid>
      <dc:creator>Johndberglund</dc:creator>
      <dc:date>2021-02-09T20:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718005#M34709</link>
      <description>&lt;P&gt;You're concerned about differences at the 8th+ decimal place?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your data measured to that level of accuracy?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This page documents the Numerical Precision issue in SAS/computers.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0ji1unv6thm0dn1gp4t01a1u0g6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#:~:text=contain%20real%20numbers.-,Floating%2DPoint%20Representation,representation%20to%20store%20numeric%20values"&gt;https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0ji1unv6thm0dn1gp4t01a1u0g6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#:~:text=contain%20real%20numbers.-,Floating%2DPoint%20Representation,representation%20to%20store%20numeric%20values&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS. It really helps if you take a few minutes to format your code and post to make it more legible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148275"&gt;@Johndberglund&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;PROC LOGISTIC sometimes lacks accuracy.&lt;/P&gt;
&lt;P&gt;I tried checking the intercept and coefficients given by PROC LOGISTIC to verify that we have maximized the log-likelihood. Often I find that the PROC LOGISTIC results are not accurate in the last digit or two. It seems to me that you could just give us fewer digits if you are unsure of the last digits.&lt;/P&gt;
&lt;P&gt;To see what I mean run this:&lt;/P&gt;
&lt;P&gt;data tiny;&lt;BR /&gt;input x y;&lt;BR /&gt;lines;&lt;BR /&gt;0 0&lt;BR /&gt;0 0&lt;BR /&gt;1 1&lt;BR /&gt;2 0&lt;BR /&gt;4 0&lt;BR /&gt;5 1&lt;BR /&gt;7 0&lt;BR /&gt;8 1&lt;BR /&gt;9 1&lt;BR /&gt;10 1&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc logistic data = tiny;&lt;BR /&gt;model y(event='1')=x;&lt;BR /&gt;effectplot;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;/*&lt;BR /&gt;Gives:&lt;BR /&gt;-2 Log L 13.863 10.447&lt;/P&gt;
&lt;P&gt;Intercept 1 -1.7308 1.3194 1.7209 0.1896&lt;BR /&gt;x 1 0.3790 0.2384 2.5276 0.1119&lt;/P&gt;
&lt;P&gt;So we grab the intercept and coefficient for the next part.&lt;/P&gt;
&lt;P&gt;*/&lt;/P&gt;
&lt;P&gt;data check1;&lt;BR /&gt;set tiny end=lastOne;&lt;BR /&gt;* show me max precision +1 on Windows 10 machine;&lt;BR /&gt;format pi_x LL sumLL pred 18.15;&lt;BR /&gt;int = -1.7308;&lt;BR /&gt;coeff = .3790;&lt;BR /&gt;pi_x = exp(int+coeff*x)/(1+exp(int+coeff*x));&lt;BR /&gt;LL = y*log(pi_x)+ (1-y)*log(1-pi_x);&lt;BR /&gt;sumLL = sum(sumLL,LL);&lt;BR /&gt;if lastOne then do;&lt;BR /&gt;pred=-2*sumLL;&lt;BR /&gt;*output;&lt;BR /&gt;end;&lt;BR /&gt;retain sumLL;&lt;BR /&gt;*keep pred int coeff;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;/* gives&lt;BR /&gt;final sumLL =-5.223346937613210&lt;BR /&gt;and pred = 10.446693875226400.&lt;BR /&gt;Here pred is the prediction of -2 Log L.&lt;BR /&gt;It matches the 10.447 given by PROC LOGISTIC&lt;BR /&gt;*/&lt;/P&gt;
&lt;P&gt;* run the identical thing, but change the intercept;&lt;/P&gt;
&lt;P&gt;data check2;&lt;BR /&gt;set tiny end=lastOne;&lt;BR /&gt;* show me max precision +1 on Windows 10 machine;&lt;BR /&gt;format pi_x LL sumLL pred 18.15;&lt;BR /&gt;int = -1.7306;&lt;BR /&gt;coeff = .3790;&lt;BR /&gt;pi_x = exp(int+coeff*x)/(1+exp(int+coeff*x));&lt;BR /&gt;LL = y*log(pi_x)+ (1-y)*log(1-pi_x);&lt;BR /&gt;sumLL = sum(sumLL,LL);&lt;BR /&gt;if lastOne then do;&lt;BR /&gt;pred=-2*sumLL;&lt;BR /&gt;*output;&lt;BR /&gt;end;&lt;BR /&gt;retain sumLL;&lt;BR /&gt;*keep pred int coeff;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;/*&lt;BR /&gt;Gives&lt;BR /&gt;final sumLL =-5.223346904989050&lt;BR /&gt;and pred = 10.446693809978100&lt;/P&gt;
&lt;P&gt;This final sumLL is larger than the results given by PROC LOGISTIC.&lt;BR /&gt;The predicted -2 Log L is smaller - meaning a better fit.&lt;/P&gt;
&lt;P&gt;So we should have gotten intercept -1.7306 instead of -1.7308, as given by PROC LOGISTIC.&lt;/P&gt;
&lt;P&gt;I asked to see what precision we are measuring the numbers with. My machine gives 14 digits - so differences in the 8th place shouldn't be due to roundoff error.&lt;/P&gt;
&lt;P&gt;Could someone explain to me why SAS does this?&lt;BR /&gt;*/&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;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 20:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718005#M34709</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-09T20:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718016#M34710</link>
      <description>Have you tried changing the convergence criteria? &lt;BR /&gt;If none of the criteria is specified, the default is GCONV=1E–8.&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_logistic_details09.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_logistic_details09.htm&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Tue, 09 Feb 2021 20:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718016#M34710</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-09T20:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718032#M34711</link>
      <description>&lt;P&gt;Maybe I am not grasping what you are trying to show, but when I take the difference between the LL of the fitted model and your modified parameter data set, I do get a slighly higher LL for the fitted model suggesting it is the MLE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data tiny;&lt;BR /&gt;input x y;&lt;BR /&gt;lines;&lt;BR /&gt;0 0&lt;BR /&gt;0 0&lt;BR /&gt;1 1&lt;BR /&gt;2 0&lt;BR /&gt;4 0&lt;BR /&gt;5 1&lt;BR /&gt;7 0&lt;BR /&gt;8 1&lt;BR /&gt;9 1&lt;BR /&gt;10 1&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc logistic data = tiny outest=out1;&lt;BR /&gt;model y(event='1')=x;&lt;BR /&gt;effectplot;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;set out1;&lt;BR /&gt;call symput('fitll',_LNLIKE_);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data check2;&lt;BR /&gt;set tiny end=lastOne;&lt;BR /&gt;format pi_x LL sumLL pred 18.15 diff 18.15;&lt;BR /&gt;int = -1.7306;&lt;BR /&gt;coeff = .3790;&lt;BR /&gt;pi_x = exp(int+coeff*x)/(1+exp(int+coeff*x));&lt;BR /&gt;LL = y*log(pi_x)+ (1-y)*log(1-pi_x);&lt;BR /&gt;sumLL = sum(sumLL,LL);&lt;BR /&gt;if lastOne then do;&lt;BR /&gt;pred=-2*sumLL;&lt;BR /&gt;*output;&lt;BR /&gt;end;&lt;BR /&gt;retain sumLL;&lt;BR /&gt;diff=&amp;amp;fitll-sumll;*there is a positive difference here;&lt;BR /&gt;*keep pred int coeff;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc print;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 21:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718032#M34711</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-02-09T21:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718087#M34715</link>
      <description>Both these give the same answer:&lt;BR /&gt;&lt;BR /&gt;proc logistic data = tiny;&lt;BR /&gt;model y(event='1')=x/xconv= 1E-8 ;&lt;BR /&gt;effectplot;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc logistic data = tiny;&lt;BR /&gt;model y(event='1')=x/gconv=1E-12;&lt;BR /&gt;effectplot;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;which is&lt;BR /&gt;int = -1.7310;&lt;BR /&gt;coeff = 0.3791;&lt;BR /&gt;&lt;BR /&gt;This is an improvement on the original numbers.&lt;BR /&gt;&lt;BR /&gt;However this can be further improved by&lt;BR /&gt;int = -1.7311;&lt;BR /&gt;coeff = 0.3791;&lt;BR /&gt;&lt;BR /&gt;I haven't tried all the numbers in this general area. It seems like this&lt;BR /&gt;would be what I'd expect the procedure to do for me.&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Feb 2021 01:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718087#M34715</guid>
      <dc:creator>Johndberglund</dc:creator>
      <dc:date>2021-02-10T01:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718110#M34719</link>
      <description>&lt;P&gt;This might make it easier to see that the solution from PROC LOGISTIC is better.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data = tiny outest=oe;
model y(event='1')=x;
run;
data ine;
set oe;
intercept=-1.7306;
run;
proc logistic data = tiny inest=ine outest=oe2;
model y(event='1')=x / maxiter=0 itprint;
run;
proc print data=oe;
format _lnlike_ 20.16;
run;
proc print data=oe2;
format _lnlike_ 20.16;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Feb 2021 03:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718110#M34719</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-02-10T03:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718446#M34726</link>
      <description>&lt;P&gt;Ah. There I see where I can format. Copy and paste wasn't doing it.&lt;/P&gt;&lt;P&gt;Thanks for your quick responses.&lt;/P&gt;&lt;P&gt;I don't really care about accuracy to the 8th place. I wanted the four decimal digits given to be accurate. And they are at least close...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 01:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718446#M34726</guid>
      <dc:creator>Johndberglund</dc:creator>
      <dc:date>2021-02-11T01:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718461#M34727</link>
      <description>&lt;P&gt;I like how you showed a nice way to compare the two answers. I think that perhaps what I want is not possible.&lt;/P&gt;&lt;P&gt;When I see the coefficients given with four digits, I'm expecting this to be the closest four digit numbers to the "best" solution. Since we are probably iterating some system of equations, we are never 100% certain. I would like to know more about what range they are sure that the MLE is in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we copy your program, but change it to this, we again get an improvement on the first answer SAS gives.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt; ine;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;set&lt;/FONT&gt; oe;&lt;BR /&gt;intercept=&lt;FONT color="#008000"&gt;-1.7311&lt;/FONT&gt;;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;x&lt;/FONT&gt;=&lt;FONT color="#008000"&gt;0.3791&lt;/FONT&gt;;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#000080"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 03:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718461#M34727</guid>
      <dc:creator>Johndberglund</dc:creator>
      <dc:date>2021-02-11T03:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718465#M34728</link>
      <description>&lt;P&gt;If you want to focus on the log likelihood, then you should use a convergence criterion that also focuses on the log likelihood. The default convergence criterion, GCONV, focuses on the gradients. If you simply change to the FCONV criterion, which focuses on the log likelihood, then you will again get a smaller log likelihood than for the case you mention.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data = tiny outest=oe;
model y(event='1')=x / gconv=0 fconv=1e-8;
run;
data ine;
set oe;
intercept=-1.7311; x=.3791;
run;
proc logistic data = tiny inest=ine outest=oe2;
model y(event='1')=x / maxiter=0 itprint;
run;
proc print data=oe;
format _lnlike_ 20.16;
run;
proc print data=oe2;
format _lnlike_ 20.16;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Feb 2021 03:58:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718465#M34728</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-02-11T03:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC error</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718795#M34783</link>
      <description>&lt;P&gt;Thank you all for your help.&amp;nbsp; I see that my error was unconsciously expecting them to use absfconv=1e-6 (or whatever) when computing the coefficients. This came up with the same answer as fconv=1e-8 that you gave which is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;intercept = -1.7310180741539600&lt;/P&gt;&lt;P&gt;x = 0.3790914824860400&lt;/P&gt;&lt;P&gt;_LNLIKE_ = -5.2233468313521700&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I would have expected them to round off to whatever length they wanted - like&lt;/P&gt;&lt;P&gt;-1.7310 and 0.3791&lt;/P&gt;&lt;P&gt;But it's all an approximation, so we'll live with it.&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>Fri, 12 Feb 2021 01:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-error/m-p/718795#M34783</guid>
      <dc:creator>Johndberglund</dc:creator>
      <dc:date>2021-02-12T01:29:51Z</dc:date>
    </item>
  </channel>
</rss>

