Class SemBicScoreDeterministic

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

public class SemBicScoreDeterministic extends Object implements ScoreWrapper
SemBicScoreDeterministic is a class that implements the ScoreWrapper interface. It is used to calculate the Sem BIC Score for deterministic models.
See Also:
  • Constructor Details

    • SemBicScoreDeterministic

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

    • getScore

      public Score getScore(DataModel dataSet, Parameters parameters)
      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()
      Returns a short description of the method.
      Specified by:
      getDescription in interface ScoreWrapper
      Returns:
      The description of the method.
    • getDataType

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

      public List<String> getParameters()
      Retrieves the list of parameters required for the getScore() method.
      Specified by:
      getParameters in interface HasParameters
      Specified by:
      getParameters in interface ScoreWrapper
      Returns:
      A list of String names of parameters required for the getScore() method.
    • getVariable

      public Node getVariable(String name)
      Retrieves the Node with the given name from the data set.
      Specified by:
      getVariable in interface ScoreWrapper
      Parameters:
      name - the name of the variable
      Returns:
      the Node with the specified name