|
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.dlm.DlmSim
public class DlmSim
This class simulates a (multivariate) controlled dynamic linear model process.
For t = 1, 2, ..., T, a controlled dynamic linear model (controlled DLM) has the following form:
y_t = F_t * x_t + v_t (Observation Equation),
x_t = G_t * x_{t - 1} + H_t * u_t + w_t (State Equation).
Given the parameters of a (multivariate) controlled DLM, the time series of control variables {u_t} and an integer T, this class simulates both the states {x_t} and observations {y_t} (t = 1, 2, ..., T) with the given controlled DLM specification.
| Constructor Summary | |
|---|---|
DlmSim(int T,
Dlm model)
Simulate a (multivariate) dynamic linear model process. |
|
DlmSim(int T,
Dlm model,
MultiVariateTimeSeries Ut)
Simulate a (multivariate) controlled dynamic linear model process. |
|
| Method Summary | |
|---|---|
SimpleMultiVariateTimeSeries |
getObservations()
Get the observations. |
SimpleMultiVariateTimeSeries |
getStates()
Get the states. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DlmSim(int T,
Dlm model,
MultiVariateTimeSeries Ut)
T - the length of the (multivariate) time series (states and observations) to generatemodel - a (multivariate) controlled dynamic linear modelUt - an m-dimensional time series of control variables (length = T)
public DlmSim(int T,
Dlm model)
T - the length of the (multivariate) time series (states and observations) to generatemodel - a (multivariate) controlled dynamic linear model| Method Detail |
|---|
public SimpleMultiVariateTimeSeries getStates()
public SimpleMultiVariateTimeSeries getObservations()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||