Record Class AlphaValidation.RobustnessResult
java.lang.Object
java.lang.Record
com.quantfinlib.alpha.AlphaValidation.RobustnessResult
- Enclosing class:
AlphaValidation
public static record AlphaValidation.RobustnessResult(double observedMeanIc, double pValue, double nullMean, double nullStd, int trials)
extends Record
Observed mean IC against its permutation null distribution.
-
Constructor Summary
ConstructorsConstructorDescriptionRobustnessResult(double observedMeanIc, double pValue, double nullMean, double nullStd, int trials) Creates an instance of aRobustnessResultrecord 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.doublenullMean()Returns the value of thenullMeanrecord component.doublenullStd()Returns the value of thenullStdrecord component.doubleReturns the value of theobservedMeanIcrecord component.doublepValue()Returns the value of thepValuerecord component.final StringtoString()Returns a string representation of this record class.inttrials()Returns the value of thetrialsrecord component.
-
Constructor Details
-
RobustnessResult
public RobustnessResult(double observedMeanIc, double pValue, double nullMean, double nullStd, int trials) Creates an instance of aRobustnessResultrecord class.- Parameters:
observedMeanIc- the value for theobservedMeanIcrecord componentpValue- the value for thepValuerecord componentnullMean- the value for thenullMeanrecord componentnullStd- the value for thenullStdrecord componenttrials- the value for thetrialsrecord component
-
-
Method Details
-
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. -
observedMeanIc
public double observedMeanIc()Returns the value of theobservedMeanIcrecord component.- Returns:
- the value of the
observedMeanIcrecord component
-
pValue
public double pValue()Returns the value of thepValuerecord component.- Returns:
- the value of the
pValuerecord component
-
nullMean
public double nullMean()Returns the value of thenullMeanrecord component.- Returns:
- the value of the
nullMeanrecord component
-
nullStd
public double nullStd()Returns the value of thenullStdrecord component.- Returns:
- the value of the
nullStdrecord component
-
trials
public int trials()Returns the value of thetrialsrecord component.- Returns:
- the value of the
trialsrecord component
-