Class FisherZScore

java.lang.Object
edu.cmu.tetrad.algcomparison.score.FisherZScore
All Implemented Interfaces:
ScoreWrapper, HasParameters, TetradSerializable, Serializable

public class FisherZScore extends Object implements ScoreWrapper
Wrapper for Fisher Z test.
Author:
josephramsey
See Also:
  • Constructor Details

    • FisherZScore

      public FisherZScore()
  • Method Details

    • getScore

      public Score getScore(DataModel dataSet, Parameters parameters)
      Description copied from interface: ScoreWrapper
      Returns true iff x and y are independent conditional on z for the given data set.
      Specified by:
      getScore in interface ScoreWrapper
      Parameters:
      dataSet - The data set to test independence against.
      parameters - The paramters of the test.
      Returns:
      True iff independence holds.
    • getDescription

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

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

      public List<String> getParameters()
      Description copied from interface: ScoreWrapper
      Returns the parameters that this search uses.
      Specified by:
      getParameters in interface HasParameters
      Specified by:
      getParameters in interface ScoreWrapper
      Returns:
      A list of String names of parameters.
    • getVariable

      public Node getVariable(String name)
      Description copied from interface: ScoreWrapper
      Returns the variable with the given name.
      Specified by:
      getVariable in interface ScoreWrapper
      Parameters:
      name - the name.