Package edu.cmu.tetrad.search
Record Class MarkovCheck.MarkovCheckRecord
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.MarkovCheck.MarkovCheckRecord
- Record Components:
adInd- The Anderson-Darling p-value for the independent case.adDep- The Anderson-Darling p-value for the dependent case.ksInd- The Kolmogorov-Smirnoff p-value for the independent case.kdDep- The Kolmogorov-Smirnoff p-value for the dependent case.fishInd- The Fisher combined p-value for the independent case.fishDep- The Fisher combined p-value for the dependent case.binInd- The Binomial p-value for the independent case.binDep- The Binomial p-value for the dependent case.fracDepInd- The fraction of dependent judgments for the independent case.fracDepDep- The fraction of dependent judgments for the dependent case.numTestsInd- The number of tests for the independent case.numTestsDep- The number of tests for the dependent case.
- Enclosing class:
MarkovCheck
public static record MarkovCheck.MarkovCheckRecord(double adInd, double adDep, double ksInd, double kdDep, double fishInd, double fishDep, double binInd, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep)
extends Record
A single record for the results of the Markov check.
-
Constructor Summary
ConstructorsConstructorDescriptionMarkovCheckRecord(double adInd, double adDep, double ksInd, double kdDep, double fishInd, double fishDep, double binInd, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep) Creates an instance of aMarkovCheckRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleadDep()Returns the value of theadDeprecord component.doubleadInd()Returns the value of theadIndrecord component.doublebinDep()Returns the value of thebinDeprecord component.doublebinInd()Returns the value of thebinIndrecord component.final booleanIndicates whether some other object is "equal to" this one.doublefishDep()Returns the value of thefishDeprecord component.doublefishInd()Returns the value of thefishIndrecord component.doubleReturns the value of thefracDepDeprecord component.doubleReturns the value of thefracDepIndrecord component.final inthashCode()Returns a hash code value for this object.doublekdDep()Returns the value of thekdDeprecord component.doubleksInd()Returns the value of theksIndrecord component.intReturns the value of thenumTestsDeprecord component.intReturns the value of thenumTestsIndrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MarkovCheckRecord
public MarkovCheckRecord(double adInd, double adDep, double ksInd, double kdDep, double fishInd, double fishDep, double binInd, double binDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep) Creates an instance of aMarkovCheckRecordrecord class.- Parameters:
adInd- the value for theadIndrecord componentadDep- the value for theadDeprecord componentksInd- the value for theksIndrecord componentkdDep- the value for thekdDeprecord componentfishInd- the value for thefishIndrecord componentfishDep- the value for thefishDeprecord componentbinInd- the value for thebinIndrecord componentbinDep- the value for thebinDeprecord componentfracDepInd- the value for thefracDepIndrecord componentfracDepDep- the value for thefracDepDeprecord componentnumTestsInd- the value for thenumTestsIndrecord componentnumTestsDep- the value for thenumTestsDeprecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
adInd
public double adInd()Returns the value of theadIndrecord component.- Returns:
- the value of the
adIndrecord component
-
adDep
public double adDep()Returns the value of theadDeprecord component.- Returns:
- the value of the
adDeprecord component
-
ksInd
public double ksInd()Returns the value of theksIndrecord component.- Returns:
- the value of the
ksIndrecord component
-
kdDep
public double kdDep()Returns the value of thekdDeprecord component.- Returns:
- the value of the
kdDeprecord component
-
fishInd
public double fishInd()Returns the value of thefishIndrecord component.- Returns:
- the value of the
fishIndrecord component
-
fishDep
public double fishDep()Returns the value of thefishDeprecord component.- Returns:
- the value of the
fishDeprecord component
-
binInd
public double binInd()Returns the value of thebinIndrecord component.- Returns:
- the value of the
binIndrecord component
-
binDep
public double binDep()Returns the value of thebinDeprecord component.- Returns:
- the value of the
binDeprecord component
-
fracDepInd
public double fracDepInd()Returns the value of thefracDepIndrecord component.- Returns:
- the value of the
fracDepIndrecord component
-
fracDepDep
public double fracDepDep()Returns the value of thefracDepDeprecord component.- Returns:
- the value of the
fracDepDeprecord component
-
numTestsInd
public int numTestsInd()Returns the value of thenumTestsIndrecord component.- Returns:
- the value of the
numTestsIndrecord component
-
numTestsDep
public int numTestsDep()Returns the value of thenumTestsDeprecord component.- Returns:
- the value of the
numTestsDeprecord component
-