|
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.distribution.univariate.EmpiricalDistribution
com.numericalmethod.suanshu.stats.test.timeseries.adf.AdfAsymptoticDistribution
public class AdfAsymptoticDistribution
This class computes the asymptotic distribution of the augmented Dickey-Fuller (ADF) test statistics.
There are three main versions of the test and thus three possible asymptotic distributions:
The p-values in R are interpolated using the values from Table 4.2, p. 103 of Banerjee et al. (1993).
| Field Summary | |
|---|---|
int |
nSim
the number of simulations |
int |
nT
the number of grid points in interval [0, 1] The bigger nT is, the finer the time discretization is, the smaller the discretization error is, and the more accurate the results are. |
AugmentedDickeyFuller.TrendType |
trend
the type of augmented Dickey-Fuller (ADF) test |
| Constructor Summary | |
|---|---|
AdfAsymptoticDistribution(AugmentedDickeyFuller.TrendType trend)
Construct the asymptotic distribution for the augmented Dickey-Fuller test statistics. |
|
AdfAsymptoticDistribution(AugmentedDickeyFuller.TrendType trend,
int nSim,
int nT,
long seed)
Construct the asymptotic distribution for the augmented Dickey-Fuller test statistics. |
|
| Method Summary |
|---|
| Methods inherited from class com.numericalmethod.suanshu.stats.distribution.univariate.EmpiricalDistribution |
|---|
cdf, density, entropy, kurtosis, mean, median, moment, quantile, skew, variance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final AugmentedDickeyFuller.TrendType trend
public final int nSim
public final int nT
The bigger nT is, the finer the time discretization is, the smaller the discretization error is, and the more accurate the results are.
| Constructor Detail |
|---|
public AdfAsymptoticDistribution(AugmentedDickeyFuller.TrendType trend,
int nSim,
int nT,
long seed)
trend - the type of augmented Dickey-Fuller testnSim - the number of simulationsnT - the number of grid points in interval [0, 1]seed - the seedpublic AdfAsymptoticDistribution(AugmentedDickeyFuller.TrendType trend)
trend - the type of augmented Dickey-Fuller test
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||