Package dev.nm.stat.cointegration
Enum JohansenAsymptoticDistribution.TrendType
- java.lang.Object
-
- java.lang.Enum<JohansenAsymptoticDistribution.TrendType>
-
- dev.nm.stat.cointegration.JohansenAsymptoticDistribution.TrendType
-
- All Implemented Interfaces:
Serializable
,Comparable<JohansenAsymptoticDistribution.TrendType>
- Enclosing class:
- JohansenAsymptoticDistribution
public static enum JohansenAsymptoticDistribution.TrendType extends Enum<JohansenAsymptoticDistribution.TrendType>
the available types of trends
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTANT
This is trend type III: constant, no linear trend:CONSTANT_RESTRICTED_TIME
This is trend type IV: constant, restricted linear trend:CONSTANT_TIME
This is trend type V: constant, linear trend:NO_CONSTANT
This is trend type I: no constant, no linear trend:RESTRICTED_CONSTANT
This is trend type II: no restricted constant, no linear trend:
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JohansenAsymptoticDistribution.TrendType
valueOf(String name)
Returns the enum constant of this type with the specified name.static JohansenAsymptoticDistribution.TrendType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CONSTANT
public static final JohansenAsymptoticDistribution.TrendType NO_CONSTANT
This is trend type I: no constant, no linear trend:μ0 = 0 μ1 = 0
-
RESTRICTED_CONSTANT
public static final JohansenAsymptoticDistribution.TrendType RESTRICTED_CONSTANT
This is trend type II: no restricted constant, no linear trend:μ0 = -Πμ μ1 = 0
-
CONSTANT
public static final JohansenAsymptoticDistribution.TrendType CONSTANT
This is trend type III: constant, no linear trend:μ0 ≠ 0 μ1 = 0
-
CONSTANT_RESTRICTED_TIME
public static final JohansenAsymptoticDistribution.TrendType CONSTANT_RESTRICTED_TIME
This is trend type IV: constant, restricted linear trend:μ0 ≠ 0 μ1 = -Πγ
-
CONSTANT_TIME
public static final JohansenAsymptoticDistribution.TrendType CONSTANT_TIME
This is trend type V: constant, linear trend:μ0 ≠ 0 μ1 ≠ 0
-
-
Method Detail
-
values
public static JohansenAsymptoticDistribution.TrendType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JohansenAsymptoticDistribution.TrendType c : JohansenAsymptoticDistribution.TrendType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JohansenAsymptoticDistribution.TrendType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-