|
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.stats.timeseries.linear.univariate.stationaryprocess.InnovationAlgorithm
public class InnovationAlgorithm
The innovation algorithm is an efficient way of obtaining a one step least square linear predictor for a linear time series {Xt} with known auto-covariance.
| Constructor Summary | |
|---|---|
InnovationAlgorithm(TimeSeries Xt,
AutoCovarianceFunction K)
Construct an instance of InnovationAlgorithm for a univariate time series with known auto-covariance structure. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InnovationAlgorithm(TimeSeries Xt,
AutoCovarianceFunction K)
Xt - an univariate time series, length tK - the auto-covariance function| Method Detail |
|---|
public double XtHat(int t)
t - time, ranging from 0 to t
public TimeSeries XtHat()
public double var(int t)
t - time, ranging from 0 to t
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||