public class ObservationEquation extends Object
| Constructor and Description |
|---|
ObservationEquation(double F,
double V)
Construct a time-invariant an observation equation.
|
ObservationEquation(double F,
double V,
RandomStandardNormalGenerator rnorm)
Construct a time-invariant an observation equation.
|
ObservationEquation(ObservationEquation that)
Copy constructor.
|
ObservationEquation(UnivariateRealFunction F,
UnivariateRealFunction V)
Construct an observation equation.
|
ObservationEquation(UnivariateRealFunction F,
UnivariateRealFunction V,
RandomStandardNormalGenerator rnorm)
Construct an observation equation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
dimension()
Get the dimension of observation \(y_{t}\).
|
double |
F(int t)
Get F(t), the coefficient of \(x_{t}\).
|
double |
V(int t)
Get V(t), the variance of \(v_{t}\).
|
double |
yt_mean(int t,
double xt)
Predict the next observation.
\[
E(y_t) = F_t \cdot x_t
\]
|
double |
yt_var(int t,
double var_t_tlag)
Get the variance of the apriori prediction for the next observation.
\[
\operatorname{Var}(y_\{t | t - 1\}) = F_t \cdot \operatorname{Var}(x_\{t | t - 1\}) \cdot F_t' + V_t
\]
|
double |
yt(int t,
double xt)
Evaluate the observation equation.
\[
y_t = F_t \cdot x_t + v_t
\]
|
public ObservationEquation(UnivariateRealFunction F, UnivariateRealFunction V, RandomStandardNormalGenerator rnorm)
F - the coefficient function of \(x_{t}\), a function of timeV - the variance function of \(v_{t}\), a function of timernorm - a standard Gaussian random number generator (for seeding)public ObservationEquation(UnivariateRealFunction F, UnivariateRealFunction V)
F - the coefficient function of \(x_{t}\), a function of timeV - the variance function of \(v_{t}\), a function of timepublic ObservationEquation(double F,
double V,
RandomStandardNormalGenerator rnorm)
F - the coefficient of \(x_{t}\)V - the variance of \(v_{t}\)rnorm - a standard Gaussian random number generator (for seeding)public ObservationEquation(double F,
double V)
F - the coefficient of \(x_{t}\)V - the variance of \(v_{t}\)public ObservationEquation(ObservationEquation that)
that - a ObservationEquationpublic int dimension()
public double F(int t)
t - timepublic double V(int t)
t - timepublic double yt_mean(int t,
double xt)
t - timext - state \(x_{t}\)public double yt_var(int t,
double var_t_tlag)
t - timevar_t_tlag - Var(y_{t | t - 1}), the variance of the apriori predictionpublic double yt(int t,
double xt)
t - timext - state \(x_{t}\)Copyright © 2010-2026 NM Group. All Rights Reserved.