<?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 Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/368568#M19339</link>
    <description>&lt;P&gt;I am using SAS 9.4.&lt;/P&gt;&lt;P&gt;Does PROC HPLOGISTIC has an option similar to OUTEST of PROC LOGISTIC?&lt;/P&gt;&lt;P&gt;I know HPLOGISTIC has CODE option which would produce the SAS code to score a future datset, but my concern is to output the parameter estimates in a format easily manipulatable by a downstream process for automation.&lt;/P&gt;&lt;P&gt;Could this be done in HPLOGISTIC, say by using an ODS statement to capture them?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 03:50:57 GMT</pubDate>
    <dc:creator>clarkchong1</dc:creator>
    <dc:date>2017-06-20T03:50:57Z</dc:date>
    <item>
      <title>Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/368568#M19339</link>
      <description>&lt;P&gt;I am using SAS 9.4.&lt;/P&gt;&lt;P&gt;Does PROC HPLOGISTIC has an option similar to OUTEST of PROC LOGISTIC?&lt;/P&gt;&lt;P&gt;I know HPLOGISTIC has CODE option which would produce the SAS code to score a future datset, but my concern is to output the parameter estimates in a format easily manipulatable by a downstream process for automation.&lt;/P&gt;&lt;P&gt;Could this be done in HPLOGISTIC, say by using an ODS statement to capture them?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 03:50:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/368568#M19339</guid>
      <dc:creator>clarkchong1</dc:creator>
      <dc:date>2017-06-20T03:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/368573#M19340</link>
      <description>&lt;P&gt;Yes, In fact it's the same name as proc logistic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HPLOGISTIC also has the OUTEST option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 04:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/368573#M19340</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-20T04:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369001#M19356</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;While HPLOGISTIC also has OUTEST, it seems that the functionality is completely different. The OUTEST switch doesn't allow specification of a output estimate dataset. For example, the following code would fail:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC HPLOGISTIC DATA=&amp;amp;in_ds._binned_data OUTEST=parms;&lt;/P&gt;&lt;P&gt;TITLE &amp;amp;in_title;&lt;/P&gt;&lt;P&gt;CLASS &amp;amp;in_independent_class;&lt;/P&gt;&lt;P&gt;MODEL &amp;amp;in_dependent(DESCENDING)=&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%DO&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; j=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%TO&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;in_num_cont;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;var&amp;amp;j._miss_ind &lt;/FONT&gt;&lt;FONT color="#008000" face="Courier New" size="2"&gt;/* NOT Commented out for comparison */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%DO&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; k=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%TO&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; &amp;amp;in_num_bins;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;var&amp;amp;j._bin&amp;amp;k._ind&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%END&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;%END&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 03:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369001#M19356</guid>
      <dc:creator>clarkchong1</dc:creator>
      <dc:date>2017-06-21T03:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369007#M19357</link>
      <description>&lt;P&gt;Pretty sure you specify OUTEST in the HPLOGISTIC statement and capture the table using ODS output statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 05:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369007#M19357</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-21T05:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369130#M19363</link>
      <description>&lt;P&gt;It's always best to use one of the SASHELP sample data sets so that everyone can access the data and run the code.&lt;/P&gt;
&lt;P&gt;You are correct: that the OUTEST&amp;nbsp;option in HPLOGISTIC works differently than for PROC LOGISTIC. However, what Reeza&amp;nbsp;is saying is that you can use the statement&lt;/P&gt;
&lt;P&gt;ODS OUTPUT ParameterEstimates=HPLogiPE;&lt;/P&gt;
&lt;P&gt;to convert the ParameterEstimates table to a SAS data set. See the article &lt;A href="http://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_self"&gt;"ODS OUTPUT: Store any statistic created by any SAS procedure."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the comparison:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=sashelp.class outest=LogiPE;
model sex = height weight age;
run;

proc print data=LogiPE; run;

proc hplogistic data=sashelp.class outest;
ods output ParameterEstimates=HPLogiPE;
model sex = height weight age;
run;

proc print data=HPLogiPE; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Notice that if you want the HPLOGISTIC output to exactly match the LOGISTIC output, you can use PROC TRANSPOSE, &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_hplogistic_syntax01.htm" target="_self"&gt;as shown in the documentation:&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc transpose data=HPLogiPE out=inest(type=EST) label=_TYPE_;
   label Estimate=PARMS;
   var Estimate;
   id ParmName;
run;

proc print data=inest; run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Jun 2017 13:09:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369130#M19363</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-06-21T13:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can PROC HPLOGISTIC output Parameter Estimate to a SAS dataset</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369353#M19375</link>
      <description>&lt;P&gt;Thank you! It worked beautifully!&lt;/P&gt;&lt;P&gt;Thanks also for telling me about the SASHELP library, I didn't previously know what is in it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;A follow-up question, does HPLOGISTIC has OUTMODEL or this can be implemented using ODS as well? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 22:12:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-PROC-HPLOGISTIC-output-Parameter-Estimate-to-a-SAS-dataset/m-p/369353#M19375</guid>
      <dc:creator>clarkchong1</dc:creator>
      <dc:date>2017-06-21T22:12:50Z</dc:date>
    </item>
  </channel>
</rss>

