Creating a Time Series Forecast Using IBM SPSS Modeler

download Creating a Time Series Forecast Using IBM SPSS Modeler

of 9

description

Creating a Time Series Forecast Using IBM SPSS Modeler

Transcript of Creating a Time Series Forecast Using IBM SPSS Modeler

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    1/9

    Greetings! Welcome to Venky Raos blog on Data Miningand Predictive Analytics. This blog aims to de-mystify predictive analytics for the layman.

    My blog is featured on: http://www.kdnuggets.com/ - Analytics and Data Mining Resources AND http://www.datasciencecentral.com/ - The Online

    Resource for Big Data Practitioners.

    TheMainstreamSeer

    Ads not by this site

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    1 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    2/9

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    2 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    3/9

    We then add a Type node to identify the measurement type of each of Field and assign Roles to each

    field. Note from the image below that all fields here are assigned the role of "Target" since we want to

    forecast values for each of these fields. The date field is assigned the role "None":

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    3 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    4/9

    The output now appears as follows:

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    4 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    5/9

    incorrect format. We then add a filter node to filter out the old date field with the incorrect format as

    follows:

    We then add another Type node to assign the "None" role to the new date field as follows:

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    5 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    6/9

    The Time Intervals node allows you to specify intervals and generate labels for time series data to

    be used in a Time Series modeling or a Time Plot node for estimating or forecasting. A full range of

    time intervals is supported, from seconds to years. For example, if you have a series with daily

    measurements beginning January 3, 2005, you can label records starting on that date, with the

    second row being January 4, and so on. You can also specify the periodicityfor example, five days

    per week or eight hours per day (IBM SPSS Modeler Help).

    The time interval node is used to specified specify intervals as follows:

    Before we insert the Time Series modeling node, there is one last action that needs to be taken with

    respect to the Time Interval node. This is in the Forecast tab of the Time Intervals node where we tick

    the "Extend records into the future" box and choose the number of months for which we want to

    create the forecast for:

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    6 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    7/9

    We are now ready to insert the Time Series modeling node into the modeling canvas and attach it to

    the Time Intervals node. We choose the default options as follows and Run the node:

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    7 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    8/9

    Posted by Venky Rao at 5:57 PM

    Finally, we attach a Time Plot node to the modeling nugget and evaluate the results:

    As can be seen from the above time plot, the model has created a forecast for SKU ID AAAAA

    extending the historical sales numbers by the specified 6 months.

    http://bluelineplanning.com

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    8 of 9 25-Feb-

  • 5/26/2018 Creating a Time Series Forecast Using IBM SPSS Modeler

    9/9

    Subscribe to: Post Comments (Atom)

    Awesome Inc. template. Powered by Blogger.

    Ads not by this site

    TheMainstreamSeer: Creating a time series forecast using IBM SPSS M... http://themainstreamseer.blogspot.com/2012/01/creating-time

    9 of 9 25-Feb-