public class StlDecomposition extends Object
Robert B. Cleveland et al., "STL: A Seasonal-Trend Decomposition Procedure based on Loess," in Journal of Official Statistics Vol. 6 No. 1, 1990, pp. 3-73
| Constructor and Description |
|---|
StlDecomposition(StlConfig config)
Constructs a configuration of STL function that can de-trend data.
|
| Modifier and Type | Method and Description |
|---|---|
StlResult |
decompose(double[] times,
double[] series)
Constructs the STL decomposition of a time series.
|
public StlDecomposition(StlConfig config)
n.b. The Java Loess implementation only does linear local polynomial regression, but R supports linear (degree=1), quadratic (degree=2), and a strange degree=0 option.
Also, the Java Loess implementation accepts "bandwidth", the fraction of source points closest to the current point, as opposed to integral values.
public StlResult decompose(double[] times, double[] series)
times.length == series.length
Copyright © 2016. All rights reserved.