Class RankIndependenceTestTs
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.RankIndependenceTestTs
- All Implemented Interfaces:
IndependenceWrapper, HasParameters, TetradSerializable, Serializable
Rank Independence Test TS, the former name of the test now called Rank Independence Test TS Singletons.
Backward compatibility only. This class is retained under its original name so that sessions saved by
Tetrad 7.6.10 and earlier, which refer to it by this class name, continue to load. Its registration annotations
are commented out, so it does not appear in the test chooser; new work should use
RankIndependenceTestTsSingletons, to which every method delegates.
One difference from 7.6.10 is unavoidable: the old class set an effective sample size on the underlying test, and the current class offers no such setter, so that parameter is no longer applied.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short of this independence test.Returns the parameters that this search uses.getTest(DataModel dataModel, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.
-
Constructor Details
-
RankIndependenceTestTs
public RankIndependenceTestTs()No-arg constructor. Used for reflection; do not delete.
-
-
Method Details
-
getTest
Returns true iff x and y are independent conditional on z for the given data set.- Specified by:
getTestin interfaceIndependenceWrapper- Parameters:
dataModel- The data set to test independence against.parameters- The paramters of the test.- Returns:
- True iff independence holds.
-
getDescription
Returns a short of this independence test.- Specified by:
getDescriptionin interfaceIndependenceWrapper- Returns:
- This description.
-
getDataType
Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceIndependenceWrapper- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.- Specified by:
getParametersin interfaceHasParameters- Specified by:
getParametersin interfaceIndependenceWrapper- Returns:
- A list of String names of parameters.
-