Class SemBicTest

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

@TestOfIndependence(name="SEM BIC Test", command="sem-bic-test", dataType={Continuous,Covariance}) @LinearGaussian public class SemBicTest 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.
See Also:
  • Constructor Details

    • SemBicTest

      public SemBicTest()
      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.