<?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: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139111#M7289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;If you are considering using time series techniques such as exponential smoothing, then your idea of: "Use Year 1 data to create a model Apply early Year 2 data to predict December of Year 2" will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time series models are closely tied to the data which is used to estimate parameters. This is very different to techniques like OLS regression.&lt;/P&gt;&lt;P&gt;For example: you can "train" a predictive model such as a logistic regression on training data, create a score file, and then apply this score file to new data.&lt;/P&gt;&lt;P&gt;This concept does not apply to statistical forecasting models - here you should use all history available to estimate the parameters of the model - usually the most recent data is the most relevant. Also, once you have estimated the parameters, these models are usually tied to the history which&amp;nbsp; was used for estimation. For exponential smoothing models for example you can think of floating average with infinite memory but with exponentially falling weights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion the question of whether to use a predictive model or a statistical forecasting model depends on your business question which you have in mind - note that for both areas very scalable algorithms are available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share a some example data and specify how you would the results to look like, we might be able to come up with some code snippet for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2014 20:13:07 GMT</pubDate>
    <dc:creator>udo_sas</dc:creator>
    <dc:date>2014-06-17T20:13:07Z</dc:date>
    <item>
      <title>Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139107#M7285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could use some guidance in selecting the most appropriate forecasting or prediction procedure given the following data, goals, and constraints:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Very large number of observations&lt;/P&gt;&lt;P&gt;Monthly data per person (Feb thru Dec in year 1; Jan thru Mar in year 2);&lt;/P&gt;&lt;P&gt;One continuous dependent variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goal:&lt;/P&gt;&lt;P&gt;Use Year 1 data to create a model&lt;/P&gt;&lt;P&gt;Apply early Year 2 data to predict December of Year 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The monthly DV observations are not linear over time (simple downward slope - quadratic?)&lt;/P&gt;&lt;P&gt;My early attempts to predict have not been fruitful.&lt;/P&gt;&lt;P&gt;I have tried &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;PROC LOESS, FORECAST, ARIMA, X12, and TRANSREG.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the above may be right, but the constrains of such large data mean long processing times and (commonly) insufficient memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate any guidance regarding the most suitable method so I can subset the data and try again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!ss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 00:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139107#M7285</guid>
      <dc:creator>pdpat43</dc:creator>
      <dc:date>2014-06-12T00:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139108#M7286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DId you try proc esm ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 12:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139108#M7286</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-06-12T12:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139109#M7287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I'll give PROC ESM a try as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first glance, I don't see a SCORE option to predict on the Year 2 Jan-Mar values.&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Ksharp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139109#M7287</guid>
      <dc:creator>pdpat43</dc:creator>
      <dc:date>2014-06-12T21:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139110#M7288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ksharp, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ESM procedure uses a lead= option rather than a score statement.&amp;nbsp; you can see the syntax here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_esm_examples03.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_esm_examples03.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if you need any help. -Ken &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 15:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139110#M7288</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2014-06-16T15:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139111#M7289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;If you are considering using time series techniques such as exponential smoothing, then your idea of: "Use Year 1 data to create a model Apply early Year 2 data to predict December of Year 2" will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time series models are closely tied to the data which is used to estimate parameters. This is very different to techniques like OLS regression.&lt;/P&gt;&lt;P&gt;For example: you can "train" a predictive model such as a logistic regression on training data, create a score file, and then apply this score file to new data.&lt;/P&gt;&lt;P&gt;This concept does not apply to statistical forecasting models - here you should use all history available to estimate the parameters of the model - usually the most recent data is the most relevant. Also, once you have estimated the parameters, these models are usually tied to the history which&amp;nbsp; was used for estimation. For exponential smoothing models for example you can think of floating average with infinite memory but with exponentially falling weights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion the question of whether to use a predictive model or a statistical forecasting model depends on your business question which you have in mind - note that for both areas very scalable algorithms are available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share a some example data and specify how you would the results to look like, we might be able to come up with some code snippet for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 20:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139111#M7289</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2014-06-17T20:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139112#M7290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Udo,&lt;/P&gt;&lt;P&gt;Thank you for the thorough response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a summarized version of what I have available:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 192px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="64"&gt;Month&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;Year&lt;/TD&gt;&lt;TD class="xl64" width="64"&gt;Var1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;94%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;93%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;92%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;91%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;6&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;91%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;80%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;90%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;89%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;88%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;11&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;87%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;12&lt;/TD&gt;&lt;TD align="right"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;87%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;95%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;94%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;93%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;93%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;6&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;9&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;10&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;11&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;12&lt;/TD&gt;&lt;TD align="right"&gt;2014&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make matters more complicated, Var1 is a rolling YTD average.&lt;/P&gt;&lt;P&gt;Does the "Accumulate=average" subcommand account for the heavier weight toward year's end?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 22:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139112#M7290</guid>
      <dc:creator>pdpat43</dc:creator>
      <dc:date>2014-07-02T22:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting the Correct Forecasting/Prediction Proc (Feb-Dec year 1, Jan-Mar year 2)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139113#M7291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;Many thanks for sharing an example - I don't think that statistical forecasting techniques such as exponential smoothing will be applicable for your situation - due to the lack of history. After plotting your data I was thinking that you might be better off using a curve fitting technique such as LOESS to your data and try to come up with a "profile" which can be applied to future points. However, again the lack of historic data will be an issue, unless you assume that 2013 is a strong representative of 2014.&lt;/P&gt;&lt;P&gt;This e-newsletter might give you some ideas: &lt;A href="http://support.sas.com/community/newsletters/training/forecasting.html"&gt;http://support.sas.com/community/newsletters/training/forecasting.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Udo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 18:15:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Selecting-the-Correct-Forecasting-Prediction-Proc-Feb-Dec-year-1/m-p/139113#M7291</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2014-07-07T18:15:45Z</dc:date>
    </item>
  </channel>
</rss>

