<?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: How do I Forecast? Understanding, panel data, arima in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315032#M2081</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15233"&gt;@udo_sas﻿&lt;/a&gt;&amp;nbsp;that was very helpful, and even though i wasn't the original poster, thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have a great one&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2016 01:17:01 GMT</pubDate>
    <dc:creator>DarthPathos</dc:creator>
    <dc:date>2016-11-29T01:17:01Z</dc:date>
    <item>
      <title>How do I Forecast? Understanding, panel data, arima</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/314375#M2073</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We´re taking Big data analytics as an elective and have been stuck for a long time, please try to understand where we are stucked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have had applied econometrics last year where we had OLS, heterosked. time series, stationarity etc and finally ARIMA model. However, my understanding is not broad enough&amp;nbsp;to make this forecasting model (therefore, what I write might not be what is correct).&lt;/P&gt;&lt;P&gt;We have built our own input excel sheet where we have listet the APPLE stock price, date, indexed search on iphone, mac etc from google trend, and nasdaq price. Further, built logged values and diflog to returns in SAS. We have tried to build an easy model in arima, and are still working with it (trends, stationarity issues, getting the best lags etc). I am not asking you to do out assignment, but explain because we have been stuck&amp;nbsp;with this problem for a&amp;nbsp;long time..&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we have tried to make a&amp;nbsp;forecast (we did not learn the forecasting CODES last year, but building ARIMA.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried to delete 10% of the latest dates/observations for building the "test" set out from the training set. The problem is that we dont understand our teachers codes (she has explained it well and she is a good teacher), but here are some of the codes for forecasting which we just dont get correct in SAS (or dont understand where the codes gets the numbers from/what we have to calculate before making the forecasting).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Step 1 – we make a copy of the variable we want to forecast out of sample. The result is saved in the temporary data set work.a;&lt;/P&gt;&lt;P&gt;data a;&lt;/P&gt;&lt;P&gt;set data.assignment1;&lt;/P&gt;&lt;P&gt;if date &amp;lt; '1 dec2014'd then return_f = return; else return_f = .;run; quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Step 2 – we run a regression and create forecasts P_, and upper and lower confidence limits ucl_ and lcl_;&lt;/P&gt;&lt;P&gt;ods noproctitle;&lt;/P&gt;&lt;P&gt;ods graphics / imagemap=on;&lt;/P&gt;&lt;P&gt;proc reg data=WORK.A alpha=0.05 plots(only)=(diagnostics residuals &amp;nbsp; rstudentbypredicted observedbypredicted);&amp;nbsp;&lt;/P&gt;&lt;P&gt;model return_f=like1 omx /;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output out=WORK.Reg_stats p=p_ lcl=lcl_ ucl=ucl_ r=r_ student=student_ &amp;nbsp; rstudent=rstudent_;&lt;/P&gt;&lt;P&gt;run;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*step 3: creating the graph. You can drop and drag to get the first line but need to make changes to the code to obtain more than one line – a series statement for each&lt;/P&gt;&lt;P&gt;ods graphics / reset imagemap;&lt;/P&gt;&lt;P&gt;/*--SGPLOT proc statement--*/&lt;/P&gt;&lt;P&gt;proc sgplot data=WORK.REG_STATS;&amp;nbsp; ;&amp;nbsp; /*--Scatter plot settings--*/&amp;nbsp;&lt;/P&gt;&lt;P&gt;series x=Date y=return / lineattrs=(color=blue pattern=solid)transparency=0.0 &amp;nbsp; name='actual';&amp;nbsp;&lt;/P&gt;&lt;P&gt;series x=date y=P_ / lineattrs=(color=red pattern=solid) transparency=0.0 &amp;nbsp; name='predicted';&amp;nbsp;&lt;/P&gt;&lt;P&gt;series x=date y=lcl_ / lineattrs=(color=black &amp;nbsp; pattern=shortdash)transparency=0.0 name='lower';&amp;nbsp;&lt;/P&gt;&lt;P&gt;series x=date y=ucl_ / lineattrs=(color=black &amp;nbsp; pattern=shortdash)transparency=0.0 name='upper';&lt;/P&gt;&lt;P&gt;refline '01Dec2014'd / axis=x;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*--X Axis--*/&amp;nbsp; xaxis grid;&lt;/P&gt;&lt;P&gt;/*--Y Axis--*/&amp;nbsp; yaxis grid;&lt;/P&gt;&lt;P&gt;run;ods graphics / reset;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible we dont understand the basis or the coding?? Where/how is&amp;nbsp;the out sheet made and what is needed for making this forecast? And, we dont get the results or we don´t understand the basis (either or). Do we use arima, do we lag and make a simple forecast (or naive)? or what? We´re in the newest SAS (9.4) and attached is an old version of our dataset ...........HELP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 23:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/314375#M2073</guid>
      <dc:creator>Mnaes</dc:creator>
      <dc:date>2016-11-25T23:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Forecast? Understanding, panel data, arima</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/314406#M2074</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I'm also learning forecasting, I have learnt that there isn't a simple "follow these steps" type method to doing these analyses. &amp;nbsp;It takes a lot of understanding your data and a solid grasp on the different concepts and methods. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Having said that, here are some papers and presentations that I have found helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sas.com/content/dam/SAS/en_ca/User%20Group%20Presentations/Calgary-User-Group/Derby-TimeSeriesForecasting-Nov2009.pdf" target="_self"&gt;Time Series by Nate Derby&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi30/193-30.pdf" target="_self"&gt;Introducing SAS Forecasting Server&lt;/A&gt;&amp;nbsp;- may not be directly related but I found it helpful in understanding interpretation&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.okstate.edu/sas/v7/sashtml/books/ets/chap12/sect3.htm" target="_self"&gt;Introduction to Forecasting Methods&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also recommend the following books, if you can find them at your school library:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.amazon.ca/Introduction-Time-Analysis-Forecasting-Applications/dp/0127678700" target="_self"&gt;An Introduction to Time Series Analysis and Forecasting&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/store/prodBK_63980_en.html?storeCode=SAS_US" target="_self"&gt;Practical Time Series Analysis using SAS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/store/books/categories/usage-and-reference/sas-for-forecasting-time-series-second-edition/prodBK_57275_en.html" target="_self"&gt;SAS for Forecasting Time Series&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologise I can't be more help but this is something I'm still learning myself. &amp;nbsp;Good luck!&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2016 03:23:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/314406#M2074</guid>
      <dc:creator>DarthPathos</dc:creator>
      <dc:date>2016-11-26T03:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Forecast? Understanding, panel data, arima</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315005#M2080</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;
&lt;P&gt;Not sure if my response will be useful, but you may want to double check your PROC REG code.&lt;/P&gt;
&lt;P&gt;None of the variables used in your "MODEL" statement: model return_f=like1 omx /;&amp;nbsp;seem to be part of your sample data set as far as I can tell. This is probably the reason why your PROC REG code is failing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You wrote: "Where/how is&amp;nbsp;the out sheet made and what is needed for making this forecast?"&lt;/P&gt;
&lt;P&gt;On a very high level the flow should be as such:&lt;/P&gt;
&lt;P&gt;a) in step 1 you create a table called "a"&lt;/P&gt;
&lt;P&gt;b) in step 2 you will want to use this table in PROC REG - make sure that your model statement only contains variables "a" features&lt;/P&gt;
&lt;P&gt;c) in step 2 your OUTPUT statement of PROC REG creates a table called&amp;nbsp;WORK.Reg_stats&amp;nbsp;&lt;/P&gt;
&lt;P&gt;d) in step 3 you are using table&amp;nbsp;WORK.Reg_stats&amp;nbsp;in PROC SGPLOT to create a plot&lt;/P&gt;
&lt;P&gt;If you get this code to run, you may want to think about if a linear regression model is indeed the best model to run for time series data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simple forecast using ESM, which you may want to use as a reference. Instead of importing your Excel sheet I'm replicating your data in a data step and then use PROC ESM to create a forecast for the next 7 days. Note that I'm using the BACK option to compare these forecasts to data which was not used for modeling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this gives you a jump start.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Udo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; have ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;FORMAT&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Close &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;BEST12.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Date &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;DATE9.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;INFORMAT&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Close &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;BEST11.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Date &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;ANYDTDTE9.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;INPUT&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Close &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Date&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;cards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;107.955733 8/22/2016&lt;/P&gt;
&lt;P&gt;108.293993 8/23/2016&lt;/P&gt;
&lt;P&gt;107.478182 8/24/2016&lt;/P&gt;
&lt;P&gt;107.020532 8/25/2016&lt;/P&gt;
&lt;P&gt;106.393753 8/26/2016&lt;/P&gt;
&lt;P&gt;106.274363 8/29/2016&lt;/P&gt;
&lt;P&gt;105.458552 8/30/2016&lt;/P&gt;
&lt;P&gt;105.558040 8/31/2016&lt;/P&gt;
&lt;P&gt;106.184827 9/1/2016&lt;/P&gt;
&lt;P&gt;107.179719 9/2/2016&lt;/P&gt;
&lt;P&gt;107.149865 9/6/2016&lt;/P&gt;
&lt;P&gt;107.806498 9/7/2016&lt;/P&gt;
&lt;P&gt;104.981001 9/8/2016&lt;/P&gt;
&lt;P&gt;102.603209 9/9/2016&lt;/P&gt;
&lt;P&gt;104.901415 9/12/2016&lt;/P&gt;
&lt;P&gt;107.398588 9/13/2016&lt;/P&gt;
&lt;P&gt;111.199076 9/14/2016&lt;/P&gt;
&lt;P&gt;114.979668 9/15/2016&lt;/P&gt;
&lt;P&gt;114.332987 9/16/2016&lt;/P&gt;
&lt;P&gt;112.999835 9/19/2016&lt;/P&gt;
&lt;P&gt;112.989884 9/20/2016&lt;/P&gt;
&lt;P&gt;112.969990 9/21/2016&lt;/P&gt;
&lt;P&gt;114.034524 9/22/2016&lt;/P&gt;
&lt;P&gt;112.134277 9/23/2016&lt;/P&gt;
&lt;P&gt;112.303406 9/26/2016&lt;/P&gt;
&lt;P&gt;112.512333 9/27/2016&lt;/P&gt;
&lt;P&gt;113.367940 9/28/2016&lt;/P&gt;
&lt;P&gt;111.606985 9/29/2016&lt;/P&gt;
&lt;P&gt;112.472544 9/30/2016&lt;/P&gt;
&lt;P&gt;111.945245 10/3/2016&lt;/P&gt;
&lt;P&gt;112.422796 10/4/2016&lt;/P&gt;
&lt;P&gt;112.472544 10/5/2016&lt;/P&gt;
&lt;P&gt;113.308249 10/6/2016&lt;/P&gt;
&lt;P&gt;113.477379 10/7/2016&lt;/P&gt;
&lt;P&gt;115.457220 10/10/2016&lt;/P&gt;
&lt;P&gt;115.705943 10/11/2016&lt;/P&gt;
&lt;P&gt;116.740624 10/12/2016&lt;/P&gt;
&lt;P&gt;116.382470 10/13/2016&lt;/P&gt;
&lt;P&gt;117.029143 10/14/2016&lt;/P&gt;
&lt;P&gt;116.949558 10/17/2016&lt;/P&gt;
&lt;P&gt;116.869965 10/18/2016&lt;/P&gt;
&lt;P&gt;116.521754 10/19/2016&lt;/P&gt;
&lt;P&gt;116.462055 10/20/2016&lt;/P&gt;
&lt;P&gt;116.004406 10/21/2016&lt;/P&gt;
&lt;P&gt;117.049045 10/24/2016&lt;/P&gt;
&lt;P&gt;117.645979 10/25/2016&lt;/P&gt;
&lt;P&gt;114.999563 10/26/2016&lt;/P&gt;
&lt;P&gt;113.895240 10/27/2016&lt;/P&gt;
&lt;P&gt;113.139120 10/28/2016&lt;/P&gt;
&lt;P&gt;112.960039 10/31/2016&lt;/P&gt;
&lt;P&gt;110.920507 11/1/2016&lt;/P&gt;
&lt;P&gt;111.019995 11/2/2016&lt;/P&gt;
&lt;P&gt;109.830002 11/3/2016&lt;/P&gt;
&lt;P&gt;108.839996 11/4/2016&lt;/P&gt;
&lt;P&gt;110.410004 11/7/2016&lt;/P&gt;
&lt;P&gt;111.059998 11/8/2016&lt;/P&gt;
&lt;P&gt;110.879997 11/9/2016&lt;/P&gt;
&lt;P&gt;107.790001 11/10/2016&lt;/P&gt;
&lt;P&gt;108.430000 11/11/2016&lt;/P&gt;
&lt;P&gt;105.709999 11/14/2016&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;esm&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; data=have plot=forecasts back=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;7&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; lead=&lt;/FONT&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;7&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;id&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; date interval=weekday accumulate=total;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;forecast close / model=damptrend;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 23:21:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315005#M2080</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2016-11-28T23:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Forecast? Understanding, panel data, arima</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315032#M2081</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15233"&gt;@udo_sas﻿&lt;/a&gt;&amp;nbsp;that was very helpful, and even though i wasn't the original poster, thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have a great one&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 01:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315032#M2081</guid>
      <dc:creator>DarthPathos</dc:creator>
      <dc:date>2016-11-29T01:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Forecast? Understanding, panel data, arima</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315147#M2082</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don´t know if you got my "quick reply"..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, that helped a lot! Regarding your proc esm code instead of linear; if we are using our imported excel sheet instead of replicating:&lt;BR /&gt;1. What is the logic with BACK option? (How do you compare the forecasts to data which was not used for modeling? --&amp;gt; Is this how you use one "training set" and one "test set"?&lt;/P&gt;&lt;P&gt;2. If we have weekly dates and uses the logprice (return), diff and lagged values of these; how will your :&lt;/P&gt;&lt;P&gt;proc esm data=have plot=forecasts back=7 lead=7;&lt;/P&gt;&lt;P&gt;id date interval=weekday accumulate=total;&lt;/P&gt;&lt;P&gt;forecast close / model=damptrend;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Look like? I´ve tried to change the data=have to our dataset and interval=weekday to week but it is hard to understand and thus not get it correct.&lt;/P&gt;&lt;P&gt;Lastly, thank you again for your time, if you have any links/articles/sites you recommend regarding our assignment (I guess you have an idea what we are trying to do), I would be extremely thankful if you share these links/articles:).&lt;/P&gt;&lt;P&gt;Have already read a lot in the SAS book and other recourses provided by our professor.&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;Mikkel&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 10:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/315147#M2082</guid>
      <dc:creator>Mnaes</dc:creator>
      <dc:date>2016-11-29T10:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Forecast? Understanding, panel data, arima</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/316351#M2098</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;
&lt;P&gt;Please excuse for delay in responding.&lt;/P&gt;
&lt;P&gt;1. What is the logic with BACK option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check out: &lt;A href="https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/out-of-sample-range-and-holdout-sample/m-p/225886/highlight/true#M1387" target="_blank"&gt;https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/out-of-sample-range-and-holdout-sample/m-p/225886/highlight/true#M1387&lt;/A&gt; which should give you some hints.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Currently ESM does not allow you to incorporate inputs like logprice. My suggestion would be to look at UCM instead. Check out: &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_ucm_examples04.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_ucm_examples04.htm&lt;/A&gt; to get started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. You will find some additional books here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sas.com/store/books/products-solutions/sas-ets/cBooks-cbooks_productsandsolutions-cbooks_productsandsolutions_ETS-p1.html" target="_blank"&gt;https://www.sas.com/store/books/products-solutions/sas-ets/cBooks-cbooks_productsandsolutions-cbooks_productsandsolutions_ETS-p1.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would also recommend to check out: &lt;A href="https://www.otexts.org/fpp" target="_blank"&gt;https://www.otexts.org/fpp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Udo&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 18:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-Forecast-Understanding-panel-data-arima/m-p/316351#M2098</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2016-12-02T18:58:42Z</dc:date>
    </item>
  </channel>
</rss>

