<?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: Exporting data from graphs created in PROC step. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-data-from-graphs-created-in-PROC-step/m-p/535759#M22387</link>
    <description>&lt;P&gt;Yes! Most of the time at least.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You run the proc, with ODS TRACE ON before and after, find the graph name and save that as an output data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example for a different plot, I couldn't find the specific one you mentioned in the output so you likely are specifying an option somewhere. Table Names are also listed here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_varmax_details85.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_varmax_details85.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Line in red captures the data for the error distribution plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;ods output ErrorDistribution = myGraphData;&lt;/STRONG&gt;&lt;/FONT&gt;
proc varmax data=sashelp.workers plot(unpack)=(residual model forecasts);
   id date interval=month;
   model electric masonry / dify=(1,12) noint p=1;
   output lead=12;
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/251995"&gt;@Kevin_L_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to tell SAS to create a data set with the data used to create graphs in PROC steps?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in PROC VARMAX, the procedure produces a "Prediction Error Diagnostics Plot" which shows the ACF, PACF and IACF. I would like to save the data that produced those graphs into a SAS data set to create them in Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 21:32:48 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-02-14T21:32:48Z</dc:date>
    <item>
      <title>Exporting data from graphs created in PROC step.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-data-from-graphs-created-in-PROC-step/m-p/535753#M22386</link>
      <description>&lt;P&gt;Is there a way to tell SAS to create a data set with the data used to create graphs in PROC steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in PROC VARMAX, the procedure produces a "Prediction Error Diagnostics Plot" which shows the ACF, PACF and IACF. I would like to save the data that produced those graphs into a SAS data set to create them in Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 21:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-data-from-graphs-created-in-PROC-step/m-p/535753#M22386</guid>
      <dc:creator>Kevin_L_</dc:creator>
      <dc:date>2019-02-14T21:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting data from graphs created in PROC step.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-data-from-graphs-created-in-PROC-step/m-p/535759#M22387</link>
      <description>&lt;P&gt;Yes! Most of the time at least.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You run the proc, with ODS TRACE ON before and after, find the graph name and save that as an output data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example for a different plot, I couldn't find the specific one you mentioned in the output so you likely are specifying an option somewhere. Table Names are also listed here:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_varmax_details85.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_varmax_details85.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Line in red captures the data for the error distribution plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;ods output ErrorDistribution = myGraphData;&lt;/STRONG&gt;&lt;/FONT&gt;
proc varmax data=sashelp.workers plot(unpack)=(residual model forecasts);
   id date interval=month;
   model electric masonry / dify=(1,12) noint p=1;
   output lead=12;
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/251995"&gt;@Kevin_L_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to tell SAS to create a data set with the data used to create graphs in PROC steps?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in PROC VARMAX, the procedure produces a "Prediction Error Diagnostics Plot" which shows the ACF, PACF and IACF. I would like to save the data that produced those graphs into a SAS data set to create them in Excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 21:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-data-from-graphs-created-in-PROC-step/m-p/535759#M22387</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-14T21:32:48Z</dc:date>
    </item>
  </channel>
</rss>

