Class FisherZ
java.lang.Object
edu.cmu.tetrad.algcomparison.independence.FisherZ
- All Implemented Interfaces:
IndependenceWrapper
,HasParameters
,TetradSerializable
,Serializable
@TestOfIndependence(name="Fisher Z Test",
command="fisher-z-test",
dataType={Continuous,Covariance})
@LinearGaussian
public class FisherZ
extends Object
implements IndependenceWrapper
Wrapper for Fisher Z test.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the data type of the independence test.Retrieves the description of the Fisher Z test.Retrieves the parameters of the Fisher Z test.getTest
(DataModel dataModel, Parameters parameters) Gets an independence test based on the given data model and parameters.
-
Constructor Details
-
FisherZ
public FisherZ()Constructs a new instance of the algorithm.
-
-
Method Details
-
getTest
Gets an independence test based on the given data model and parameters.- Specified by:
getTest
in interfaceIndependenceWrapper
- Parameters:
dataModel
- The data set to test independence against.parameters
- The parameters of the test.- Returns:
- An IndependenceTest object.
- Throws:
IllegalArgumentException
- if the dataModel is not a dataset or a covariance matrix.
-
getDescription
Retrieves the description of the Fisher Z test.- Specified by:
getDescription
in interfaceIndependenceWrapper
- Returns:
- The description of the Fisher Z test.
-
getDataType
Retrieves the data type of the independence test.- Specified by:
getDataType
in interfaceIndependenceWrapper
- Returns:
- The data type of the independence test.
-
getParameters
Retrieves the parameters of the Fisher Z test.- Specified by:
getParameters
in interfaceHasParameters
- Specified by:
getParameters
in interfaceIndependenceWrapper
- Returns:
- A list of strings representing the parameters of the Fisher Z test.
-