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 that the search requires.Retrieves the description of the Fisher Z Test.Retrieves the list of parameters required for the Fisher Z Test.getTest
(DataModel dataModel, Parameters parameters) Retrieves an IndependenceTest object based on the given data model and parameters.
-
Constructor Details
-
FisherZ
public FisherZ()
-
-
Method Details
-
getTest
Retrieves an IndependenceTest object 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 representing the test.
- Throws:
IllegalArgumentException
- If the data model 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 that the search requires.- Specified by:
getDataType
in interfaceIndependenceWrapper
- Returns:
- The data type required by the search.
-
getParameters
Retrieves the list of parameters required for the Fisher Z Test.- Specified by:
getParameters
in interfaceHasParameters
- Specified by:
getParameters
in interfaceIndependenceWrapper
- Returns:
- A list of strings representing the parameters required for the Fisher Z Test.
-