Public methods | ||
ChangeM | Change the matrix \(M_{ij}\) matrix. | |
ClearParameters | Reset the parameters to their default values. | |
ConstY | Gets the constant \(c_y\) for \(y\) in the model | |
DimPred | Gets the number of predetermined variables in \(y_t\) in the model | |
LiRE_Model | Creates a new LiRE model | |
M | Returns the \(M_{ij}\) matrix | |
MatrixMstr | Formats the name of an \(M_{ij}\) matrix. | |
MaxI | Gets the highest lag in the model, i.e. | |
MaxJ | Gets the highest lead in the model, i.e. | |
Mz | Gets the \(M_z\) matrix of the model | |
Prints the model equations and the values of the coefficients | ||
SetConstY | Sets up the constant \(c_y\) | |
SetM | Sets up coefficient matrices for \(y\) in the model equation | |
SetMz | Sets up the parameter \(M_z\) for the driving process \(z_t\) | |
SetVariableNames | Sets up variable names of the elements of the \(y_t\) vector. |
cDimY | Dimension of the \(y\) vector |
cDimZ | Dimension of the \(z\) vector |
cPred | Number of predetermined variables in the model. Note that the predetermined variables are assumed to be listed first in the \(y\) vector |
cInit | Boolean that specifies whether or not to initialize matrices. If set to false, it is up to the use to correctly specify matrices. Failing to do so may lead to run-time errors. |
amiCoef | Array of the form { {M1, i1, j1}, {M2, i2, j2}, ...} that specifies the coefficients for \(y\) in the model equation. The M matrices are supposed to be \(n \times n\) square matrices, where \(n\) is the dimension of \(y\). The list of matrices may also be specified as a variable number of arguments list. |
model.SetM( {A1, 0, 0}, {A2, 1, 0} ); model.SetM( {{A1, 0, 0}, {A2, 1, 0}} );
aNames | Array of strings, of dimension DimY() |
model.SetVariableNames({"x", "z"});