Class RankIndependenceTestTs

java.lang.Object
edu.cmu.tetrad.algcomparison.independence.RankIndependenceTestTs
All Implemented Interfaces:
IndependenceWrapper, HasParameters, TetradSerializable, Serializable

@LinearGaussian public class RankIndependenceTestTs extends Object implements IndependenceWrapper
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 Details

    • RankIndependenceTestTs

      public RankIndependenceTestTs()
      No-arg constructor. Used for reflection; do not delete.
  • Method Details

    • getTest

      public IndependenceTest getTest(DataModel dataModel, Parameters parameters)
      Returns true iff x and y are independent conditional on z for the given data set.
      Specified by:
      getTest in interface IndependenceWrapper
      Parameters:
      dataModel - The data set to test independence against.
      parameters - The paramters of the test.
      Returns:
      True iff independence holds.
    • getDescription

      public String getDescription()
      Returns a short of this independence test.
      Specified by:
      getDescription in interface IndependenceWrapper
      Returns:
      This description.
    • getDataType

      public DataType getDataType()
      Returns the data type that the search requires, whether continuous, discrete, or mixed.
      Specified by:
      getDataType in interface IndependenceWrapper
      Returns:
      This type.
    • getParameters

      public List<String> getParameters()
      Returns the parameters that this search uses.
      Specified by:
      getParameters in interface HasParameters
      Specified by:
      getParameters in interface IndependenceWrapper
      Returns:
      A list of String names of parameters.