Documentation of 'com.github.servicenow.ds.stats.stl.SeasonalTrendLoess' Java class
SeasonalTrendLoess
com.github.servicenow.ds.stats.stl

Class SeasonalTrendLoess



  • public class SeasonalTrendLoess
    extends java.lang.Object
    Java implementation of the Seasonal-Trend-Loess algorithm for evenly spaced data. This is basically a direct port of the RATFOR from the netlib stl package.

    Created by Jim Crotinger on 18-Apr-2016.

    • Method Detail

      • performPeriodicDecomposition

        public static SeasonalTrendLoess.Decomposition performPeriodicDecomposition(double[] data,
                                                                                    int periodicity)
        Factory method to perform a non-robust STL decomposition enforcing strict periodicity.

        Meant for diagnostic purposes only.

        Parameters:
        data - the data to analyze
        periodicity - the (suspected) periodicity of the data
        Returns:
        SeasonalTrendLoess object with the decomposition already performed.
      • performRobustPeriodicDecomposition

        public static SeasonalTrendLoess.Decomposition performRobustPeriodicDecomposition(double[] data,
                                                                                          int periodicity)
        Factory method to perform a (somewhat) robust STL decomposition enforcing strict periodicity.

        Meant for diagnostic purposes only.

        Parameters:
        data - the data to analyze
        periodicity - the (suspected) periodicity of the data
        Returns:
        SeasonalTrendLoess object with the decomposition already performed.
      • decompose

        public SeasonalTrendLoess.Decomposition decompose()
        Decompose the input data into the seasonal, trend and residual components.
        Returns:
        the STL decomposition
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.