Record Class FaskPool.EdgeStat
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.FaskPool.EdgeStat
- Record Components:
pooledLr- the pooled left-right statistic (positive favored node1 to node2 at decision time)z- the pooled statistic divided by its bootstrap standard error, or NaN if variances were not computedq- the Cochran Q heterogeneity statistic across datasets, or NaN if variances were not computed; large values flag edges on which the datasets genuinely disagreenumDataSets- the number of datasets pooledevidenceFor- the number of evidence graphs compelling the default orientation of this pair, or zero if there was noneevidenceAgainst- the number of evidence graphs compelling the opposite orientation; zero means the evidence was unanimous, and the override then required unanimous per-dataset oppositionorigin- the provenance of the orientation decision for this edge
- Enclosing class:
FaskPool
public static record FaskPool.EdgeStat(double pooledLr, double z, double q, int numDataSets, int evidenceFor, int evidenceAgainst, FaskPool.Origin origin)
extends Record
Pooled statistics for one edge.
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionEdgeStat(double pooledLr, double z, double q, int numDataSets, int evidenceFor, int evidenceAgainst, FaskPool.Origin origin) Creates an instance of aEdgeStatrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of theevidenceAgainstrecord component.intReturns the value of theevidenceForrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thenumDataSetsrecord component.origin()Returns the value of theoriginrecord component.doublepooledLr()Returns the value of thepooledLrrecord component.doubleq()Returns the value of theqrecord component.final StringtoString()Returns a string representation of this record class.doublez()Returns the value of thezrecord component.
-
Constructor Details
-
EdgeStat
public EdgeStat(double pooledLr, double z, double q, int numDataSets, int evidenceFor, int evidenceAgainst, FaskPool.Origin origin) Creates an instance of aEdgeStatrecord class.- Parameters:
pooledLr- the value for thepooledLrrecord componentz- the value for thezrecord componentq- the value for theqrecord componentnumDataSets- the value for thenumDataSetsrecord componentevidenceFor- the value for theevidenceForrecord componentevidenceAgainst- the value for theevidenceAgainstrecord componentorigin- the value for theoriginrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
pooledLr
-
z
-
q
-
numDataSets
public int numDataSets()Returns the value of thenumDataSetsrecord component.- Returns:
- the value of the
numDataSetsrecord component
-
evidenceFor
public int evidenceFor()Returns the value of theevidenceForrecord component.- Returns:
- the value of the
evidenceForrecord component
-
evidenceAgainst
public int evidenceAgainst()Returns the value of theevidenceAgainstrecord component.- Returns:
- the value of the
evidenceAgainstrecord component
-
origin
-