Interface IndependenceWrapper
- All Superinterfaces:
HasParameters,Serializable,TetradSerializable
- All Known Implementing Classes:
BdeuTest,CciLingamTest,CciTest,ChiSquare,Codec,ConditionalGaussianLRT,DegenerateGaussianLRT,DiscreteBicTest,DSeparationTest,FisherZ,Gsquare,Kci,KimEtAlScoreTests,MagSemBicTest,Mnlrlrt,MultinomialLogisticRegressionWald,Mvplrt,PositiveCorr,ProbabilisticTest,SemBicDTest,SemBicTest
Interface that algorithm must implement.
- Author:
- jdramsey
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short of this independence test.Returns the parameters that this search uses.getTest(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Method Details
-
getTest
Returns true iff x and y are independent conditional on z for the given data set.- Parameters:
dataSet- The data set to test independence against.parameters- The paramters of the test.- Returns:
- True iff independence holds.
-
getDescription
String getDescription()Returns a short of this independence test.- Returns:
- This description.
-
getDataType
DataType getDataType()Returns the data type that the search requires, whether continuous, discrete, or mixed.- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.- Specified by:
getParametersin interfaceHasParameters- Returns:
- A list of String names of parameters.
-