|
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.AdfFiniteSampleDistribution
public class AdfFiniteSampleDistribution
This class computes the finite sample 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 | |
|---|---|
boolean |
lagAdjust
indicate whether the distribution is adjusted for lags |
int |
lagOrder
the lag order used to calculate the test statistics; lagOrder = 0 yields the Dickey-Fuller distribution |
int |
nSim
the number of simulations |
int |
sampleSize
the (finite) sample size |
AugmentedDickeyFuller.TrendType |
trend
the type of augmented Dickey-Fuller (ADF) test |
int |
truncation
the number of truncated values |
| Constructor Summary | |
|---|---|
AdfFiniteSampleDistribution(int sampleSize)
Construct the finite sample distribution for the augmented Dickey-Fuller test statistics. |
|
AdfFiniteSampleDistribution(int sampleSize,
AugmentedDickeyFuller.TrendType trend)
Construct the finite sample distribution for the augmented Dickey-Fuller test statistics. |
|
AdfFiniteSampleDistribution(int sampleSize,
AugmentedDickeyFuller.TrendType trend,
boolean lagAdjust,
int lagOrder)
Construct the finite sample distribution for the augmented Dickey-Fuller test statistics. |
|
AdfFiniteSampleDistribution(int sampleSize,
AugmentedDickeyFuller.TrendType trend,
boolean lagAdjust,
int lagOrder,
int truncation,
int nSim)
Construct the finite sample 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 int sampleSize
public final AugmentedDickeyFuller.TrendType trend
public final boolean lagAdjust
public final int lagOrder
public final int truncation
public final int nSim
| Constructor Detail |
|---|
public AdfFiniteSampleDistribution(int sampleSize,
AugmentedDickeyFuller.TrendType trend,
boolean lagAdjust,
int lagOrder,
int truncation,
int nSim)
sampleSize - the (finite) sample sizetrend - the type of augmented Dickey-Fuller testlagAdjust - indicator of whether the distribution is adjusted for lagslagOrder - the lag order; lagOrder = 0 yields the Dickey-Fuller distributiontruncation - the number of truncated valuesnSim - the number of simulations
public AdfFiniteSampleDistribution(int sampleSize,
AugmentedDickeyFuller.TrendType trend,
boolean lagAdjust,
int lagOrder)
sampleSize - the (finite) sample sizetrend - the type of augmented Dickey-Fuller testlagAdjust - indicator of whether the distribution is adjusted for lagslagOrder - the lag order; lagOrder = 0 yields the Dickey-Fuller distribution
public AdfFiniteSampleDistribution(int sampleSize,
AugmentedDickeyFuller.TrendType trend)
sampleSize - the (finite) sample sizetrend - the type of augmented Dickey-Fuller testpublic AdfFiniteSampleDistribution(int sampleSize)
sampleSize - the (finite) sample size
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||