<?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: ETS: How to extract more displayed tables into data sets, besides A1, D11.. in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41600#M181</link>
    <description>Hello -&lt;BR /&gt;
Here is what I would do:&lt;BR /&gt;
First determine the name of the ODS output object by using ODS TRACE statements in the LOG file - for example:&lt;BR /&gt;
ods trace on;&lt;BR /&gt;
proc x12 data=sashelp.air date=date;&lt;BR /&gt;
      var air;&lt;BR /&gt;
      transform power=0;&lt;BR /&gt;
      arima model=( (0,1,1)(0,1,1) );&lt;BR /&gt;
      estimate;&lt;BR /&gt;
run;&lt;BR /&gt;
ods trace off;&lt;BR /&gt;
Let's suppose the table you are looking for is called: "AvgFcstErr" - i.e. you should see:&lt;BR /&gt;
&lt;BR /&gt;
Output Added:&lt;BR /&gt;
-------------&lt;BR /&gt;
Name:       AvgFcstErr&lt;BR /&gt;
Label:      Average absolute percentage error in within-sample forecasts:&lt;BR /&gt;
Template:   ets.x12.AvgFcstErr&lt;BR /&gt;
Path:       X12.AIR.ModelEstimation.AvgFcstErr&lt;BR /&gt;
&lt;BR /&gt;
Then the following ODS statement will write this output object into a SAS data set called work.test:&lt;BR /&gt;
ods output AvgFcstErr=work.test;&lt;BR /&gt;
proc x12 data=sashelp.air date=date;&lt;BR /&gt;
      var air;&lt;BR /&gt;
      transform power=0;&lt;BR /&gt;
      arima model=( (0,1,1)(0,1,1) );&lt;BR /&gt;
      estimate;&lt;BR /&gt;
run;&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
Udo</description>
    <pubDate>Tue, 29 Jun 2010 12:34:20 GMT</pubDate>
    <dc:creator>udo_sas</dc:creator>
    <dc:date>2010-06-29T12:34:20Z</dc:date>
    <item>
      <title>ETS: How to extract more displayed tables into data sets, besides A1, D11..</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41599#M180</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Does anyone can help on this: &lt;BR /&gt;
&lt;BR /&gt;
When I ran X12 procedure, I need to output the forecasts table into a data set, however, the OUT= option can not do this table of ForecastCL, it marks as 'P'. the helper also said 'Data from displayed tables can be extracted into data sets using the Output Delivery System (ODS). '&lt;BR /&gt;
But when I checked the section of "Using the Output Delivery System" in the SAS/ETS User's Guide, it looks lacking of detail information. &lt;BR /&gt;
&lt;BR /&gt;
It would be very much appreciated if anyone would help on this! Thank you!</description>
      <pubDate>Tue, 29 Jun 2010 01:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41599#M180</guid>
      <dc:creator>tanyuanbin</dc:creator>
      <dc:date>2010-06-29T01:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: ETS: How to extract more displayed tables into data sets, besides A1, D11..</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41600#M181</link>
      <description>Hello -&lt;BR /&gt;
Here is what I would do:&lt;BR /&gt;
First determine the name of the ODS output object by using ODS TRACE statements in the LOG file - for example:&lt;BR /&gt;
ods trace on;&lt;BR /&gt;
proc x12 data=sashelp.air date=date;&lt;BR /&gt;
      var air;&lt;BR /&gt;
      transform power=0;&lt;BR /&gt;
      arima model=( (0,1,1)(0,1,1) );&lt;BR /&gt;
      estimate;&lt;BR /&gt;
run;&lt;BR /&gt;
ods trace off;&lt;BR /&gt;
Let's suppose the table you are looking for is called: "AvgFcstErr" - i.e. you should see:&lt;BR /&gt;
&lt;BR /&gt;
Output Added:&lt;BR /&gt;
-------------&lt;BR /&gt;
Name:       AvgFcstErr&lt;BR /&gt;
Label:      Average absolute percentage error in within-sample forecasts:&lt;BR /&gt;
Template:   ets.x12.AvgFcstErr&lt;BR /&gt;
Path:       X12.AIR.ModelEstimation.AvgFcstErr&lt;BR /&gt;
&lt;BR /&gt;
Then the following ODS statement will write this output object into a SAS data set called work.test:&lt;BR /&gt;
ods output AvgFcstErr=work.test;&lt;BR /&gt;
proc x12 data=sashelp.air date=date;&lt;BR /&gt;
      var air;&lt;BR /&gt;
      transform power=0;&lt;BR /&gt;
      arima model=( (0,1,1)(0,1,1) );&lt;BR /&gt;
      estimate;&lt;BR /&gt;
run;&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
Udo</description>
      <pubDate>Tue, 29 Jun 2010 12:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41600#M181</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2010-06-29T12:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: ETS: How to extract more displayed tables into data sets, besides A1, D11..</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41601#M182</link>
      <description>This really helps. Thank you so much for your time!</description>
      <pubDate>Wed, 30 Jun 2010 03:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/ETS-How-to-extract-more-displayed-tables-into-data-sets-besides/m-p/41601#M182</guid>
      <dc:creator>tanyuanbin</dc:creator>
      <dc:date>2010-06-30T03:37:01Z</dc:date>
    </item>
  </channel>
</rss>

