public class ObservationEquation
extends java.lang.Object
implements java.io.Serializable
yt = Ft * xt + vt
| Constructor and Description |
|---|
ObservationEquation(Matrix F,
Matrix V)
Construct a time-invariant an observation equation.
|
ObservationEquation(Matrix F,
Matrix V,
NormalRvg rmvnorm)
Construct a time-invariant an observation equation.
|
ObservationEquation(ObservationEquation obs)
Construct a multivariate observation equation from a univariate observation equation.
|
ObservationEquation(ObservationEquation that)
Copy constructor.
|
ObservationEquation(R1toMatrix F,
R1toMatrix V)
Construct an observation equation.
|
ObservationEquation(R1toMatrix F,
R1toMatrix V,
NormalRvg rmvnorm)
Construct an observation equation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
dimension()
Get the dimension of observation yt.
|
ImmutableMatrix |
F(int t)
Get F(t), the coefficient matrix of xt.
|
ImmutableMatrix |
V(int t)
Get V(t), the covariance matrix of vt.
|
ImmutableVector |
yt_mean(int t,
Vector xt)
Predict the next observation.
|
ImmutableMatrix |
yt_var(int t,
Matrix var_t_tlag)
Get the covariance of the apriori prediction for the next observation.
|
ImmutableVector |
yt(int t,
Vector xt)
Evaluate the observation equation.
|
public ObservationEquation(R1toMatrix F, R1toMatrix V, NormalRvg rmvnorm)
F - the coefficient matrix function of xt, a function of timeV - the covariance matrix function of vt, a function of timermvnorm - a d-dimensional standard multivariate Gaussian random vector generator (for seeding); d = the dimension of V or ytpublic ObservationEquation(R1toMatrix F, R1toMatrix V)
F - the coefficient matrix function of xt, a function of timeV - the covariance matrix function of vt, a function of timepublic ObservationEquation(Matrix F, Matrix V, NormalRvg rmvnorm)
F - the coefficient matrix of xtV - the covariance matrix of vtrmvnorm - a d-dimensional standard multivariate Gaussian random vector generator (for seeding); d = the dimension of V or ytpublic ObservationEquation(Matrix F, Matrix V)
F - the coefficient matrix of xtV - the covariance matrix of vtpublic ObservationEquation(ObservationEquation obs)
obs - a univariate observation equationpublic ObservationEquation(ObservationEquation that)
that - a ObservationEquationpublic int dimension()
public ImmutableMatrix F(int t)
t - timepublic ImmutableMatrix V(int t)
t - timepublic ImmutableVector yt_mean(int t, Vector xt)
E(y_t) = F_t * x_t
t - timext - state xtpublic ImmutableMatrix yt_var(int t, Matrix var_t_tlag)
Var(y_{t | t - 1}) = F_t * Var(x_{t | t - 1}) * F_t' + V_t
t - timevar_t_tlag - Var(y_{t | t - 1}), the variance of the apriori predictionpublic ImmutableVector yt(int t, Vector xt)
y_t = F_t * x_t + v_t
t - timext - state xt