<?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: Cross correlation function in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579184#M3607</link>
    <description>&lt;P&gt;You want the OUTCOV= option of the IDENTIFY statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_syntax04.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_syntax04.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_details40.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_details40.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2019 18:58:23 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-08-05T18:58:23Z</dc:date>
    <item>
      <title>Cross correlation function</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579172#M3606</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to calculate cross correlation function in SAS?&lt;/P&gt;&lt;P&gt;I already have graphical ccf plots from Proc ARIMA but would like to have substantial number instead of interpreting the number visually from the graph. I checked Proc Timeseries and Proc Corr but none of them seem to give such digital result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 16:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579172#M3606</guid>
      <dc:creator>RealePrimavera</dc:creator>
      <dc:date>2019-08-05T16:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cross correlation function</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579184#M3607</link>
      <description>&lt;P&gt;You want the OUTCOV= option of the IDENTIFY statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_syntax04.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_syntax04.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_details40.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_arima_details40.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 18:58:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579184#M3607</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-08-05T18:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cross correlation function</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579211#M3608</link>
      <description>&lt;P&gt;PROC TIMESERIES does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time series analyses performed by the TIMESERIES procedure include the following:&lt;/P&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;descriptive (global) statistics&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;seasonal decomposition/adjustment analysis&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;correlation analysis&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;cross-correlation analysis&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;spectral analysis&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What code did you use that didn't work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sort data=sashelp.stocks out=stocks;
by stock date;
run;

proc timeseries data=stocks &lt;FONT size="4" color="#FF6600"&gt;&lt;STRONG&gt;outcrosscorr=cross_correlations;&lt;/STRONG&gt;&lt;/FONT&gt;
where stock='IBM';
    by stock           ;
   id date interval=month;
   format date yymon7.;
   var  open close high;
&lt;FONT size="4" color="#FF6600"&gt;&lt;STRONG&gt;   crosscorr  ccf;&lt;/STRONG&gt;&lt;/FONT&gt;
run;&lt;/PRE&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/277514"&gt;@RealePrimavera&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to calculate cross correlation function in SAS?&lt;/P&gt;
&lt;P&gt;I already have graphical ccf plots from Proc ARIMA but would like to have substantial number instead of interpreting the number visually from the graph.&lt;STRONG&gt; I checked Proc Timeseries&lt;/STRONG&gt; and Proc Corr but none of them seem to give such digital result.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Aug 2019 18:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Cross-correlation-function/m-p/579211#M3608</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-05T18:59:12Z</dc:date>
    </item>
  </channel>
</rss>

