|
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.Dlm
public class Dlm
This class represents a controlled DLM (controlled dynamic linear model) specification.
A controlled dynamic linear model (controlled DLM) is a generalization of the dynamic linear model (DLM) by including control variables. For t = 1, 2, ..., T, it 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),
where the observations {y_t} and states {x_t} (t >= 1) are d-dimensional and p-dimensional vectors respectively;
F_t and G_t are known matrices of dimension (d * p) and (p * p) respectively;
{v_t} and {w_t} (t >= 1) are two independent sequences of independent normal random vectors
with mean zero and known variance matrices {V_t} and {W_t} (t >= 1), respectively;
Furthermore, it is assumed that x_0 is independent of {v_t} and {w_t} and
is normally distributed with mean m_0 and covariance matrix C_0,
where m_0 is a p-dimensional vector and C_0 is a (p * p) matrix;
u_t is an m-dimensional vector of control variables, i.e., variables whose value can be regulated by the user,
in order to obtain a desired level of the state x_t; H_t is a known (p * m) matrix of coefficients.
| Constructor Summary | |
|---|---|
Dlm(Dlm that)
Copy constructor. |
|
Dlm(Vector m0,
Matrix C0,
ObservationEquation Yt,
StateEquation Xt)
Construct a (multivariate) controlled dynamic linear model. |
|
| Method Summary | |
|---|---|
ImmutableMatrix |
C0()
Get the covariance matrix of x_0. |
int |
d()
Get the dimension of observations. |
ObservationEquation |
getObservationModel()
Get the observation model. |
StateEquation |
getStateModel()
Get the state model. |
ImmutableVector |
m0()
Get the the mean of x_0. |
int |
p()
Get the dimension of states. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dlm(Vector m0,
Matrix C0,
ObservationEquation Yt,
StateEquation Xt)
m0 - the mean of x_0C0 - the covariance matrix of x_0Yt - the observation equation for the modelXt - the state equation for the modelpublic Dlm(Dlm that)
that - a (multivariate) controlled dynamic linear model| Method Detail |
|---|
public ImmutableVector m0()
public ImmutableMatrix C0()
public int d()
public int p()
public ObservationEquation getObservationModel()
public StateEquation getStateModel()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||