Package edu.cmu.tetrad.search.test
Interface IndTestGin.UncondIndTest
- All Known Implementing Classes:
IndTestGin.DistanceCorrTest,IndTestGin.PearsonCorrTest
- Enclosing class:
IndTestGin
public static interface IndTestGin.UncondIndTest
Unconditional independence backend rX ⟂ rY → p-value
-
Method Summary
-
Method Details
-
pValue
double pValue(double[] x, double[] y) Calculates the p-value to test the unconditional independence between the variables represented by the input arrays.- Parameters:
x- an array of doubles representing the first variable in the independence testy- an array of doubles representing the second variable in the independence test- Returns:
- the calculated p-value indicating the strength of evidence against the null hypothesis of independence
-
name
String name()Returns the name of the independence test.- Returns:
- a string representing the name of the independence test
-