Class RankBicScore

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

@LinearGaussian public class RankBicScore extends Object implements ScoreWrapper
Wrapper for linear, Gaussian SEM BIC score.
Version:
$Id: $Id

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 is not offered in the algorithm chooser; new work should use the current class. The implementation is unchanged, so a restored session re-runs as before.

Author:
josephramsey
See Also:
  • Constructor Details

    • RankBicScore

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

    • getScore

      public Score getScore(DataModel dataModel, 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:
      dataModel - The data set to test independence against.
      parameters - The parameters of the test.
      Returns:
      True iff independence holds.
    • getDescription

      public String getDescription()
      Returns the description of the Sem BIC Score.
      Specified by:
      getDescription in interface ScoreWrapper
      Returns:
      the description of the Sem BIC Score
    • getDataType

      public DataType getDataType()
      Returns the data type of the current score.
      Specified by:
      getDataType in interface ScoreWrapper
      Returns:
      the data type of the score
    • getParameters

      public List<String> getParameters()
      Returns a list of parameters applicable to this method.
      Specified by:
      getParameters in interface HasParameters
      Specified by:
      getParameters in interface ScoreWrapper
      Returns:
      a list of parameters
    • getVariable

      public Node getVariable(String name)
      Retrieves the variable with the given name from the data set.
      Specified by:
      getVariable in interface ScoreWrapper
      Parameters:
      name - the name of the variable
      Returns:
      the variable with the given name, or null if no such variable exists