public class DLMSim
extends java.lang.Object
yt = Ft * xt + vt,State Equation:
xt = Gt * xt-1 + Ht * ut + wt,Given the model parameters, the time series of control variables {ut} and an integer (length) T, This simulator generates both the states {xt} and observations {yt}.
| Modifier and Type | Class and Description |
|---|---|
static class |
DLMSim.Innovation
a simulated innovation
|
| Constructor and Description |
|---|
DLMSim(DLM model,
NormalRng rnorm)
Simulate a univariate controlled dynamic linear model process.
|
| Modifier and Type | Method and Description |
|---|---|
DLMSim.Innovation |
next(double u)
Get the next innovation.
|
public DLMSim.Innovation next(double u)
u - the control as of time t - 1; used not for the first innovation (initial state)