Package edu.cmu.tetrad.search.utils
Class DeltaTetradTest
java.lang.Object
edu.cmu.tetrad.search.utils.DeltaTetradTest
Refactored implementation of the Delta Tetrad Test for Confirmatory Tetrad Analysis (CTA). This version improves
modularity, exception handling, and robustness.
Reference: Bollen and Ting, "Confirmatory Tetrad Analysis," Sociological Methodology, 1993.
- Author:
- Refactored
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaTetradTest(DataSet dataSet) Constructor for Gaussian data.DeltaTetradTest(ICovarianceMatrix covarianceMatrix) Constructor for a covariance matrix. -
Method Summary
Modifier and TypeMethodDescriptiondoublecomputePValue(TetradInt... tetrads) Computes the p-value for the given tetrads.doublecomputePValue(List<TetradInt> tetrads) Computes the p-value for the given tetrads.Returns the list of variables in the dataset.
-
Constructor Details
-
DeltaTetradTest
Constructor for Gaussian data.- Parameters:
dataSet- A continuous dataset.
-
DeltaTetradTest
Constructor for a covariance matrix.- Parameters:
covarianceMatrix- The covariance matrix.
-
-
Method Details
-
computePValue
Computes the p-value for the given tetrads.- Parameters:
tetrads- List of tetrads.- Returns:
- The p-value.
-
computePValue
Computes the p-value for the given tetrads.- Parameters:
tetrads- List of tetrads.- Returns:
- The p-value.
-
getVariables
Returns the list of variables in the dataset.- Returns:
- The variable list.
-