Record Class SweepResult.MarkovStats
java.lang.Object
java.lang.Record
edu.cmu.tetrad.algcomparison.sweep.SweepResult.MarkovStats
- Record Components:
adInd- Anderson-Darling p for the implied independencies.adDep- Anderson-Darling p for the implied dependencies.ksInd- Kolmogorov-Smirnov p for the implied independencies.ksDep- Kolmogorov-Smirnov p for the implied dependencies.binomialInd- binomial p for the implied independencies.binomialDep- binomial p for the implied dependencies.fracDepInd- fraction of implied independencies judged dependent.fracDepDep- fraction of implied dependencies judged dependent.numTestsInd- number of implied-independence facts tested.numTestsDep- number of implied-dependence facts tested.
- Enclosing class:
SweepResult
public static record SweepResult.MarkovStats(double adInd, double adDep, double ksInd, double ksDep, double binomialInd, double binomialDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep)
extends Record
Markov-check statistics for a point graph, mirroring the statistics returned by
MarkovCheck: for the implied independencies ("Ind") and implied dependencies
("Dep") respectively, the Anderson-Darling p-value for uniformity of the local p-values, the
Kolmogorov-Smirnov p-value, the binomial p-value, the fraction of facts judged dependent, and the number of
facts tested. For a well-specified model, adInd should not be small (the independence p-values should look
uniform) and fracDepDep should be large (implied dependencies should be detected).- Version:
- $Id: $Id
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionMarkovStats(double adInd, double adDep, double ksInd, double ksDep, double binomialInd, double binomialDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep) Creates an instance of aMarkovStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleadDep()Returns the value of theadDeprecord component.doubleadInd()Returns the value of theadIndrecord component.doubleReturns the value of thebinomialDeprecord component.doubleReturns the value of thebinomialIndrecord component.final booleanIndicates whether some other object is "equal to" this one.doubleReturns the value of thefracDepDeprecord component.doubleReturns the value of thefracDepIndrecord component.final inthashCode()Returns a hash code value for this object.doubleksDep()Returns the value of theksDeprecord 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
-
MarkovStats
public MarkovStats(double adInd, double adDep, double ksInd, double ksDep, double binomialInd, double binomialDep, double fracDepInd, double fracDepDep, int numTestsInd, int numTestsDep) Creates an instance of aMarkovStatsrecord class.- Parameters:
adInd- the value for theadIndrecord componentadDep- the value for theadDeprecord componentksInd- the value for theksIndrecord componentksDep- the value for theksDeprecord componentbinomialInd- the value for thebinomialIndrecord componentbinomialDep- the value for thebinomialDeprecord componentfracDepInd- the value for thefracDepIndrecord componentfracDepDep- the value for thefracDepDeprecord componentnumTestsInd- the value for thenumTestsIndrecord componentnumTestsDep- the value for thenumTestsDeprecord 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. -
adInd
-
adDep
-
ksInd
-
ksDep
-
binomialInd
public double binomialInd()Returns the value of thebinomialIndrecord component.- Returns:
- the value of the
binomialIndrecord component
-
binomialDep
public double binomialDep()Returns the value of thebinomialDeprecord component.- Returns:
- the value of the
binomialDeprecord 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
-