public class InnovationAlgorithm
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
InnovationAlgorithm(TimeSeries Xt,
AutoCovarianceFunction K)
Construct an instance of InnovationAlgorithm for a univariate time series with known auto-covariance structure.
|
| Modifier and Type | Method and Description |
|---|---|
double |
var(int t)
Get the mean squared error for prediction errors at time t for X^t+1, i.e.,
E(X_(t+1) - X^_(t+1))
|
TimeSeries |
XtHat()
Get all the one-step predictions X^t+1, t ∈ [0, t]
|
double |
XtHat(int t)
Get the one-step prediction X^t+1.
|
public InnovationAlgorithm(TimeSeries Xt, AutoCovarianceFunction K)
Xt - an univariate time series, length tK - the auto-covariance functionpublic double XtHat(int t)
t - time, ranging from 0 to tpublic TimeSeries XtHat()
public double var(int t)
t - time, ranging from 0 to t