Class BasisFunctionLrt

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

@TestOfIndependence(name="BF-LRT (Basis Function Likelihood Ratio Test)", command="bf-lr-test", dataType=Mixed) @Mixed public class BasisFunctionLrt extends Object implements IndependenceWrapper
Wrapper for BF-LRT.
Version:
$Id: $Id
Author:
josephramsey, bryanandrews
See Also:
  • Constructor Details

    • BasisFunctionLrt

      public BasisFunctionLrt()
      Initializes a new instance of the DegenerateGaussianLrt class.
  • Method Details

    • getTest

      public IndependenceTest getTest(DataModel dataSet, Parameters parameters)
      Returns true iff x and y are independent conditional on z for the given data set.x
      Specified by:
      getTest in interface IndependenceWrapper
      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.
      Specified by:
      getDescription in interface IndependenceWrapper
      Returns:
      This description.
    • getDataType

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

      public List<String> getParameters()
      Returns the parameters that this search uses.
      Specified by:
      getParameters in interface HasParameters
      Specified by:
      getParameters in interface IndependenceWrapper
      Returns:
      A list of String names of parameters.