Class RankIndependenceTestTs
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.RankIndependenceTestTs
- All Implemented Interfaces:
IndependenceWrapper,HasParameters,TetradSerializable,Serializable
@TestOfIndependence(name="Rank Independence Test TS",
command="rank-test-ts",
dataType={Continuous,Covariance})
@LinearGaussian
public class RankIndependenceTestTs
extends Object
implements IndependenceWrapper
Wrapper for Rank independence test.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
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
-
RankIndependenceTestTs
public RankIndependenceTestTs()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.
-