|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.signalprocessing.Innovations
public class Innovations
An innovation is the difference between the observed value of a variable at time t and the optimal forecast of that value based on information available prior to time t.
If the forecasting method is working correctly successive innovations are uncorrelated with each other, i.e., constitute a white noise time series. Thus it can be said that the innovation time series is obtained from the measurement time series by a process of 'whitening', or removing the predictable component.
| Constructor Summary | |
|---|---|
Innovations(double[] innovations)
Construct an Innovations from an array of innovations. |
|
Innovations(Innovations innovation)
Construct a new Innovations from another one. |
|
Innovations(int length)
Construct an innovation series from the standard Normal distribution. |
|
Innovations(int length,
double mu,
double var)
Construct an innovation series from a Normal distribution. |
|
Innovations(int length,
double mu,
double var,
int seed)
Construct an innovation series from a Normal distribution. |
|
Innovations(int length,
RandomNumberGenerator rng)
Construct an Innovations from a random number generator. |
|
Innovations(int length,
RandomNumberGenerator rng,
int seed)
Construct an Innovations from a random number generator. |
|
Innovations(int length,
UnivariateDistribution dist)
Construct an Innovations from a distribution. |
|
Innovations(int length,
UnivariateDistribution dist,
double mu,
double var)
Construct an Innovations from a distribution. |
|
Innovations(int length,
UnivariateDistribution dist,
double mu,
double var,
long seed)
Construct an Innovations from a distribution. |
|
| Method Summary | |
|---|---|
double[] |
toArray()
Get a copy of the innovations. |
double[] |
toArray(int length)
Get a copy of the (truncated) innovations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Innovations(double[] innovations)
innovations - an array of innovationspublic Innovations(Innovations innovation)
innovation - an Innovations
public Innovations(int length,
UnivariateDistribution dist,
double mu,
double var,
long seed)
length - the length of the innovationsdist - the distributionmu - the mean shift of the distributionvar - the variance scale of the distributionseed - the seed
public Innovations(int length,
UnivariateDistribution dist,
double mu,
double var)
length - the length of the innovationsdist - the distributionmu - the mean shift of the distributionvar - the variance scale of the distribution
public Innovations(int length,
UnivariateDistribution dist)
length - the length of the innovationsdist - the distribution
public Innovations(int length,
RandomNumberGenerator rng,
int seed)
length - the length of the innovationsrng - a random number generatorseed - the seed
public Innovations(int length,
RandomNumberGenerator rng)
length - the length of the innovationsrng - a random number generator
public Innovations(int length,
double mu,
double var,
int seed)
length - the length of the innovationsmu - the mean of the distributionvar - the variance of the distributionseed - the seed
public Innovations(int length,
double mu,
double var)
length - the length of the innovationsmu - the mean of the distributionvar - the variance of the distributionpublic Innovations(int length)
length - the length of the innovations| Method Detail |
|---|
public double[] toArray(int length)
We return only the head elements of the length specified.
length - the length of the time series of innovations
public double[] toArray()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||