Class MVPBicScore

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

@Experimental @Score(name="Mixed Variable Polynomial BIC Score", command="mvp-bic-score", dataType=Mixed) public class MVPBicScore extends Object implements ScoreWrapper
Wrapper for MVP BIC Score.
Version:
$Id: $Id
Author:
Bryan Andrews
See Also:
  • Constructor Details

    • MVPBicScore

      public MVPBicScore()
      Constructs a new instance of the score.
  • 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.

      Returns the MVP BIC score.

      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 of this independence test.

      Returns the description of the MVP BIC score.

      Specified by:
      getDescription in interface ScoreWrapper
      Returns:
      This description.
    • getDataType

      public DataType getDataType()
      Returns the data type that the search requires, whether continuous, discrete, or mixed.

      Returns the data type of the MVP BIC score.

      Specified by:
      getDataType in interface ScoreWrapper
      Returns:
      This type.
    • getParameters

      public List<String> getParameters()
      Returns the parameters that this search uses.

      Returns the parameters of the MVP BIC score.

      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)
      Returns the variable with the given name.

      Returns the variable of the MVP BIC score by name.

      Specified by:
      getVariable in interface ScoreWrapper
      Parameters:
      name - the name.
      Returns:
      the variable.