Class DgBicTest

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

@LinearGaussian public class DgBicTest extends Object implements IndependenceWrapper
The SemBicTest class implements the IndependenceWrapper interface and represents a test for independence based on SEM BIC algorithm. It is annotated with the TestOfIndependence and LinearGaussian annotations.

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.

See Also:
  • Constructor Details

    • DgBicTest

      public DgBicTest()
      Constructs a new instance of the SEM BIC test.
  • Method Details

    • getTest

      public IndependenceTest getTest(DataModel dataSet, Parameters parameters)
      Returns an instance of IndependenceTest for the SEM BIC test.
      Specified by:
      getTest in interface IndependenceWrapper
      Parameters:
      dataSet - The data set to test independence against.
      parameters - The parameters of the test.
      Returns:
      An instance of IndependenceTest for the SEM BIC test.
    • getDescription

      public String getDescription()
      Returns a short description of the test.
      Specified by:
      getDescription in interface IndependenceWrapper
      Returns:
      A short description of the test.
    • getDataType

      public DataType getDataType()
      Returns the data type that the search requires, whether continuous, discrete, or mixed.
      Specified by:
      getDataType in interface IndependenceWrapper
      Returns:
      The data type required for the search.
    • getParameters

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