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

@TestOfIndependence(name="Fisher Z Test", command="fisher-z-test", dataType={Continuous,Covariance}) @LinearGaussian public class FisherZ extends Object implements IndependenceWrapper
Wrapper for Fisher Z test.
Version:
$Id: $Id
Author:
josephramsey
See Also:
  • Constructor Details

    • FisherZ

      public FisherZ()
      Constructs a new instance of the algorithm.
  • Method Details

    • getTest

      public IndependenceTest getTest(DataModel dataModel, Parameters parameters)
      Gets an independence test based on the given data model and parameters.
      Specified by:
      getTest in interface IndependenceWrapper
      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

      public String getDescription()
      Retrieves the description of the Fisher Z test.
      Specified by:
      getDescription in interface IndependenceWrapper
      Returns:
      The description of the Fisher Z test.
    • getDataType

      public DataType getDataType()
      Retrieves the data type of the independence test.
      Specified by:
      getDataType in interface IndependenceWrapper
      Returns:
      The data type of the independence test.
    • getParameters

      public List<String> getParameters()
      Retrieves the parameters of the Fisher Z test.
      Specified by:
      getParameters in interface HasParameters
      Specified by:
      getParameters in interface IndependenceWrapper
      Returns:
      A list of strings representing the parameters of the Fisher Z test.