public class MultiplicativeModel extends SimpleTimeSeries
Y[t] = T[t] * S[t] * e[t]
IntTimeTimeSeries.Entry
Constructor and Description |
---|
MultiplicativeModel(double[] trend,
double[] seasonality,
double[] randoms)
Construct a univariate time series by multiplying the components.
|
MultiplicativeModel(double[] trend,
double[] seasonality,
RandomNumberGenerator rng)
Construct a univariate time series by multiplying the components.
|
diff, drop, equals, get, hashCode, iterator, lag, lag, size, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public MultiplicativeModel(double[] trend, double[] seasonality, double[] randoms)
trend
- the trend componentseasonality
- the seasonality componentrandoms
- the irregular random componentpublic MultiplicativeModel(double[] trend, double[] seasonality, RandomNumberGenerator rng)
trend
- the trend componentseasonality
- the seasonality componentrng
- a random number generatorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.