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 SummaryConstructorsConstructorDescriptionInitializes a new instance of the DegenerateGaussianLrt class.
- 
Method SummaryModifier 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- 
DegenerateGaussianLrtpublic DegenerateGaussianLrt()Initializes a new instance of the DegenerateGaussianLrt class.
 
- 
- 
Method Details- 
getTestReturns true iff x and y are independent conditional on z for the given data set.x- Specified by:
- getTestin interface- IndependenceWrapper
- Parameters:
- dataSet- The data set to test independence against.
- parameters- The paramters of the test.
- Returns:
- True iff independence holds.
 
- 
getDescriptionReturns a short of this independence test.- Specified by:
- getDescriptionin interface- IndependenceWrapper
- Returns:
- This description.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- IndependenceWrapper
- Returns:
- This type.
 
- 
getParametersReturns the parameters that this search uses.- Specified by:
- getParametersin interface- HasParameters
- Specified by:
- getParametersin interface- IndependenceWrapper
- Returns:
- A list of String names of parameters.
 
 
-