<?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 do I output the Influence statistics in proc logistic in a dataset in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828862#M41031</link>
    <description>&lt;P&gt;Thanks for your reply but that only gives me output for the variables in my model. What I am looking for is the Influence statistics generated from the influence option in proc logistic. I want the output shown on page 5938 Chapter 76: The LOGISTIC Procedure 15.1.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 14:41:23 GMT</pubDate>
    <dc:creator>timothymbanks</dc:creator>
    <dc:date>2022-08-16T14:41:23Z</dc:date>
    <item>
      <title>How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828856#M41029</link>
      <description />
      <pubDate>Tue, 16 Aug 2022 14:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828856#M41029</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T14:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828861#M41030</link>
      <description>&lt;P&gt;All of those statistics can be requested in the OUTPUT statement which will put them into a data set. For example, this will save the the DFBeta values in data set MyInf:&lt;/P&gt;
&lt;P&gt;output data=MyInf dfbeta=_all_;&lt;/P&gt;
&lt;P&gt;See the description of the OUTPUT statement in the LOGISTIC documentation for details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can save all of them into a data set with this statement:&lt;/P&gt;
&lt;P&gt;ods output influence=MyInf;&lt;/P&gt;
&lt;P&gt;See &lt;A href="http://support.sas.com/kb/22949" target="_self"&gt;this note&lt;/A&gt; on saving results from any procedure in a data set.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828861#M41030</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-08-16T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828862#M41031</link>
      <description>&lt;P&gt;Thanks for your reply but that only gives me output for the variables in my model. What I am looking for is the Influence statistics generated from the influence option in proc logistic. I want the output shown on page 5938 Chapter 76: The LOGISTIC Procedure 15.1.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 14:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828862#M41031</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T14:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828864#M41032</link>
      <description>The ODS OUTPUT statement I showed saves all of the influence statistics like how the INFLUENCE option displays them.</description>
      <pubDate>Tue, 16 Aug 2022 14:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828864#M41032</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-08-16T14:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828873#M41033</link>
      <description>&lt;P&gt;Thanks so much for your help thus far. I am getting output but not like the output shown on&amp;nbsp;&lt;SPAN&gt;page 5938 Chapter 76: The LOGISTIC Procedure 15.1. That's the output I need for my analysis.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 15:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828873#M41033</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T15:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828875#M41034</link>
      <description>I'm afraid a page number does not help me locate what you are looking at. Please refer to the title of the example or section of the LOGISTIC documentation you are referring to.</description>
      <pubDate>Tue, 16 Aug 2022 15:33:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828875#M41034</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-08-16T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828877#M41036</link>
      <description>Hi,&lt;BR /&gt;The example is in the Logistic Procedure 15.1. The output example of the Influence statistics in on page # 5938, the example shown is  Output 76.6.2 Regression Diagnostics from the INFLUENCE Option.</description>
      <pubDate>Tue, 16 Aug 2022 15:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828877#M41036</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T15:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828878#M41037</link>
      <description>That is the example titled "Logistic Regression Diagnostics" which is what I assumed you were looking at and is why I suggested using the ODS statement: ods output influence=MyInf; . The resulting data set (MyInf) has all of the same columns of values as the displayed output that you refer to. So, I don't understand how that doesn't provide what you want.</description>
      <pubDate>Tue, 16 Aug 2022 15:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828878#M41037</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-08-16T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828880#M41038</link>
      <description>&lt;P&gt;Show the code used please.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 16:10:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828880#M41038</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-16T16:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828893#M41040</link>
      <description>&lt;P&gt;Hi StatDave,&lt;/P&gt;
&lt;P&gt;I really appreciate you going the extra mile to help. For some reason I am not getting that output in the output dataset as shown in the Logistic Procedure 15.1 on page 5938&amp;nbsp;Output 76.6.2 Regression Diagnostics from the INFLUENCE Option. Once again I appreciate your help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 16:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828893#M41040</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T16:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828895#M41041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here is the code example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods output Influence = myinf; 'Not getting same output in an output dataset as shown in Logistic Procedure 15.1 page 5938';&lt;BR /&gt;ods graphics on;&lt;BR /&gt;proc logistic data = xxx.xxx ;&lt;BR /&gt;model purch_ind (event = '1') = 'Not Real Variables'&lt;BR /&gt;a&lt;BR /&gt;b &lt;BR /&gt;c &lt;BR /&gt;d &lt;BR /&gt;e &lt;BR /&gt;f&lt;BR /&gt;g&lt;BR /&gt;/ influence aggregate scale = none;&lt;BR /&gt;/*output out = MyInf dfbeta =_all_;*/&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 17:04:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828895#M41041</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T17:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828898#M41042</link>
      <description>&lt;P&gt;Here is the full example in the documentation with the ODS OUTPUT statement added and a PROC PRINT step which shows the contents of the created data set. Try that and you should get the same basic display from PROC PRINT as from PROC LOGISTIC.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data vaso;
   length Response $12;
   input Volume Rate Response @@;
   LogVolume=log(Volume);
   LogRate=log(Rate);
   datalines;
3.70  0.825  constrict       3.50  1.09   constrict
1.25  2.50   constrict       0.75  1.50   constrict
0.80  3.20   constrict       0.70  3.50   constrict
0.60  0.75   no_constrict    1.10  1.70   no_constrict
0.90  0.75   no_constrict    0.90  0.45   no_constrict
0.80  0.57   no_constrict    0.55  2.75   no_constrict
0.60  3.00   no_constrict    1.40  2.33   constrict
0.75  3.75   constrict       2.30  1.64   constrict
3.20  1.60   constrict       0.85  1.415  constrict
1.70  1.06   no_constrict    1.80  1.80   constrict
0.40  2.00   no_constrict    0.95  1.36   no_constrict
1.35  1.35   no_constrict    1.50  1.36   no_constrict
1.60  1.78   constrict       0.60  1.50   no_constrict
1.80  1.50   constrict       0.95  1.90   no_constrict
1.90  0.95   constrict       1.60  0.40   no_constrict
2.70  0.75   constrict       2.35  0.03   no_constrict
1.10  1.83   no_constrict    1.10  2.20   constrict
1.20  2.00   constrict       0.80  3.33   constrict
0.95  1.90   no_constrict    0.75  1.90   no_constrict
1.30  1.625  constrict
;
proc logistic data=vaso;
   model Response=LogRate LogVolume/influence;
   ods output influence=in;
run;
proc print label; run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Aug 2022 17:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828898#M41042</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-08-16T17:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828900#M41043</link>
      <description>&lt;P&gt;Your reference numbers (15.1) and page numbers don't align as we don't have whatever book you're using. Can you link to the reference in the online documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_logistic_toc.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_logistic_toc.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or whatever version of SAS/STAT you have.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 17:13:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828900#M41043</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-16T17:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828909#M41046</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;Thanks for your willingness to help, but I think I got it now resolved based on StatDave's post. Regarding your reply it is the SAS/STAT&amp;nbsp;15.1 User's Guide The Logistic Procedure&amp;nbsp; downloaded from the SAS procedures. The page is 5938, the example on that page is titled&amp;nbsp;"Output 76.6.2 Regression Diagnostics from the INFLUENCE Option".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 18:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828909#M41046</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T18:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I output the Influence statistics in proc logistic in a dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828911#M41047</link>
      <description>&lt;LI-SPOILER&gt;Hi StatDave,&lt;BR /&gt;Thanks once again for your help. It worked finally!!!. Don't know why it was not outputting before but I do get the results now. Thanks a million,&lt;BR /&gt;&lt;BR /&gt;Timothy&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 16 Aug 2022 18:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-output-the-Influence-statistics-in-proc-logistic-in-a/m-p/828911#M41047</guid>
      <dc:creator>timothymbanks</dc:creator>
      <dc:date>2022-08-16T18:11:47Z</dc:date>
    </item>
  </channel>
</rss>

