<?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: Access T-Value form proc autoreg step in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749923#M235776</link>
    <description>&lt;P&gt;See the explanation and examples at &lt;A href="https://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;</description>
    <pubDate>Wed, 23 Jun 2021 17:22:11 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-06-23T17:22:11Z</dc:date>
    <item>
      <title>Access T-Value form proc autoreg step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749919#M235772</link>
      <description>&lt;P&gt;Hi! I'm doing a proc autoreg statement and I want to access the T-Value of my first variable. I'm performing the Regression on every month in the dataset (hpid is the id of the first month). Using the outest statement I can get my variable log_hv_iv_diff for every month into one dataset, but I cant figure out how to access the associated T-Value. It would be the best if I could write teh T-Value into the same dataset. Can anyone help? Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (26).png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60667i2888716D1FB6366F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot (26).png" alt="Screenshot (26).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;proc sort data=vola_deciles out=pre_processed_data;&lt;BR /&gt;by hpid cp_flag;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc autoreg data=pre_processed_data plots=none outest=results_reg NOPRINT;&lt;BR /&gt;model &amp;amp;return=log_hv_iv_diff / covest=neweywest;&lt;BR /&gt;by hpid cp_flag;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc delete data=pre_processed_data;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 16:59:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749919#M235772</guid>
      <dc:creator>russell23</dc:creator>
      <dc:date>2021-06-23T16:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Access T-Value form proc autoreg step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749920#M235773</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods trace on;
proc autoreg data=pre_processed_data plots=none outest=results_reg NOPRINT;
model &amp;amp;return=log_hv_iv_diff / covest=neweywest;
by hpid cp_flag;
run;
ods trace off;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will write to your LOG the actual name of the output you want. (If I could read German, I could probably figure it out from the SAS documentation).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have that actual name, you can then do the following&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc autoreg data=pre_processed_data plots=none outest=results_reg NOPRINT;
ods output actualname = somedatasetname;
model &amp;amp;return=log_hv_iv_diff / covest=neweywest;
by hpid cp_flag;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jun 2021 17:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749920#M235773</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-23T17:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Access T-Value form proc autoreg step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749923#M235776</link>
      <description>&lt;P&gt;See the explanation and examples at &lt;A href="https://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;</description>
      <pubDate>Wed, 23 Jun 2021 17:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/749923#M235776</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-06-23T17:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Access T-Value form proc autoreg step</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/751410#M236543</link>
      <description>&lt;P&gt;Thanks to PaigeMiller and Rick_SAS! Both of your answers really helped and it didn't take me long to finish the task!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 08:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-T-Value-form-proc-autoreg-step/m-p/751410#M236543</guid>
      <dc:creator>russell23</dc:creator>
      <dc:date>2021-07-01T08:12:28Z</dc:date>
    </item>
  </channel>
</rss>

