|
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.cointegration.JohansenTest
public class JohansenTest
This class provides the Johansen distributions of specific types up to a certain dimension. It is used to perform multiple similar Johansen tests without having to reconstruct the distributions repeatedly.
This class also provides an easy to use wrapper around the CointegrationMle object to extract useful information such as:
| Constructor Summary | |
|---|---|
JohansenTest(CointegrationMle cointegrationMle)
Construct a specific JohansenTest appropriate for a particular CointegrationMle object. |
|
JohansenTest(JohansenAsymptoticDistribution.Test test,
JohansenAsymptoticDistribution.TrendType trend,
int dim)
Construct a specific JohansenTest. |
|
JohansenTest(JohansenAsymptoticDistribution.Test test,
JohansenAsymptoticDistribution.TrendType trend,
int dim,
int nSim,
int nT)
Construct a specific JohansenTest. |
|
| Method Summary | |
|---|---|
int |
r(CointegrationMle cointegrationMle,
double level)
Get the (most likely) order of cointegration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JohansenTest(JohansenAsymptoticDistribution.Test test,
JohansenAsymptoticDistribution.TrendType trend,
int dim,
int nSim,
int nT)
test - the types of Johansen's cointegration testtrend - the types of trendsdim - the number of (real) eigenvaluesnSim - the number of simulationsnT - the number of discretizations
public JohansenTest(JohansenAsymptoticDistribution.Test test,
JohansenAsymptoticDistribution.TrendType trend,
int dim)
test - the types of Johansen's cointegration testtrend - the types of trendsdim - the number of (real) eigenvaluespublic JohansenTest(CointegrationMle cointegrationMle)
cointegrationMle - a CointegrationMle object| Method Detail |
|---|
public int r(CointegrationMle cointegrationMle,
double level)
cointegrationMle - the CointegrationMle objectlevel - the confidence level, i.e., 1 - quantile
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||