Record Class VarianceRatio.Result
java.lang.Object
java.lang.Record
com.quantfinlib.microstructure.VarianceRatio.Result
- Record Components:
ratio- VR(q): 1 = random walk, > 1 trending, < 1 revertingzStat- homoskedastic z; |z| > ~2 rejects the random walk
- Enclosing class:
VarianceRatio
-
Constructor Summary
ConstructorsConstructorDescriptionResult(double ratio, double zStat) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleratio()Returns the value of theratiorecord component.boolean|z| ≥ 2: the deviation from a random walk is not noise.final StringtoString()Returns a string representation of this record class.doublezStat()Returns the value of thezStatrecord component.
-
Constructor Details
-
Result
-
-
Method Details
-
rejectsRandomWalk
public boolean rejectsRandomWalk()|z| ≥ 2: the deviation from a random walk is not noise. -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
ratio
-
zStat
-