Record Class TwoIndicatorTest.Result
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.rlcd.TwoIndicatorTest.Result
- Record Components:
answer- the answer.n12- the normalized statistic that is 0 if X1 --> X2.n21- the normalized statistic that is 0 if X2 --> X1.n- the number of complete rows used.
- Enclosing class:
TwoIndicatorTest
public static record TwoIndicatorTest.Result(TwoIndicatorTest.Answer answer, double n12, double n21, int n)
extends Record
The result of the test.
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionResult(TwoIndicatorTest.Answer answer, double n12, double n21, int n) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionanswer()Returns the value of theanswerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intn()Returns the value of thenrecord component.doublen12()Returns the value of then12record component.doublen21()Returns the value of then21record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
answer
-
n12
-
n21
-
n
-