public class CointegrationMLE
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
CointegrationMLE(SimpleMultiVariateTimeSeries ts,
boolean intercept)
Perform the Johansen MLE procedure on a multivariate time series,
using the EIGEN test, with the number of lags = 2.
|
CointegrationMLE(SimpleMultiVariateTimeSeries ts,
boolean intercept,
int p)
Perform the Johansen MLE procedure on a multivariate time series, using the EIGEN test.
|
CointegrationMLE(SimpleMultiVariateTimeSeries ts,
boolean intercept,
int p,
Matrix D)
Perform the Johansen MLE procedure on a multivariate time series.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMatrix |
alpha()
Get the set of adjusting coefficients, by columns.
|
ImmutableMatrix |
beta()
Get the set of cointegrating factors, by columns.
|
ImmutableVector |
beta(int r)
Get the r-th cointegrating factor, counting from 1.
|
ImmutableVector |
getEigenvalues()
Get the set of real eigenvalues.
|
int |
n()
Get the number of rows of the multivariate time series used in regression.
|
int |
rank()
Get the rank of the system, i.e., the number of (real) eigenvalues.
|
public CointegrationMLE(SimpleMultiVariateTimeSeries ts, boolean intercept, int p, Matrix D)
ts - a multivariate time seriesintercept - indicate whether an intercept is included in the estimationp - the number of lags, e.g., 2D - the exogenous factor matrix (excluding the intercept)public CointegrationMLE(SimpleMultiVariateTimeSeries ts, boolean intercept, int p)
ts - a multivariate time seriesintercept - indicate whether an intercept is included in the estimationp - the number of lags, e.g., 2public CointegrationMLE(SimpleMultiVariateTimeSeries ts, boolean intercept)
ts - a multivariate time seriesintercept - indicate whether an intercept is included in the estimationpublic ImmutableMatrix alpha()
public ImmutableMatrix beta()
public ImmutableVector beta(int r)
r - an indexpublic ImmutableVector getEigenvalues()
public int rank()
public int n()
ts.size - p