public class ADFFiniteSampleDistribution extends EmpiricalDistribution
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).
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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.
|
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
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 simulationspublic 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 distributionpublic 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