---
title: Time Series Forecasting Methods | Times Series Forecasting Software
description: These STATBEANS® are a collection of JavaBeans that provide you with time series forecasting methods. Use Statgraphics as a time series forecasting software!
---

[![Statgraphics 19 logo](https://www.statgraphics.com/hs-fs/hubfs/stat19plain-01-1.png?width=2272&height=484&name=stat19plain-01-1.png "Statgraphics 19 logo")](https://www.statgraphics.com)

- [Products](https://www.statgraphics.com/product)
- [Learn](https://www.statgraphics.com/statistics-library)
- [Training](https://www.statgraphics.com/training-and-consulting)

- [Product](https://www.statgraphics.com/product) 
    - [Centurion XVIII](https://www.statgraphics.com/centurion-xvii)
    - [Sigma Express](https://www.statgraphics.com/statgraphics-sigma-express)
    - [Online](https://www.statgraphics.com/statgraphics-stratus)
    - [Web Services](https://www.statgraphics.com/statgraphics-web-services)
- [Learn](https://www.statgraphics.com/statistics-library) 
    - [Statistics Library](https://www.statgraphics.com/statistics-library)
    - [Six Sigma & Lean](https://www.statgraphics.com/six-sigma-lean)
    - [Instructional Videos](https://www.statgraphics.com/instructional-videos)
    - [Applications/ Case Studies](https://www.statgraphics.com/application)
- [Training & Consulting](https://www.statgraphics.com/training-and-consulting) 
    - [Statpoint Seminars](https://www.statgraphics.com/statpoint-seminar)
    - [Statpoint Instructors](https://www.statgraphics.com/statpoint-instructor)
    - [Training Partners](https://www.statgraphics.com/training-partners)
    - [Webinars](https://www.statgraphics.com/webinars)
- [Support](https://www.statgraphics.com/customer-support-overview)
- [Blog](https://www.statgraphics.com/blog)
- [Store](http://store.statgraphics.com)

### Statgraphics

## [Centurion](https://www.statgraphics.com/centurion-overview)

#### [LEARN MORE](https://www.statgraphics.com/centurion-overview)

### Statgraphics

## [Sigma *express*](https://www.statgraphics.com/statgraphics-sigma-express)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-sigma-express)

### Statgraphics

## [*Stratus*](https://www.statgraphics.com/statgraphics-stratus)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-stratus)

### Statgraphics

## [Web Services](https://www.statgraphics.com/statgraphics-web-services)

#### [LEARN MORE](https://www.statgraphics.com/statgraphics-web-services)

## [Statistics Library](https://www.statgraphics.com/statistics-library)

#### [LEARN MORE](https://www.statgraphics.com/statistics-library)

## [Six Sigma & Lean](https://www.statgraphics.com/six-sigma-lean)

#### [LEARN MORE](https://www.statgraphics.com/six-sigma-lean)

## [Instructional Videos](https://www.statgraphics.com/instructional-videos)

#### [LEARN MORE](https://www.statgraphics.com/instructional-videos)

## [Applications/ Case Studies](https://www.statgraphics.com/statistical-applications)

#### [LEARN MORE](https://www.statgraphics.com/statistical-applications)

## [Statgraphics Seminars](https://www.statgraphics.com/statpoint-seminar)

#### [LEARN MORE](https://www.statgraphics.com/statpoint-seminar)

## [Statgraphics Instructors](https://www.statgraphics.com/statpoint-instructor)

#### [LEARN MORE](https://www.statgraphics.com/statpoint-instructor)

## [Training Partners](https://www.statgraphics.com/public-seminar)

#### [LEARN MORE](https://www.statgraphics.com/public-seminar)

## [Webinars](https://www.statgraphics.com/webinars)

#### [LEARN MORE](https://www.statgraphics.com/webinars)

#### Statbeans

- [STATBEANS® Overview](https://www.statgraphics.com/statbeans)
- [DataSource STATBEANS®](https://www.statgraphics.com/statbeans_datasource)
- [Calculation STATBEANS®](https://www.statgraphics.com/statbeans_calculations)
- [Tabular STATBEANS®](https://www.statgraphics.com/statbeans_tabular)
- [Graphical STATBEANS®](https://www.statgraphics.com/statbeans_graphical)

[Back to Product Overviews](https://www.statgraphics.com/product)

<https://www.statgraphics.com/statbeans/calculations/time_series_forecast#anchor3>

# Calculation STATBEANS®

 

**STATBEAN Name:** TimeSeriesForecast

 

**Purpose:** Time Series Forecasting methods using values of a time series. This STATBEAN allows Statgraphics to work as time series forecasting software.

**DataSource: **any. 

**Read/Write Properties**

| **Name** | **Type** | **Description** | **Possible Values** | **Default Value** |
| --- | --- | --- | --- | --- |
| arimaAR | int | Order of nonseasonal autoregressive term in an ARIMA model. | 0-4 | 0 |
| arimaD | int | Order of nonseasonal differencing in an ARIMA model. | 0-2 | 0 |
| arimaIncludeConstant | boolean | Whether to include a constant term when estimating ARIMA models. | true,false | true |
| arimaMA | int | Order of nonseasonal moving average term in an ARIMA model. | 0-4 | 0 |
| arimaSAR | int | Order of seasonal autoregressive term in an ARIMA model. | 0-4 | 0 |
| arimaSD | int | Order of seasonal differencing in an ARIMA model. | 0-2 | 0 |
| arimaSMA | int | Order of seasonal moving average term in an ARIMA model. | 0-4 | 0 |
| backforecasting | boolean | Whether to use backforecasting when estimating ARIMA models. | true,false | true |
| confidenceLevel | double | Level of confidence for the prediction and confidence limits, as a percentage. | 0.0001-99.9999 | 95.0 |
| modelType | String | Type of model to use for forecasting. | "Random Walk","Mean","Linear Trend", "Quadratic Trend","Exponential Trend", "SCurve","MA","EWMA", "Linear Smoothing","Quadratic Smoothing", "Holts Smoothing","Winters Smoothing" "ARIMA" | "Random Walk" |
| movingAverageSpan | int | Number of terms in the MA smoother. | 2+ | 5 |
| numberOfForecasts | int | The number of time periods to forecast. | 1+ | 12 |
| optimize | boolean | Whether to optimize the exponential smoothing parameters. | true,false | true |
| samplingInterval | double | The length of time between consecutive data values. | Any double > 0.0 | 1.0 |
| seasonalLength | int | The number of time periods comprising a season. | 1+ | 1 |
| smoothingParameter1 | double | First parameter for exponential smoothing. | 0-1, exclusive. | 0.1 |
| smoothingParameter2 | double | Second parameter for exponential smoothing. | 0-1, exclusive. | 0.1 |
| smoothingParameter3 | double | Third parameter for exponential smoothing. | 0-1, exclusive. | 0.1 |
| startTime | String | The value of time associated with row 1. | Any string resulting in the proper type of value. | "1.0" |
| timeScale | String | The type of time units. | "Year","Quarter","Month","Day", "Hour","Minute","Second","Other" | "Other" |
| timeSeriesVariableName | String | The name of the column with data values to be plotted. | Any string. | "" |
| withholdForValidation | int | The number of time periods to withhold from estimation and use for validation statistics. | 0+ | 0 |

**Other Public Methods For Time Series Analysis Forecasting**

| **Name** | **Description** | **Arguments** | **Return Value** |
| --- | --- | --- | --- |
| int getArimaDegreesOfFreedom() | Returns the residual degrees of freedom for an ARIMA model. | None. | Degrees of freedom. |
| int getArimaIterations() | Returns the number of iterations used to fit an ARIMA model. | None. | Iterations. |
| double getArimaMeanSquaredError() | Returns the residual mean squared error when fitting an ARIMA model. | None. | MSE. |
| double getArimaParameterEstimate(int i) | Returns the estimate of the i-th parameter in an ARIMA model (in the order AR,MA,SAR,SMA,mean). | Index. | Estimate. |
| double getArimaStandardError(int i) | Returns the standard error of the estimate of the i-th parameter in an ARIMA model. | Index. | Standard error. |
| double getForecastData(int row) | Returns the forecasted values. | Row index (0 origin). | Forecasted value. |
| double getLowerLimit(int row) | Returns the lower confidence limits for the forecasts. | Row index (0 origin). | Lower limit. |
| double getMAE() | Returns the mean absolute error. | None. | Calculated statistic. |
| double getMAPE() | Returns the mean absolute percentage error. | None. | Calculated statistic. |
| double getME() | Returns the mean error. | None. | Calculated statistic. |
| double getMPE() | Returns the mean percentage error. | None. | Calculated statistic. |
| double getMSE() | Returns the mean squared error. | None. | Calculated statistic. |
| double getRMSE() | Returns the root mean squared error. | None. | Calculated statistic. |
| int getNumberOfMissingValuesReplaced() | Returns the number of missing values replaced with estimates. | None. | Number replaced. |
| double getOriginalData(int row) | Returns the original data values. | Row index (0 origin). | Original value. |
| double getResidual(int row) | Returns the one step ahead forecast errors. | Row index (0 origin). | Residual. |
| int getStatisticsSampleSize() | Returns the number of values used to calcualtye the statistics. | None. | Number of data values. |
| double getUpperLimit(int row) | Returns the upper confidence limits for the forecasts. | Row index (0 origin). | Upper limit. |
| double getValidationMAE() | Returns the mean absolute error during the validation period. | None. | Calculated statistic. |
| double getValidationMAPE() | Returns the mean absolute percentage error during the validation period. | None. | Calculated statistic. |
| double getValidationME() | Returns the mean error during the validation period. | None. | Calculated statistic. |
| double getValidationMPE() | Returns the mean percentage error during the validation period. | None. | Calculated statistic. |
| double getValidationMSE() | Returns the mean squared error during the validation period. | None. | Calculated statistic. |
| double getValidationRMSE() | Returns the root mean squared error during the validation period. | None. | Calculated statistic. |
| int getValidationSampleSize() | Returns the number of values used to calcualtye the validation statistics. | None. | Number of data values. |

**Time Series Forecasting Software Output Variables**

| **Name** | **Description** |
| --- | --- |
| Residual | One step ahead forecast errors. |
| Forecast | Forecasted data values. |

**Time Series Forecasting Software Code Sample**   
- see [TimeSeriesForecastPlot](https://www.statgraphics.com/statbeans/graphical/time_series_forecast_plot).

[![contact-icon](https://www.statgraphics.com/hs-fs/hubfs/stat19web/sales.png?width=50&name=sales.png "contact-icon.fw")](https://www.statgraphics.com/contact-us-dealers-global-partners)

### [CONTACT SALES](https://www.statgraphics.com/contact-us-dealers-global-partners)

Contact our Sales team today

[![youtube-icon.fw](https://www.statgraphics.com/hubfs/stat19web/watchr.png)](https://www.statgraphics.com/instructional-videos)

### [WATCH A VIDEO](https://www.statgraphics.com/instructional-videos)

Learn more about the many enhancements added to Version 19

[![download](https://www.statgraphics.com/hubfs/stat19web/downloadr.png)](https://www.statgraphics.com/download18)

### [DOWNLOAD TRIAL](https://www.statgraphics.com/download19)

Try Statgraphics 19 today for free!

[![eye icon](https://www.statgraphics.com/hubfs/stat19web/viewr.png)](https://www.statgraphics.com/download-brochure-0)

### [VIEW BROCHURE](https://www.statgraphics.com/download-brochure-0)

Discover Statgraphics 19 with our product brochure.

![contact us](https://www.statgraphics.com/hubfs/stat19web/contactr.png)

© 2025 Statgraphics Technologies, Inc.

The Plains, Virginia

[CONTACT US](https://www.statgraphics.com/contact-us-partner)

![Statgraphics download center](https://www.statgraphics.com/hs-fs/hubfs/stat19web/downloadcr.png?width=50&name=downloadcr.png)

Have you purchased Statgraphics Centurion or Sigma Express and need to download your copy?

[CLICK HERE](https://www.statgraphics.com/download-center)

- [Support](https://www.statgraphics.com/customer-support-overview)
- [Company](https://www.statgraphics.com/contact-us-dealers-global-partners)
- [Blog](https://blog.statgraphics.com)

-  
-          

-  