The Time Series Analysis and Forecasting module

Content

Purpose and short description
Required data properties
The summary plot
The detail plots
The bottom tool bar
Settings for calculating forecasts
Basic settings for the chart generation
Advanced settings for the chart generation
Saving and exporting settings and results


Purpose and short description

In the Time Series panel, time series can be explored and forecasts can be calculated using various forecasting algorithms. This module can only be started on data which fulfill the following requirements:

  1. An order field has been defined in the Select active fields dialog. This field will be the x-axis field in the time series charts.
  2. A weight/price field has been defined in the Select active fields dialog. This field will be the y-axis field in the time series charts.
  3. Not more than two further active fields exist (plus optionally a group field). All other fields have been deactivated in the Select active fields dialog.


Required data properties

In the following sections we will explain the features and functions of the time series analysis module at the example of the MS Excel file doc/sample_data/earnings_sheet.xls. The file contains the monthly earnings sheet for a small company with two locations for the period from January 2006 to March 2009. The figure below shoes a part of this Excel sheet:

screenshot Excel spreadsheet

In the present form, the data are not really suitable for being used by a forecasting and trend analysis tool: in the Excel sheet, meta data information (such as location, date or cost category) is intermixed with number cells, empty space cells, formula cells (such as EBT or Gross Profit II) and auxiliary title or text cells. Furthermore, the sheet contains accountant's corrections at year end (such as the column 13.2006 in the picture above); these corrections have to be distributed on the 12 months of the preceding year before the corresponding time series can be used for a forecast or trend analysis. We will see that Synop Analyzer supports various preprocessing steps on this input sheet in order to overcome the aforementioned problems.

From the Synop Analyzer main menu, we select FileImport data from spreadsheet. A file chooser dialog opens up.

image file img/tsa_excel_wizard.png not found

We select the file doc/sample_data/earnings_sheet.xls in the file chooser dialog. A new Spreadsheet window opens on the main canvas:

image file img/tsa_excel_wizard.png not found

The upper right part of the window contains several input fields in which we can specify how the spreadsheet is to be used. The lower part of the window shows the effects of these specifications.

The specifications decribed above are automatically reflected by an adapted coloring scheme in the tabular representation of the currently active spreadsheet in the lower part of the screen: spreadsheet cells containing meta data information are displayed with a green background, cells with values to be distributed among other cells have a blue background, cells which are to be ignored are grayed out and 'normal' value cells are displayed with white background. Finally, we click on the Start Transformation button. An instant later, the pop-up window closes and the transformed flat file earnings_sheet.txt is written into our chosen target directory.

The generated file contains the columns Location, Month, CostCategory and Value. The new file is suitable for a statistical analysis using the entire set of Synop Analyzer functions. The time series analysis module requires that an order (timestamp) field and a weight (cost) field have been specified on the input data source.

image file img/tsa_select_active_fields.png not found

In the dialog Select Active Fields we manually define the field usage of Month as order and the usage of Value as weight. Then we press OK. After that, we re-read the data by pressing the Start button. The button Time Series Analysis is now active.


The summary plot

We click on the Time series analysis button for starting the forecasting and trending analysis. A new tab Time Series pops up:

image file img/tsa_fullscreen.png not found

The Time Series tab has three vertically arranged regions:


The detail plots

The upper part of the screen shows one single line chart for each value of the data field which has been selected as the grouping field in the toolbar. In example shown below, we have selected the field CostCategory as the grouping field; in this case, there is one single plot for each cost category.

Tip: mark a region inside one of the charts an drag a region with pressed left mouse button will enhance this region within all other charts.

image file img/tsa_detailscreen.png not found

The bottom tool bar

The displayed graphs and charts are depending on the settings in the tool bar.

image file img/tsa_toolbar.png not found

Settings for calculating forecasts

In our example, data are available until March 2009 including. We want to create a forecast until end of the year, so 9 more montha. Furthermore, we see that the cost curve over the past years shows a cycle of 12 months. So we set the two parameters Forecasts and Period to the appropriate values and reduce the trend damping factor to 0.8:

image file img/tsa_forecast.png not found

Basic settings for the chart generation

Advanced settings for the chart generation

By clicking on the button Options in the toolbar you open a pop-up window which contains advanced options and settings for displaying the time series charts:

image file img/tsa_expertparams.png not found


Saving and exporting settings and results

The analysis settings defined in the toolbar as well as the data import settings of the currently active data ource can be saved to a persistent parameter file by pressing the Save task button:

image file img/tsa_savetask.png not found

All data and charts may be exported to an Excel spreadsheet for further purposes:

image file img/tsa_savedata.png not found

The Excel file will contain separate tabs for each kind of result, i.e. summary chart, single charts, forecast summary, data sheet:

image file img/tsa_excel_export_summary.png not found

image file img/tsa_excel_export_forecast.png not found

image file img/tsa_excel_export_data.png not found