public enum TrendType extends Enum<TrendType>
Enum Constant and Description |
---|
CONSTANT
test for a unit root with drift
|
CONSTANT_TIME
test for a unit root with
drift and deterministic time trend
|
NO_CONSTANT
test for a unit root without drift or time trend
|
Modifier and Type | Method and Description |
---|---|
ADFDistribution |
getDistribution(int sampleSize)
Get an ADF distribution per sample size.
|
static TrendType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrendType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrendType NO_CONSTANT
public static final TrendType CONSTANT
public static final TrendType CONSTANT_TIME
public static TrendType[] values()
for (TrendType c : TrendType.values()) System.out.println(c);
public static TrendType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ADFDistribution getDistribution(int sampleSize)
sampleSize
- the sample sizeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.