public class MultivariateStateEquation extends Object
| Constructor and Description |
|---|
MultivariateStateEquation(Matrix G,
Matrix W)
Constructs a time-invariant state equation without control variables.
|
MultivariateStateEquation(Matrix G,
Matrix H,
Matrix W,
NormalRVG rmvnorm)
Constructs a time-invariant state equation.
|
MultivariateStateEquation(MultivariateStateEquation that)
Copy constructor.
|
MultivariateStateEquation(R1toMatrix G,
R1toMatrix W)
Constructs a state equation without control variables.
|
MultivariateStateEquation(R1toMatrix G,
R1toMatrix H,
R1toMatrix W)
Constructs a state equation.
|
MultivariateStateEquation(R1toMatrix G,
R1toMatrix H,
R1toMatrix W,
NormalRVG rmvnorm)
Constructs a state equation.
|
MultivariateStateEquation(StateEquation states)
Constructs a multivariate state equation from a univariate state equation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
dimension()
Gets the dimension of state \(x_{t}\).
|
Matrix |
G(int t)
Gets G(t), the coefficient matrix of \(x_{t - 1}\).
|
Matrix |
H(int t)
Gets H(t), the covariance matrix of \(u_{t}\).
|
Matrix |
W(int t)
Gets W(t), the covariance matrix of \(w_{t}\).
|
Vector |
xt_mean(int t,
Vector xt_1)
Predicts the next state without control variable.
\[
E(x_t) = G_t \cdot x_\{t - 1\} + H_t \cdot u_t
\]
|
Vector |
xt_mean(int t,
Vector xt_1,
Vector ut)
Predicts the next state.
\[
E(x_t) = G_t \cdot x_\{t - 1\} + H_t \cdot u_t
\]
|
ImmutableMatrix |
xt_var(int t,
Matrix var_tlag_tlag)
Gets the variance of the apriori prediction for the next state.
\[
\operatorname{Var}(x_\{t | t - 1\}) = G_t \cdot \operatorname{Var}(x_\{t - 1| t - 1\}) \cdot G_t' + W_t
\]
|
ImmutableVector |
xt(int t,
Vector xt_1)
Evaluates the state equation without the control variable.
\[
x_t = G_t \cdot x_\{t - 1\} + H_t \cdot u_t + w_t
\]
|
ImmutableVector |
xt(int t,
Vector xt_1,
Vector ut)
Evaluates the state equation.
\[
x_t = G_t \cdot x_\{t - 1\} + H_t \cdot u_t + w_t
\]
|
public MultivariateStateEquation(R1toMatrix G, R1toMatrix H, R1toMatrix W, NormalRVG rmvnorm)
G - the coefficient matrix function of \(x_{t - 1}\)H - the coefficient matrix function of control variables \(u_{t}\); use
null if there isn't anyW - the covariance matrix function of \(w_{t}\)rmvnorm - a p-dimensional standard multivariate Gaussian random vector generator
(for seeding); p = the dimension of W or \(x_{t}\)public MultivariateStateEquation(R1toMatrix G, R1toMatrix H, R1toMatrix W)
G - the coefficient matrix function of \(x_{t - 1}\)H - the coefficient matrix function of control variables \(u_{t}\); use
null if there isn't anyW - the covariance matrix function of \(w_{t}\)public MultivariateStateEquation(R1toMatrix G, R1toMatrix W)
G - the coefficient matrix function of \(x_{t - 1}\)W - the covariance matrix function of \(w_{t}\)public MultivariateStateEquation(Matrix G, Matrix H, Matrix W, NormalRVG rmvnorm)
G - the coefficient matrix function of \(x_{t - 1}\)H - the coefficient matrix function of control variables \(u_{t}\); use
null if there isn't anyW - the covariance matrix function of \(w_{t}\)rmvnorm - a p-dimensional standard multivariate Gaussian random vector generator;
p = the dimension of W or \(x_{t}\)public MultivariateStateEquation(Matrix G, Matrix W)
G - the coefficient matrix function of \(x_{t - 1}\)W - the covariance matrix function of \(w_{t}\)public MultivariateStateEquation(StateEquation states)
states - a univariate state equationpublic MultivariateStateEquation(MultivariateStateEquation that)
that - a StateEquationpublic int dimension()
public Matrix G(int t)
t - timepublic Matrix H(int t)
t - timepublic Matrix W(int t)
t - timepublic Vector xt_mean(int t, Vector xt_1, Vector ut)
t - timext_1 - x lag \(x_{t - 1}\)ut - the control variable \(u_{t}\)public Vector xt_mean(int t, Vector xt_1)
t - timext_1 - x lag \(x_{t - 1}\)public ImmutableMatrix xt_var(int t, Matrix var_tlag_tlag)
t - timevar_tlag_tlag - Var(x_{t - 1 | t - 1}), the covariance of the posterior updatepublic ImmutableVector xt(int t, Vector xt_1, Vector ut)
t - timext_1 - x lag \(x_{t - 1}\)ut - the control variable \(u_{t}\)public ImmutableVector xt(int t, Vector xt_1)
t - timext_1 - x lag \(x_{t - 1}\)Copyright © 2010-2026 NM Group. All Rights Reserved.