Class DegenerateGaussianLRT
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.DegenerateGaussianLRT
- All Implemented Interfaces:
IndependenceWrapper
,HasParameters
,TetradSerializable
,Serializable
@TestOfIndependence(name="DG-LRT (Degenerate Gaussian Likelihood Ratio Test)",
command="dg-lr-test",
dataType=Mixed)
@Mixed
public class DegenerateGaussianLRT
extends Object
implements IndependenceWrapper
Wrapper for DG LRT.
- Version:
- $Id: $Id
- Author:
- bandrews
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the DegenerateGaussianLRT class. -
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.
-
Constructor Details
-
DegenerateGaussianLRT
public DegenerateGaussianLRT()Initializes a new instance of the DegenerateGaussianLRT class.
-
-
Method Details
-
getTest
Returns true iff x and y are independent conditional on z for the given data set.x- Specified by:
getTest
in interfaceIndependenceWrapper
- Parameters:
dataSet
- The data set to test independence against.parameters
- The paramters of the test.- Returns:
- True iff independence holds.
-
getDescription
Returns a short of this independence test.- Specified by:
getDescription
in interfaceIndependenceWrapper
- Returns:
- This description.
-
getDataType
Returns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataType
in interfaceIndependenceWrapper
- Returns:
- This type.
-
getParameters
Returns the parameters that this search uses.- Specified by:
getParameters
in interfaceHasParameters
- Specified by:
getParameters
in interfaceIndependenceWrapper
- Returns:
- A list of String names of parameters.
-