Class TrekSeparationBlocksIndependence
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.TrekSeparationBlocksIndependence
- All Implemented Interfaces:
IndependenceWrapper, HasParameters, TetradSerializable, Serializable
@TestOfIndependence(name="TSBI (Trek Separation Blocks Independence)",
command="tsbi",
dataType={Continuous,Covariance})
@LinearGaussian
public class TrekSeparationBlocksIndependence
extends Object
implements IndependenceWrapper
Wrapper for Rank independence test.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of the algorithm. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the data type of the independence test.Retrieves the description of the Fisher Z test.Retrieves the parameters of the Fisher Z test.getTest(DataModel dataModel, Parameters parameters) Gets an independence test based on the given data model and parameters.
-
Constructor Details
-
TrekSeparationBlocksIndependence
public TrekSeparationBlocksIndependence()Constructs a new instance of the algorithm.
-
-
Method Details
-
getTest
Gets an independence test based on the given data model and parameters.- Specified by:
getTestin interfaceIndependenceWrapper- Parameters:
dataModel- The data set to test independence against.parameters- The parameters of the test.- Returns:
- An IndependenceTest object.
- Throws:
IllegalArgumentException- if the dataModel is not a dataset or a covariance matrix.
-
getDescription
Retrieves the description of the Fisher Z test.- Specified by:
getDescriptionin interfaceIndependenceWrapper- Returns:
- The description of the Fisher Z test.
-
getDataType
Retrieves the data type of the independence test.- Specified by:
getDataTypein interfaceIndependenceWrapper- Returns:
- The data type of the independence test.
-
getParameters
Retrieves the parameters of the Fisher Z test.- Specified by:
getParametersin interfaceHasParameters- Specified by:
getParametersin interfaceIndependenceWrapper- Returns:
- A list of strings representing the parameters of the Fisher Z test.
-