Package edu.cmu.tetrad.search.utils
Class ClusterSignificance
java.lang.Object
edu.cmu.tetrad.search.utils.ClusterSignificance
Provides some methods to check significance of clusters for clustering algroithms. It is assumed that for each cluster there is a single latent that is a parent of all the nodes in the cluster. Significance of these models is returned.
- Author:
- josephramsey
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Gives the options for checking significance of clusters--could check the significance using a regression model, or could check to see if the cluster is a clique, or could not do the check. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInts
(int[] indices) Converts a list of indices into a list of Integers representing a cluster.double
getModelPValue
(List<List<Integer>> clusters) void
printClusterPValues
(Set<List<Integer>> out) void
setCheckType
(ClusterSignificance.CheckType checkType) boolean
significant
(List<Integer> cluster, double alpha) variablesForIndices
(List<Integer> cluster, List<Node> variables)
-
Constructor Details
-
ClusterSignificance
-
-
Method Details
-
variablesForIndices
-
variablesForIndices2
-
getInts
Converts a list of indices into a list of Integers representing a cluster.- Parameters:
indices
- The indices of the variables.- Returns:
- The extracted index list.
-
printClusterPValues
-
setCheckType
-
significant
-
getModelPValue
-