Documentation of 'net.sourceforge.openforecast.tests.TripleExponentialSmoothingTest' Java class
TripleExponentialSmoothingTest
net.sourceforge.openforecast.tests

Class TripleExponentialSmoothingTest

  • All Implemented Interfaces:
    junit.framework.Test


    public class TripleExponentialSmoothingTest
    extends OpenForecastTestCase
    Tests the implementation of the Triple Exponential Smoothing forecasting model.
    Since:
    0.4
    • Constructor Summary

      Constructors 
      Constructor and Description
      TripleExponentialSmoothingTest(java.lang.String name)
      Constructor required by the JUnit framework.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void testAirConditioning2YearExample()
      An example taken from Wayne Winston's book.
      void testAirConditioning3YearExample()
      An example taken from Wayne Winston's book.
      void testConstantTripleExponentialSmoothing()
      A simple test of triple exponential smoothing where the observed data is constant.
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TripleExponentialSmoothingTest

        public TripleExponentialSmoothingTest(java.lang.String name)
        Constructor required by the JUnit framework.
    • Method Detail

      • testConstantTripleExponentialSmoothing

        public void testConstantTripleExponentialSmoothing()
        A simple test of triple exponential smoothing where the observed data is constant. This should result in the same constant forecast for any value of the smoothing constants.
      • testAirConditioning2YearExample

        public void testAirConditioning2YearExample()
        An example taken from Wayne Winston's book. Sales of air conditioners. This example uses only the first two years of data, then tests the extrapolation out to a third year.
      • testAirConditioning3YearExample

        public void testAirConditioning3YearExample()
        An example taken from Wayne Winston's book. Sales of air conditioners. This example uses three years of data, then tests the "forecasts" - using triple exponential smoothing - for the third year. It therefore tests the updating of the triple exponential smoothing terms as additional data becomes available.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.