Class BlocksIndTest
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.BlocksIndTest
- All Implemented Interfaces:
BlockIndependenceWrapper,IndependenceWrapper,HasParameters,TetradSerializable,Serializable
@Mixed
@Deprecated(since="7.9",
forRemoval=false)
public class BlocksIndTest
extends Object
implements BlockIndependenceWrapper
Deprecated.
Wrapper for BF-Blocks-Test.
- Version:
- $Id: $Id
- Author:
- josephramsey, bryanandrews
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Initializes a new instance of the DegenerateGaussianLrt class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieves the data type associated with this test.Deprecated.Returns a description of the test.Deprecated.Retrieves the parameters used by the test.getTest(DataModel dataSet, Parameters parameters) Deprecated.Creates and returns an instance of theIndTestBlocksWilkesinitialized with a specific block specification and a significance level extracted from the provided parameters.voidsetBlockSpec(BlockSpec blockSpec) Deprecated.Sets the BlockSpec for this instance.
-
Constructor Details
-
BlocksIndTest
public BlocksIndTest()Deprecated.Initializes a new instance of the DegenerateGaussianLrt class.
-
-
Method Details
-
setBlockSpec
Deprecated.Sets the BlockSpec for this instance. The BlockSpec determines how data is divided into blocks for statistical independence testing.- Specified by:
setBlockSpecin interfaceBlockIndependenceWrapper- Parameters:
blockSpec- the BlockSpec object to set, specifying the configuration for dividing data into blocks for analysis.
-
getTest
Deprecated.Creates and returns an instance of theIndTestBlocksWilkesinitialized with a specific block specification and a significance level extracted from the provided parameters.- Specified by:
getTestin interfaceIndependenceWrapper- Parameters:
dataSet- ADataModelobject representing the dataset to be used for the independence test.parameters- AParametersobject containing the configuration and attributes, including the alpha level for the test.- Returns:
- An
IndependenceTestinstance configured with the block specification and the significance level set from the passed parameters.
-
getDescription
Deprecated.Returns a description of the test.- Specified by:
getDescriptionin interfaceBlockIndependenceWrapper- Specified by:
getDescriptionin interfaceIndependenceWrapper- Returns:
- A string describing the test as "Blocks Test (Requires blocks)".
-
getDataType
Deprecated.Retrieves the data type associated with this test.- Specified by:
getDataTypein interfaceBlockIndependenceWrapper- Specified by:
getDataTypein interfaceIndependenceWrapper- Returns:
- The data type of this test, which is
DataType.Mixed.
-
getParameters
Deprecated.Retrieves the parameters used by the test. This includes configuration keys that determine the behavior or thresholds of the test.- Specified by:
getParametersin interfaceBlockIndependenceWrapper- Specified by:
getParametersin interfaceHasParameters- Specified by:
getParametersin interfaceIndependenceWrapper- Returns:
- A list of parameter names as strings, indicating the configurable attributes for the test.
-